Template:Main-gallery: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(New)
 
Line 4: Line 4:
: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.
: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>
: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==
Original template is from the [https://www.mariowiki.com/Template:Main-gallery Super Mario Wiki].


[[Category:Notice templates]]</noinclude>
[[Category:Notice templates]]</noinclude>

Revision as of 19:54, October 29, 2022

Usage

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}}