Template:Main-gallery: Difference between revisions

From Rhythm Heaven Wiki
Jump to navigation Jump to search
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>

Revision as of 15:55, 23 August 2025

Usage

If the page name matches the gallery name (e.g., Rhythm Heaven and Gallery:Rhythm Heaven), {{main-gallery}} 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:

{{main-gallery|GALLERY TITLE}}

For example, {{main-gallery|Rhythm Tengoku (Arcade)}} gives:

Main image gallery: Gallery:Rhythm Tengoku (Arcade)