Template:Main-gallery: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 1: Line 1:
:''Main image gallery: [[{{{1}}}]]''<noinclude>[[Category:Templates]]</noinclude>
<includeonly>:''Main image gallery: [[Gallery:{{{1|{{SUBPAGENAME}}}}}]]''</includeonly><noinclude>
==Usage==
If the page name matches the gallery name (e.g., [[Rhythm Heaven]] and [[Gallery:Rhythm Heaven]]), <code><nowiki>{{main-gallery}}</nowiki></code> is sufficient.
 
If they are different in any way (e.g., [[Rhythm Tengoku/Arcade]], [[Gallery:Rhythm Tengoku (Arcade)]]), you must add the gallery title as a parameter, i.e:
<pre><nowiki>{{main-gallery|GALLERY TITLE}}</nowiki></pre>
 
For example, <code><nowiki>{{main-gallery|Rhythm Tengoku (Arcade)}}</nowiki></code> gives:
{{main-gallery|Rhythm Tengoku (Arcade)}}
[[Category:Templates]]</noinclude>