Template:Main gallery: Difference between revisions
Appearance
Updated gallery template, now with "Check out the gallery" hyperlink image. |
Rellink moved above the image, omit text link if {{{1}}} is no given (Feel free to revert this if you don't like it/would like more discussion) |
||
| Line 1: | Line 1: | ||
{{rellink|extraclasses=noprint relarticle mainarticle| | {{rellink|extraclasses=noprint relarticle mainarticle|For the full gallery, click here: {{#if: {{{1|}}} | [[{{{1|}}}|{{{2|}}}]] }} }}[[File:Wiki_Gallery.png|280px|link={{PAGENAME}}/Gallery]] | ||
<noinclude> | <noinclude> | ||
| Line 6: | Line 6: | ||
You can also precise a specific link and display name: <nowiki>{{main gallery|Article link|Article name}}</nowiki>. It will then display: | You can also precise a specific link and display name: <nowiki>{{main gallery|Article link|Article name}}</nowiki>. It will then display: | ||
:<div class="noprint" | :<div class="noprint">''For the full gallery, click here: [[Article link|Article name]]''</div> | ||
[[File:Wiki_Gallery.png|280px|link={{PAGENAME}}/Gallery]] | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||