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
mNo edit summary
m (filter BBAM section by Category:Animations)
Line 234: Line 234:
     {{#var:{{#var:VH_CAT}}}}
     {{#var:{{#var:VH_CAT}}}}
   }}
   }}
}}{{#vardefine: {{#var:AM_CAT}}
}}{{#vardefine: {{#var:AM_CAT}} {{#var:ANIM_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:AM_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:AM_CAT}}]][[Category:{{#var:ANIM_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:CT_CAT}} {{#var:ANIM_CAT}}
}}{{#vardefine: {{#var:CT_CAT}} {{#var:ANIM_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CT_CAT}}]][[Category:{{#var:ANIM_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CT_CAT}}]][[Category:{{#var:ANIM_CAT}}]]|format=count}}
Line 246: Line 246:
}}{{#vardefine: ANIMATION
}}{{#vardefine: ANIMATION
   |{{#expr:
   |{{#expr:
     {{#var:{{#var:AM_CAT}}}}                   +
     {{#var:{{#var:AM_CAT}} {{#var:ANIM_CAT}}}} +
     {{#var:{{#var:CT_CAT}} {{#var:ANIM_CAT}}}} +
     {{#var:{{#var:CT_CAT}} {{#var:ANIM_CAT}}}} +
     {{#var:{{#var:CS_CAT}} {{#var:ANIM_CAT}}}} +
     {{#var:{{#var:CS_CAT}} {{#var:ANIM_CAT}}}} +
Line 447: Line 447:
   | <!-- all subcategories are empty, don't make a section header-->
   | <!-- all subcategories are empty, don't make a section header-->
   | <h2> Animation </h2>
   | <h2> Animation </h2>
     {{ Gallery Section | {{{1}}} | {{#var:AM_CAT}} | | h3 | BlazBlue: Alter Memory  
     {{ Gallery Section | {{{1}}} | {{#var:AM_CAT}} | {{#var:ANIM_CAT}} | h3 | BlazBlue: Alter Memory  
   }}{{ Gallery Section | {{{1}}} | {{#var:CT_CAT}} | {{#var:ANIM_CAT}} | h3 | BlazBlue: Calamity Trigger  
   }}{{ Gallery Section | {{{1}}} | {{#var:CT_CAT}} | {{#var:ANIM_CAT}} | h3 | BlazBlue: Calamity Trigger  
   }}{{ Gallery Section | {{{1}}} | {{#var:CS_CAT}} | {{#var:ANIM_CAT}} | h3 | BlazBlue: Continuum Shift  
   }}{{ Gallery Section | {{{1}}} | {{#var:CS_CAT}} | {{#var:ANIM_CAT}} | h3 | BlazBlue: Continuum Shift  

Revision as of 23:37, 8 September 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 }}