Difference between revisions of "Template:Main gallery"

From Detective Conan Wiki
(Updated gallery template, now with "Check out the gallery" hyperlink image.)
Line 1: Line 1:
{{rellink|extraclasses=noprint relarticle mainarticle|For the full gallery, see: [[{{{1|{{PAGENAME}}/Gallery}}}|{{{2|{{PAGENAME}}/Gallery}}}]]}}
+
{{rellink|extraclasses=noprint relarticle mainarticle|[[File:Wiki_Gallery.png|280px|link={{PAGENAME}}/Gallery]] <br> For the full gallery, click here: [[{{{1|{{PAGENAME}}/Gallery}}}|{{{2|{{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">''For the full gallery see: [[Article link|Article name]]''</div>
+
:<div class="noprint">[[File:Wiki_Gallery.png|280px|link={{PAGENAME}}/Gallery]] <br> ''For the full gallery, click here: [[Article link|Article name]]''</div>
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 17:43, 10 September 2025


Usage

To link to a "gallery" page of an article, use {{main gallery}}.

You can also precise a specific link and display name: {{main gallery|Article link|Article name}}. It will then display:

Wiki Gallery.png
For the full gallery, click here: Article name