Template:Main-gallery: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(i guess a lil enthusiasm (from Template:Gallery) wouldn't hurt? :P)
 
Line 1: Line 1:
<includeonly>:''For this {{{1|subject}}}'s image gallery, see [[Gallery:{{{2|{{PAGENAME}}}}}]].''</includeonly><noinclude>
<includeonly>:''Yippee! An image gallery for {{{1|subject}}} is available at [[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.

Latest revision as of 19:56, 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}}