Template:Master Gallery: Difference between revisions

Template page
m (change Telephone Cards category to Pre-order Bonuses)
(add {{{video}}} parameter)
Line 1: Line 1:
<noinclude>
<noinclude>
{{:Template:Master Gallery/doc}}
{{:Template:Master Gallery/doc}}
</noinclude><includeonly>
</noinclude><includeonly>
Line 45: Line 44:
}}<!-- ANIME
}}<!-- ANIME
-->{{#vardefine:  ANIM_CAT| Animations
-->{{#vardefine:  ANIM_CAT| Animations
}}{{#if: {{{video|}}}
| {{#vardefine: EMBEDVIDS| 1 }}
| {{#vardefine: EMBEDVIDS| 0 }}
}}{{#vardefine:    AM_CAT| BlazBlue: Alter Memory
}}{{#vardefine:    AM_CAT| BlazBlue: Alter Memory
}}<!--ARTWORK
}}<!--ARTWORK
Line 188: Line 190:
}}{{#vardefine: ANIMATION
}}{{#vardefine: ANIMATION
   |{{#expr:
   |{{#expr:
    {{#var: EMBEDVIDS}}                        +
     {{#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 323: Line 326:
   | <!-- 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:CT_CAT}} | {{#var:ANIM_CAT}} | h3  
     {{#if:{{{video|}}}
      | <h3> Videos </h3>
{{{video|}}}
      | <!-- else no videos, skip this subsection -->
  }}{{ Gallery Section | {{{1}}} | {{#var:CT_CAT}} | {{#var:ANIM_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:CS_CAT}} | {{#var:ANIM_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:CS_CAT}} | {{#var:ANIM_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:CP_CAT}} | {{#var:ANIM_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:CP_CAT}} | {{#var:ANIM_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:CF_CAT}} | {{#var:ANIM_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:CF_CAT}} | {{#var:ANIM_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:AM_CAT}} | | h2 | BlazBlue: Alter Memory }}
   }}{{ Gallery Section | {{{1}}} | {{#var:AM_CAT}} | | h3 | BlazBlue: Alter Memory }}
}}<!--
}}<!--



Revision as of 03:51, 3 December 2017

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 }}