Template:Main-gallery: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(New) |
(i guess a lil enthusiasm (from Template:Gallery) wouldn't hurt? :P) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>:'' |
<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. |
||
: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> |
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}}