Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Master Gallery: Difference between revisions

Template page
(add Radio Show section with BBRadio & XBRadio & Chibi Portraits, move Chibi up to main visuals)
m (remove Palette References category since palettes are now on each character's gameplay page)
Line 11: Line 11:
}}{{#vardefine:  CHIBI_CAT| Chibi  
}}{{#vardefine:  CHIBI_CAT| Chibi  
}}{{#vardefine: BATTLE_CAT| Battle
}}{{#vardefine: BATTLE_CAT| Battle
}}{{#vardefine: PALREF_CAT| Palette References
}}{{#vardefine: LOBAVI_CAT| Lobby Avatars
}}{{#vardefine: LOBAVI_CAT| Lobby Avatars
}}{{#vardefine: PORTRT_CAT| Portraits
}}{{#vardefine: PORTRT_CAT| Portraits
Line 90: Line 89:
}}{{#vardefine: {{#var:BATTLE_CAT}}
}}{{#vardefine: {{#var:BATTLE_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:BATTLE_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:BATTLE_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:PALREF_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:PALREF_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:LOBAVI_CAT}}
}}{{#vardefine: {{#var:LOBAVI_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:LOBAVI_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:LOBAVI_CAT}}]]|format=count}}
Line 97: Line 94:
   |{{#expr:
   |{{#expr:
     {{#var:{{#var:BATTLE_CAT}}}} +
     {{#var:{{#var:BATTLE_CAT}}}} +
    {{#var:{{#var:PALREF_CAT}}}} +
     {{#var:{{#var:LOBAVI_CAT}}}}
     {{#var:{{#var:LOBAVI_CAT}}}}
   }}
   }}
Line 310: Line 306:
   | <h2> Sprites </h2>  
   | <h2> Sprites </h2>  
     {{ Gallery Section | {{{1}}} | {{#var:BATTLE_CAT}} | | h3  
     {{ Gallery Section | {{{1}}} | {{#var:BATTLE_CAT}} | | h3  
  }}{{ Gallery Section | {{{1}}} | {{#var:PALREF_CAT}} | | h3 | Palette References
   }}{{ Gallery Section | {{{1}}} | {{#var:LOBAVI_CAT}} | | h3 | Lobby Avatars }}
   }}{{ Gallery Section | {{{1}}} | {{#var:LOBAVI_CAT}} | | h3 | Lobby Avatars }}
}}<!--
}}<!--

Revision as of 21:58, 11 May 2019

Documentation icon Template documentation[view] [edit] [history] [purge]

For examples of pages using this template, see Category:Gallery Pages.

Purpose

Creates a gallery from Template:Gallery Section for the specified character. It will skip sections and subsections that the character does not have images for.

Usage

{{ Master Gallery | Character Name }}