Difference between revisions of "Template:Gallery"

From Nookipedia, the Animal Crossing wiki
Line 1: Line 1:
<includeonly>:''For the subject's image gallery, see [[{{PAGENAME}}/Gallery]]''</includeonly>
+
<includeonly>:''For this subject's image gallery, see [[{{{1|{{PAGENAME}}}}}/Gallery]].''</includeonly><noinclude>==Usage==
 +
If the page name matches the Gallery name (e.g., [[Animal Crossing: New Leaf]] & [[Animal Crossing: New Leaf/Gallery]]), <code><nowiki>{{Gallery}}</nowiki></code> is sufficient.
 +
 
 +
If they are different in any way (e.g., [[Doubutsu no Mori (game)]], [[Doubutsu no Mori/Gallery]]), you must add the gallery title as a variable, i.e:
 +
<pre><nowiki>{{Gallery|(GALLERY TITLE)}}</nowiki></pre>
 +
 
 +
e.g., <code><nowiki>{{Gallery|Doubutsu no Mori}}</nowiki></code> gives:
 +
{{Gallery|Doubutsu no Mori}}
 +
 
 +
[[Category:Notice templates]]</noinclude>

Revision as of 09:50, July 15, 2018

Usage

If the page name matches the Gallery name (e.g., Animal Crossing: New Leaf & Animal Crossing: New Leaf/Gallery), {{Gallery}} is sufficient.

If they are different in any way (e.g., Doubutsu no Mori (game), Doubutsu no Mori/Gallery), you must add the gallery title as a variable, i.e:

{{Gallery|(GALLERY TITLE)}}

e.g., {{Gallery|Doubutsu no Mori}} gives:

For this subject's image gallery, see Doubutsu no Mori/Gallery.