Template:Main-gallery: Difference between revisions

From Lumpypedia, a Happy Tree Friends wiki
Jump to navigation Jump to search
(Created page with "<includeonly>:''For this subject's image gallery, see [[Gallery:{{{1|{{PAGENAME}}}}}]].''</includeonly><noinclude>==Usage== If the page name matches the Gallery name (e.g., ...")
 
(Blanked the page)
Tag: Blanking
Line 1: Line 1:
<includeonly>:''For this subject's image gallery, see [[Gallery:{{{1|{{PAGENAME}}}}}]].''</includeonly><noinclude>==Usage==
If the page name matches the Gallery name (e.g., [[Super Mario Bros.]] & [[Gallery:Super Mario Bros.]]), <code><nowiki>{{main-gallery}}</nowiki></code> is sufficient.


If they are different in any way (e.g., [[Mario & Sonic at the Olympic Games (Wii)]], [[Gallery:Mario & Sonic at the Olympic Games]]), you must add the gallery title as a variable, i.e:
<pre><nowiki>{{main-gallery|(GALLERY TITLE)}}</nowiki></pre>
e.g., <code><nowiki>{{main-gallery|Mario & Sonic at the Olympic Games}}</nowiki></code> gives:
{{main-gallery|Mario & Sonic at the Olympic Games}}
[[Category:Notice templates]]</noinclude>

Revision as of 02:59, 11 April 2021