Template:Main-gallery: Difference between revisions

unwilling to do specific name space for galleries
m (1 revision imported: moving from miraheze)
(unwilling to do specific name space for galleries)
Tag: Reverted
Line 1: Line 1:
<includeonly>:''For this subject's image gallery, see [[Gallery:{{{1|{{PAGENAME}}}}}]]{{#ifeq:{{#sub:{{{1|{{PAGENAME}}}}}|-1}}|.||.}}''</includeonly><noinclude>
<includeonly>:''For this subject's image gallery, see [[{{{1|{{PAGENAME}}}}}/gallery]]{{#ifeq:{{#sub:{{{1|{{PAGENAME}}}}}|-1}}|.||.}}''</includeonly><noinclude>
==Usage==
==Usage==
If the page name matches the Gallery name (e.g., [[Banjo-Kazooie]] & [[Gallery:Banjo-Kazooie]]), <code><nowiki>{{main-gallery}}</nowiki></code> is sufficient.
If the page name matches the Gallery name (e.g., [[Banjo-Kazooie]] & [[Gallery:Banjo-Kazooie]]), <code><nowiki>{{main-gallery}}</nowiki></code> is sufficient.