Welcome to the Spyro Wiki's new home world!
Feel free to rewrite and expand the articles and upload images that are missing.

Template:Main-gallery: Difference between revisions

From the Spyro Wiki, the Spyro and Skylanders encyclopedia
new template
 
Aura24 (talk | contribs)
No edit summary
 
Line 1: Line 1:
<includeonly>:''For this subject's image gallery, see [[Gallery:{{{1|{{PAGENAME}}}}}]].''</includeonly><noinclude>==Usage==
<includeonly>:''For this subject's image gallery, see [[{{{1|{{PAGENAME}}}}}/Gallery]].''</includeonly><noinclude>==Usage==
If the page name matches the Gallery name (e.g., [[Spyro the Dragon]] & [[Gallery:Spyro the Dragon]]), <code><nowiki>{{main-gallery}}</nowiki></code> is sufficient.
If the page name matches the Gallery name (e.g., [[Spyro]] & [[Spyro/Gallery]]), <code><nowiki>{{main-gallery}}</nowiki></code> is sufficient.


If a page and gallery have different names (e.g., [[Spyro the Dragon (game)]], [[Gallery:Spyro the Dragon]]), the gallery title should be added as a variable, for example: <code><nowiki>{{main-gallery|(GALLERY TITLE)}}</nowiki></code>.
If a page and gallery have different names (e.g., [[Spyro the Dragon (video game)]], [[Spyro the Dragon (video game)/Gallery]]), the gallery title should be added as a variable, for example: <code><nowiki>{{main-gallery|(GALLERY TITLE)}}</nowiki></code>.


[[Category:Notice templates]]</noinclude>
[[Category:Notice templates]]</noinclude>

Latest revision as of 10:56, November 1, 2024

Usage

If the page name matches the Gallery name (e.g., Spyro & Spyro/Gallery), {{main-gallery}} is sufficient.

If a page and gallery have different names (e.g., Spyro the Dragon (video game), Spyro the Dragon (video game)/Gallery), the gallery title should be added as a variable, for example: {{main-gallery|(GALLERY TITLE)}}.