Don't like the ads? Then create an account! Users with accounts have more options than anonymous users.

Difference between revisions of "Template:Main-gallery"

From Triforce Wiki, a The Legend of Zelda wiki
Jump to navigationJump to search
(from mariowiki)
 
(elaborating on change i made)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>:''For this subject's image gallery, see [[Gallery:{{{1|{{PAGENAME}}}}}]].''</includeonly><noinclude>
<includeonly>:''For this {{{1|subject}}}'s image gallery, see [[Gallery:{{{2|{{PAGENAME}}}}}]].''</includeonly><noinclude>
==Usage==
==Usage==
:Simply type <code><nowiki>{{main-gallery}}</nowiki></code> to add to a page. By default, it is linked to the same page as the gallery.
:Simply type <code><nowiki>{{main-gallery}}</nowiki></code> to add to a page. By default, it is linked to the same page as the gallery.
:If the page has a different title from its gallery, enter in the appropriate name: <code><nowiki>{{main-gallery|NAME GOES HERE}}</nowiki></code>
:By default, the template lists "subject" in its message. To change the noun to something else (e.g. character, item, enemy), type <code><nowiki>{{main-gallery|NAME GOES HERE}}</nowiki></code>. Adding the parameter <code><nowiki>|1=</nowiki></code> is optional.
:If the page has a different title from its gallery, enter in the appropriate name: <code><nowiki>{{main-gallery|2=NAME GOES HERE}}</nowiki></code>


==Attribution==
==Attribution==

Latest revision as of 17:25, August 28, 2019

Usage[edit]

Simply type {{main-gallery}} to add to a page. By default, it is linked to the same page as the gallery.
By default, the template lists "subject" in its message. To change the noun to something else (e.g. character, item, enemy), type {{main-gallery|NAME GOES HERE}}. Adding the parameter |1= is optional.
If the page has a different title from its gallery, enter in the appropriate name: {{main-gallery|2=NAME GOES HERE}}

Attribution[edit]

Original template is from Super Mario Wiki.