Template:Master Gallery: Difference between revisions

Template page
m (don't show a preview for the whole gallery)
m (change Main Artwork header to Main Visuals, put Crest under Main Visuals, add BBTAG and Short Story Illustrations to Story section)
Line 15: Line 15:
}}{{#vardefine: ARCADE_CAT| Arcade Mode
}}{{#vardefine: ARCADE_CAT| Arcade Mode
}}{{#vardefine:  STORY_CAT| Story
}}{{#vardefine:  STORY_CAT| Story
}}{{#vardefine:  SHORT_CAT| Short Story Illustrations
}}{{#vardefine:    CT_CAT| BlazBlue: Calamity Trigger
}}{{#vardefine:    CT_CAT| BlazBlue: Calamity Trigger
}}{{#vardefine:    CS_CAT| BlazBlue: Continuum Shift
}}{{#vardefine:    CS_CAT| BlazBlue: Continuum Shift
Line 74: Line 75:
-->{{#vardefine: {{#var:MAIN_CAT}}
-->{{#vardefine: {{#var:MAIN_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:MAIN_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:MAIN_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:CREST_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CREST_CAT}}]]|format=count}}
}}{{#vardefine: MAIN_VISUALS
  |{{#expr:
    {{#var:{{#var:MAIN_CAT}}}} +
    {{#var:{{#var:CREST_CAT}}}}
  }}
}}{{#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}}
Line 86: Line 94:
     {{#var:{{#var:LOBAVI_CAT}}}}
     {{#var:{{#var:LOBAVI_CAT}}}}
   }}
   }}
}}{{#vardefine: {{#var:CREST_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CREST_CAT}}]]|format=count}}
}}{{#vardefine: VIDEOS
}}{{#vardefine: VIDEOS
   |{{#expr:
   |{{#expr:
Line 109: Line 115:
}}{{#vardefine: {{#var:PORTRT_CAT}}
}}{{#vardefine: {{#var:PORTRT_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:PORTRT_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:PORTRT_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:SHORT_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:SHORT_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:CT_CAT}} {{#var:STORY_CAT}}
}}{{#vardefine: {{#var:CT_CAT}} {{#var:STORY_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CT_CAT}}]][[Category:{{#var:STORY_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CT_CAT}}]][[Category:{{#var:STORY_CAT}}]]|format=count}}
Line 117: Line 125:
}}{{#vardefine: {{#var:CF_CAT}} {{#var:STORY_CAT}}
}}{{#vardefine: {{#var:CF_CAT}} {{#var:STORY_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CF_CAT}}]][[Category:{{#var:STORY_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CF_CAT}}]][[Category:{{#var:STORY_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:TAG_CAT}} {{#var:STORY_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:TAG_CAT}}]][[Category:{{#var:STORY_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:CLONEP_CAT}} {{#var:STORY_CAT}}
}}{{#vardefine: {{#var:CLONEP_CAT}} {{#var:STORY_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CLONEP_CAT}}]][[Category:{{#var:STORY_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CLONEP_CAT}}]][[Category:{{#var:STORY_CAT}}]]|format=count}}
Line 130: Line 140:
     {{#var:{{#var:CP_CAT}} {{#var:STORY_CAT}}}} +
     {{#var:{{#var:CP_CAT}} {{#var:STORY_CAT}}}} +
     {{#var:{{#var:CF_CAT}} {{#var:STORY_CAT}}}} +
     {{#var:{{#var:CF_CAT}} {{#var:STORY_CAT}}}} +
    {{#var:{{#var:TAG_CAT}} {{#var:STORY_CAT}}}} +
     {{#var:{{#var:CLONEP_CAT}} {{#var:STORY_CAT}}}} +
     {{#var:{{#var:CLONEP_CAT}} {{#var:STORY_CAT}}}} +
     {{#var:{{#var:XBCE_CAT}} {{#var:STORY_CAT}}}}  +
     {{#var:{{#var:XBCE_CAT}} {{#var:STORY_CAT}}}}  +
Line 272: Line 283:
--><!--  
--><!--  


  MAIN ARTWORK
  MAIN VISUALS


-->{{ Gallery Section | {{{1}}} | {{#var:MAIN_CAT}} | | h2  
-->{{#ifeq: 0 | {{#var:MAIN_VISUALS}}
  | <!-- all subcategories are empty, don't make a section header-->
  | {{ Gallery Section | {{{1}}} | {{#var:MAIN_CAT}} | | h2 | Main Visuals}}<!--
-->{{ Gallery Section | {{{1}}} | {{#var:CREST_CAT}} | | h3 | Character Crest }}
}}<!--  
}}<!--  


Line 285: Line 299:
   }}{{ Gallery Section | {{{1}}} | {{#var:PALREF_CAT}} | | h3 | Palette References  
   }}{{ 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 }}
}}<!--
CHARACTER CREST
-->{{ Gallery Section | {{{1}}} | {{#var:CREST_CAT}} | | h2 | Character Crest
}}<!--
}}<!--


Line 320: Line 329:
   | <h2> Story </h2>  
   | <h2> Story </h2>  
     {{ Gallery Section | {{{1}}} | {{#var:PORTRT_CAT}} | | h3 | Portraits  
     {{ Gallery Section | {{{1}}} | {{#var:PORTRT_CAT}} | | h3 | Portraits  
  }}{{ Gallery Section | {{{1}}} | {{#var:SHORT_CAT}}  | | h3 | Short Stories
   }}{{ Gallery Section | {{{1}}} | {{#var:CT_CAT}}    | {{#var:STORY_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:CT_CAT}}    | {{#var:STORY_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:CS_CAT}}    | {{#var:STORY_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:CS_CAT}}    | {{#var:STORY_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:CP_CAT}}    | {{#var:STORY_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:CP_CAT}}    | {{#var:STORY_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:CF_CAT}}    | {{#var:STORY_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:CF_CAT}}    | {{#var:STORY_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:CLONEP_CAT}} | {{#var:STORY_CAT}} | h3  
  }}{{ Gallery Section | {{{1}}} | {{#var:TAG_CAT}}    | {{#var:STORY_CAT}} | h3
   }}{{ Gallery Section | {{{1}}} | {{#var:CLONEP_CAT}} | {{#var:STORY_CAT}} | h3
   }}{{ Gallery Section | {{{1}}} | {{#var:XBCE_CAT}}  | {{#var:STORY_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:XBCE_CAT}}  | {{#var:STORY_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:XBLM_CAT}}  | {{#var:STORY_CAT}} | h3 }}
   }}{{ Gallery Section | {{{1}}} | {{#var:XBLM_CAT}}  | {{#var:STORY_CAT}} | h3 }}

Revision as of 02:29, 26 February 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 }}