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 skeleton code for the current list of categories)
(add variables)
Line 4: Line 4:
{{:Template:Master Gallery/doc}}
{{:Template:Master Gallery/doc}}
</noinclude><includeonly>
</noinclude><includeonly>
<!-- MAIN ARTWORK -->
<!--
{{ Gallery Section | {{{1}}} | Main Artwork | | h2 }}
-------------------------------
VARIABLES for TAGS/CATEGORIES
-------------------------------
-->{{#vardefine:  MAIN_CAT| Main Artwork
}}{{#vardefine: BATTLE_CAT| Battle
}}{{#vardefine: PALREF_CAT| Palette Reference
}}{{#vardefine: LOBAVI_CAT| Lobby Avatar
}}{{#vardefine:  CREST_CAT| Crest
}}{{#vardefine: PORTRT_CAT| Portrait
}}{{#vardefine: ARCADE_CAT| Arcade
}}{{#vardefine:  STORY_CAT| Story
}}{{#vardefine:    CT_CAT| Calamity Trigger
}}{{#vardefine:    CS_CAT| Continuum Shift
}}{{#vardefine:    CP_CAT| Chrono Phantasma
}}{{#vardefine:    CF_CAT| Central Fiction
}}{{#vardefine: CLONEP_CAT| Clone Phantasma
}}{{#vardefine:  XBCE_CAT| XBlaze Code:Embryo
}}{{#vardefine:  XBLM_CAT| XBlaze Lost:Memories
}}<!-- NOVELS
-->{{#vardefine:PHASE0_CAT| BlazBlue: Phase 0
}}{{#vardefine: PHASE1_CAT| Blazblue: Phase Shift 1
}}{{#vardefine: PHASE2_CAT| Blazblue: Phase Shift 2
}}{{#vardefine: PHASE3_CAT| Blazblue: Phase Shift 3
}}{{#vardefine: PHASE4_CAT| Blazblue: Phase Shift 4
}}{{#vardefine: NOVCT1_CAT| Blazblue: Calamity Trigger - Part 1
}}{{#vardefine: NOVCT2_CAT| Blazblue: Calamity Trigger - Part 2
}}{{#vardefine: NOVCS1_CAT| Blazblue: Continuum Shift - Part 1
}}{{#vardefine: NOVCS2_CAT| Blazblue: Continuum Shift - Part 2
}}{{#vardefine:  SSIBH_CAT| BlazBlue: Spiral Shift – Ice Blade Hero
}}{{#vardefine:    BE1_CAT| BlazBlue: Bloodedge Experience - Part 1
}}{{#vardefine:    BE2_CAT| BlazBlue: Bloodedge Experience - Part 2
}}<!-- MANGA
-->{{#vardefine: MANBB_CAT| BlazBlue
}}{{#vardefine:    CC_CAT| BlazBlue: Chemical Complex (Chimelical Complex???)
}}{{#vardefine:    RH_CAT| BlazBlue: Remix Heart
}}{{#vardefine:    VH_CAT| BlazBlue: Variable Heart
}}<!-- ANIME
-->{{#vardefine: ANIME_CAT| Animation
}}<!--ARTWORK
-->{{#vardefine: PROMO_CAT| Promotional
}}{{#vardefine:  BDAY_CAT| Birthday
}}{{#vardefine: SPCIAL_CAT| Special
}}{{#vardefine:  CHIBI_CAT| Chibi
}}{{#vardefine: UNLMVS_CAT| Unlimited VS
}}{{#vardefine: WALPPR_CAT| Wallpaper
}}{{#vardefine: STICKR_CAT| Sticker
}}<!--PRODUCTION ART
-->{{#vardefine:MODSHT_CAT| Model Sheet
}}{{#vardefine: EARLYD_CAT| Early Design
}}{{#vardefine: STORYB_CAT| Storyboard
}}<!--
-------------------------------
VARIABLES FOR IMAGE COUNTS
-------------------------------
-->{{#vardefine: {{#var:MAIN_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:MAIN_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:BATTLE_CAT}}
  |{{#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}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:LOBAVI_CAT}}]]|format=count}}
}}{{#vardefine: SPRITES
  |{{#expr:
    {{#var:{{#var:BATTLE_CAT}}}} +
    {{#var:{{#var:PALREF_CAT}}}} +
    {{#var:{{#var:LOBAVI_CAT}}}}
  }}
}}{{#vardefine: {{#var:CREST_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CREST_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:CT_CAT}} {{#var:ARCADE_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CT_CAT}}]][[Category:{{#var:ARCADE_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:CS_CAT}} {{#var:ARCADE_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CS_CAT}}]][[Category:{{#var:ARCADE_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:CP_CAT}} {{#var:ARCADE_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CP_CAT}}]][[Category:{{#var:ARCADE_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:CF_CAT}} {{#var:ARCADE_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CF_CAT}}]][[Category:{{#var:ARCADE_CAT}}]]|format=count}}
}}{{#vardefine: ARCADE
  |{{#expr:
    {{#var:{{#var:CT_CAT}} {{#var:ARCADE_CAT}}}} +
    {{#var:{{#var:CS_CAT}} {{#var:ARCADE_CAT}}}} +
    {{#var:{{#var:CP_CAT}} {{#var:ARCADE_CAT}}}} +
    {{#var:{{#var:CF_CAT}} {{#var:ARCADE_CAT}}}}
  }}
}}{{#vardefine: {{#var:PORTRT_CAT}}
  {{#ask:[[Category:{{{1}}}]][[Category:{{#var:PORTRT_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:CT_CAT}} {{#var:STORY_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CT_CAT}}]][[Category:{{#var:STORY_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:CS_CAT}} {{#var:STORY_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CS_CAT}}]][[Category:{{#var:STORY_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:CP_CAT}} {{#var:STORY_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CP_CAT}}]][[Category:{{#var:STORY_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:CF_CAT}} {{#var:STORY_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CF_CAT}}]][[Category:{{#var:STORY_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:CLONEP_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CLONEP_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:XBCE_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:XBCE_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:XBLM_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:XBLM_CAT}}]]|format=count}}
}}{{#vardefine: STORY
  |{{#expr:
    {{#var:{{#var:PORTRT_CAT}}}} +
    {{#var:{{#var:CT_CAT}} {{#var:STORY_CAT}}}} +
    {{#var:{{#var:CS_CAT}} {{#var:STORY_CAT}}}} +
    {{#var:{{#var:CP_CAT}} {{#var:STORY_CAT}}}} +
    {{#var:{{#var:CF_CAT}} {{#var:STORY_CAT}}}} +
    {{#var:{{#var:CLONEP_CAT}}}} +
    {{#var:{{#var:XBCE_CAT}}}}  +
    {{#var:{{#var:XBLM_CAT}}}}
  }}
}}{{#vardefine: {{#var:PHASE0_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:PHASE0_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:PHASE1_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:PHASE1_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:PHASE2_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:PHASE2_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:PHASE3_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:PHASE3_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:PHASE4_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:PHASE4_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:NOVCT1_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:NOVCT1_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:NOVCT2_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:NOVCT2_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:NOVCS1_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:NOVCS1_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:NOVCS2_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:NOVCS2_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:SSIBH_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:SSIBH}}]]|format=count}}
}}{{#vardefine: {{#var:BE1_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:BE1_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:BE2_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:BE2_CAT}}]]|format=count}}
}}{{#vardefine:NOVELS
  |{{#expr:
    {{#var:{{#var:PHASE0_CAT}}}} +
    {{#var:{{#var:PHASE1_CAT}}}} +
    {{#var:{{#var:PHASE2_CAT}}}} +
    {{#var:{{#var:PHASE3_CAT}}}} +
    {{#var:{{#var:NOVCT1_CAT}}}} +
    {{#var:{{#var:NOVCT2_CAT}}}} +
    {{#var:{{#var:NOVCS1_CAT}}}} +
    {{#var:{{#var:NOVCS2_CAT}}}} +
    {{#var:{{#var:SSIBH_CAT}}}}  +
    {{#var:{{#var:BE1_CAT}}}}    +
    {{#var:{{#var:BE2_CAT}}}}
  }}
}}{{#vardefine: {{#var:MANBB_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:MANBB_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:CC_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CC_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:RH_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:RH_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:VH_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:VH_CAT}}]]|format=count}}
}}{{#vardefine:MANGA
  |{{#expr:
    {{#var:MANBB_CAT}} +
    {{#var:CC_CAT}} +
    {{#var:RH_CAT}} +
    {{#var:VH_CAT}}
  }}
}}{{#vardefine: {{#var:ANIME_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:ANIME_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:PROMO_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{#var:PROMO_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:BDAY_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:BDAY_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:SPCIAL_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:SPCIAL_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:CHIBI_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CHIBI_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:UNLMVS_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:UNLMVS_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:WALPPR_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:WALPPR_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:STICKR_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:STICKR_CAT}}]]|format=count}}
}}{{#vardefine: ARTWORK
  |{{#expr:
    {{#var:PROMO_CAT}}  +
    {{#var:BDAY_CAT}}  +
    {{#var:SPCIAL_CAT}} +
    {{#var:CHIBI_CAT}}  +
    {{#var:UNLMVS_CAT}} +
    {{#var:WALPPR_CAT}} +
    {{#var:STICKR_CAT}}
  }}
}}{{#vardefine: {{#var:MODSHT_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:MODSHT_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:EARLYD_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:EARLYD_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:STORYB_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:STORYB_CAT}}]]|format=count}}
}}{{#vardefine: PRODUCTION_ART
  |{{#expr:
    {{#var:MODSHT_CAT}} +
    {{#var:EARLYD_CAT}} +
    {{#var:STORYB_CAT}} +
  }}
}}<!--
-------------------------------
GALLERY LAYOUT
-------------------------------
--><!-- MAIN ARTWORK -->
{{ Gallery Section | {{{1}}} | {{#var:MAIN_CAT}} | | h2 }}


<!-- SPRITES -->
<!-- SPRITES -->
{{#ifeq: 0 | {{#expr:
{{#ifeq: 0 | {{#var:SPRITES}}
  {{#ask:[[Category:{{{1}}}]][[Category:Battle]]|format=count}} +
  {{#ask:[[Category:{{{1}}}]][[Category:Palette Reference]]|format=count}} +
  {{#ask:[[Category:{{{1}}}]][[Category:Lobby Avatar]]|format=count}}
  }}
   | <!-- all three subcategories are empty, don't make a section header-->
   | <!-- all three subcategories are empty, don't make a section header-->
   | <h2> Sprites </h2>  
   | <h2> Sprites </h2>  
     {{ Gallery Section | {{{1}}} | Battle | | h3 }}
     {{ Gallery Section | {{{1}}} | {{#var:BATTLE_CAT}} | | h3 }}
     {{ Gallery Section | {{{1}}} | Palette Reference | | h3 | Palette References }}
     {{ Gallery Section | {{{1}}} | {{#var:PALREF_CAT}} | | h3 | Palette References }}
     {{ Gallery Section | {{{1}}} | Lobby Avatar | | h3 | Lobby Avatars }}
     {{ Gallery Section | {{{1}}} | {{#var:LOBAVI_CAT}} | | h3 | Lobby Avatars }}
}}
}}


<!-- CHARACTER CREST -->
<!-- CHARACTER CREST -->
{{ Gallery Section | {{{1}}} | Crest | | h2 | Character Crest }}
{{ Gallery Section | {{{1}}} | {{#var:CREST_CAT}} | | h2 | Character Crest }}


<!-- ARCADE -->
<!-- ARCADE -->
{{#ifeq: 0 | {{#expr:
{{#ifeq: 0 | {{#var:ARCADE}}
  {{#ask:[[Category:{{{1}}}]][[Category:Arcade]][[Category:Calamity Trigger]]|format=count}} +
  {{#ask:[[Category:{{{1}}}]][[Category:Arcade]][[Category:Continuum Shift]]|format=count}} +
  {{#ask:[[Category:{{{1}}}]][[Category:Arcade]][[Category:Chrono Phantasma]]|format=count}} +
  {{#ask:[[Category:{{{1}}}]][[Category:Arcade]][[Category:Central Fiction]]|format=count}}
  }}
   | <!-- all four subcategories are empty, don't make a section header-->
   | <!-- all four subcategories are empty, don't make a section header-->
   | <h2> Arcade </h2>  
   | <h2> Arcade </h2>  
     {{ Gallery Section | {{{1}}} | Calamity Trigger | Arcade | h3 }}
     {{ Gallery Section | {{{1}}} | {{#var:CT_CAT}} | {{#var:ARCADE_CAT}} | h3 }}
     {{ Gallery Section | {{{1}}} | Continuum Shift  | Arcade | h3 }}
     {{ Gallery Section | {{{1}}} | {{#var:CS_CAT}} | {{#var:ARCADE_CAT}} | h3 }}
     {{ Gallery Section | {{{1}}} | Chrono Phantasma | Arcade | h3 }}
     {{ Gallery Section | {{{1}}} | {{#var:CP_CAT}} | {{#var:ARCADE_CAT}} | h3 }}
     {{ Gallery Section | {{{1}}} | Central Fiction  | Arcade | h3 }}
     {{ Gallery Section | {{{1}}} | {{#var:CF_CAT}} | {{#var:ARCADE_CAT}} | h3 }}
}}
}}


<!-- STORY -->
<!-- STORY -->
{{#ifeq: 0 | {{#expr:
{{#ifeq: 0 | {{#var:STORY}}
  {{#ask:[[Category:{{{1}}}]][[Category:Portrait]]|format=count}} +
  {{#ask:[[Category:{{{1}}}]][[Category:Story]][[Category:Calamity Trigger]]|format=count}} +
  {{#ask:[[Category:{{{1}}}]][[Category:Story]][[Category:Continuum Shift]]|format=count}} +
  {{#ask:[[Category:{{{1}}}]][[Category:Story]][[Category:Chrono Phantasma]]|format=count}} +
  {{#ask:[[Category:{{{1}}}]][[Category:Story]][[Category:Central Fiction]]|format=count}} +
  {{#ask:[[Category:{{{1}}}]][[Category:Story]][[Category:Clone Phantasma]]|format=count}} +
  {{#ask:[[Category:{{{1}}}]][[Category:Story]][[Category:XBlaze Code:Embryo]]|format=count}} +
  {{#ask:[[Category:{{{1}}}]][[Category:Story]][[Category:XBlaze Lost:Memories]]|format=count}}
  }}
   | <!-- all subcategories are empty, don't make a section header-->
   | <!-- all subcategories are empty, don't make a section header-->
   | <h2> Story </h2>  
   | <h2> Story </h2>  
     {{ Gallery Section | {{{1}}} | Portrait              |       | h3 | Portraits }}
     {{ Gallery Section | {{{1}}} | {{#var:PORTRT_CAT}} | | h3 | Portraits }}
     {{ Gallery Section | {{{1}}} | Calamity Trigger      | Story | h3 }}
     {{ Gallery Section | {{{1}}} | {{#var:CT_CAT}}    | {{#var:STORY_CAT}} | h3 }}
     {{ Gallery Section | {{{1}}} | Continuum Shift      | Story | h3 }}
     {{ Gallery Section | {{{1}}} | {{#var:CS_CAT}}    | {{#var:STORY_CAT}} | h3 }}
     {{ Gallery Section | {{{1}}} | Chrono Phantasma      | Story | h3 }}
     {{ Gallery Section | {{{1}}} | {{#var:CP_CAT}}    | {{#var:STORY_CAT}} | h3 }}
     {{ Gallery Section | {{{1}}} | Central Fiction      | Story | h3 }}
     {{ Gallery Section | {{{1}}} | {{#var:CF_CAT}}    | {{#var:STORY_CAT}} | h3 }}
     {{ Gallery Section | {{{1}}} | Clone Phantasma      | Story | h3 }}
     {{ Gallery Section | {{{1}}} | {{#var:CLONEP_CAT}} | | h3 }}
     {{ Gallery Section | {{{1}}} | XBlaze Code:Embryo    | Story | h3 }}
     {{ Gallery Section | {{{1}}} | {{#var:XBCE_CAT}}  | | h3 }}
     {{ Gallery Section | {{{1}}} | XBlaze Lost:Memories  | Story | h3 }}
     {{ Gallery Section | {{{1}}} | {{#var:XBLM_CAT}}  | | h3 }}
}}
}}


<!-- NOVELS -->
<!-- NOVELS -->
{{#ifeq: 0 | {{#expr:
{{#ifeq: 0 | {{#var:NOVELS}}
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}}
  }}
   | <!-- all subcategories are empty, don't make a section header-->
   | <!-- all subcategories are empty, don't make a section header-->
   | <h2> Novels </h2>  
   | <h2> Novels </h2>  
     {{ Gallery Section | {{{1}}} | | | h3 | BlazBlue: Phase 0 }}
     {{ Gallery Section | {{{1}}} | {{#var:PHASE0_CAT}} | | h3 | BlazBlue: Phase 0 }}
     {{ Gallery Section | {{{1}}} | | | h3 | BlazBlue: Phase Shift 1 }}
     {{ Gallery Section | {{{1}}} | {{#var:PHASE1_CAT}} | | h3 | BlazBlue: Phase Shift 1 }}
     {{ Gallery Section | {{{1}}} | | | h3 | BlazBlue: Phase Shift 2 }}
     {{ Gallery Section | {{{1}}} | {{#var:PHASE2_CAT}} | | h3 | BlazBlue: Phase Shift 2 }}
     {{ Gallery Section | {{{1}}} | | | h3 | BlazBlue: Phase Shift 3 }}
     {{ Gallery Section | {{{1}}} | {{#var:PHASE3_CAT}} | | h3 | BlazBlue: Phase Shift 3 }}
     {{ Gallery Section | {{{1}}} | | | h3 | BlazBlue: Phase Shift 4 }}
     {{ Gallery Section | {{{1}}} | {{#var:PHASE4_CAT}} | | h3 | BlazBlue: Phase Shift 4 }}
     {{ Gallery Section | {{{1}}} | | | h3 | BlazBlue: Calamity Trigger — Part 1 }}
     {{ Gallery Section | {{{1}}} | {{#var:NOVCT1_CAT}} | | h3 | BlazBlue: Calamity Trigger — Part 1 }}
     {{ Gallery Section | {{{1}}} | | | h3 | BlazBlue: Calamity Trigger — Part 2 }}
     {{ Gallery Section | {{{1}}} | {{#var:NOVCT2_CAT}} | | h3 | BlazBlue: Calamity Trigger — Part 2 }}
     {{ Gallery Section | {{{1}}} | | | h3 | BlazBlue: Continuum Shift — Part 1 }}
     {{ Gallery Section | {{{1}}} | {{#var:NOVCS1_CAT}} | | h3 | BlazBlue: Continuum Shift — Part 1 }}
     {{ Gallery Section | {{{1}}} | | | h3 | BlazBlue: Continuum Shift — Part 2 }}
     {{ Gallery Section | {{{1}}} | {{#var:NOVCS1_CAT}} | | h3 | BlazBlue: Continuum Shift — Part 2 }}
     {{ Gallery Section | {{{1}}} | | | h3 | BlazBlue: Spiral Shift – Ice Blade Hero }}
     {{ Gallery Section | {{{1}}} | {{#var:SSIBH_CAT}}  | | h3 | BlazBlue: Spiral Shift – Ice Blade Hero }}
     {{ Gallery Section | {{{1}}} | | | h3 | BlazBlue: Bloodedge Experience - Part 1 }}
     {{ Gallery Section | {{{1}}} | {{#var:BE1_CAT}}    | | h3 | BlazBlue: Bloodedge Experience - Part 1 }}
     {{ Gallery Section | {{{1}}} | | | h3 | BlazBlue: Bloodedge Experience - Part 2 }}
     {{ Gallery Section | {{{1}}} | {{#var:BE2_CAT}}    | | h3 | BlazBlue: Bloodedge Experience - Part 2 }}
}}
}}


<!-- MANGA -->
<!-- MANGA -->
{{#ifeq: 0 | {{#expr:
{{#ifeq: 0 | {{#var:MANGA}}
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}}
  }}
   | <!-- all subcategories are empty, don't make a section header-->
   | <!-- all subcategories are empty, don't make a section header-->
   | <h2> Novels </h2>  
   | <h2> Manga </h2>  
     {{ Gallery Section | {{{1}}} | | | h3 | BlazBlue }}
     {{ Gallery Section | {{{1}}} | {{#var:MANBB_CAT}} | | h3 | BlazBlue }}
     {{ Gallery Section | {{{1}}} | | | h3 | BlazBlue: Chemical Complex }}
     {{ Gallery Section | {{{1}}} | {{#var:CC_CAT}}    | | h3 | BlazBlue: Chemical Complex }}
     {{ Gallery Section | {{{1}}} | | | h3 | BlazBlue: Remix Heart }}
     {{ Gallery Section | {{{1}}} | {{#var:RH_CAT}}    | | h3 | BlazBlue: Remix Heart }}
     {{ Gallery Section | {{{1}}} | | | h3 | BlazBlue: Variable Heart }}
     {{ Gallery Section | {{{1}}} | {{#var:VH_CAT}}    | | h3 | BlazBlue: Variable Heart }}
}}
}}


<!-- ANIMATION -->
<!-- ANIMATION -->
{{ Gallery Section | {{{1}}} | Animation | | h2 | Animation }}
{{ Gallery Section | {{{1}}} | {{#var:ANIME_CAT}} | | h2 | Animation }}


<!-- ARTWORK -->
<!-- ARTWORK -->
{{#ifeq: 0 | {{#expr:
{{#ifeq: 0 | {{#var:ARTWORK}}
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}}
  }}
   | <!-- all subcategories are empty, don't make a section header-->
   | <!-- all subcategories are empty, don't make a section header-->
   | <h2> Artwork </h2>  
   | <h2> Artwork </h2>  
     {{ Gallery Section | {{{1}}} | | | h3 | Promotional }}
     {{ Gallery Section | {{{1}}} | {{#var:PROMO_CAT}}  | | h3 | Promotional }}
     {{ Gallery Section | {{{1}}} | | | h3 | Birthday }}
     {{ Gallery Section | {{{1}}} | {{#var:BDAY_CAT}}  | | h3 | Birthday }}
     {{ Gallery Section | {{{1}}} | | | h3 | Special }}
     {{ Gallery Section | {{{1}}} | {{#var:SPCIAL_CAT}} | | h3 | Special }}
     {{ Gallery Section | {{{1}}} | | | h3 | Chibi }}
     {{ Gallery Section | {{{1}}} | {{#var:CHIBI_CAT}}  | | h3 | Chibi }}
     {{ Gallery Section | {{{1}}} | | | h3 | Unlimited VS }}
     {{ Gallery Section | {{{1}}} | {{#var:UNLMVS_CAT}} | | h3 | Unlimited VS }}
     {{ Gallery Section | {{{1}}} | | | h3 | Wallpapers }}
     {{ Gallery Section | {{{1}}} | {{#var:WALPPR_CAT}} | | h3 | Wallpapers }}
     {{ Gallery Section | {{{1}}} | | | h3 | Stickers }}
     {{ Gallery Section | {{{1}}} | {{#var:STICKR_CAT}} | | h3 | Stickers }}
}}  
}}  


<!-- PRODUCTION ART -->
<!-- PRODUCTION ART -->
{{#ifeq: 0 | {{#expr:
{{#ifeq: 0 | {{#var:PRODUCTION_ART}}
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}} +
    {{#ask:[[Category:{{{1}}}]][[Category:]][[Category:]]|format=count}}
  }}
   | <!-- all subcategories are empty, don't make a section header-->
   | <!-- all subcategories are empty, don't make a section header-->
   | <h2> Artwork </h2>  
   | <h2> Artwork </h2>  
     {{ Gallery Section | {{{1}}} | | | h3 | Model Sheets }}
     {{ Gallery Section | {{{1}}} | {{#var:MODSHT_CAT}} | | h3 | Model Sheets }}
     {{ Gallery Section | {{{1}}} | | | h3 | Early Designs }}
     {{ Gallery Section | {{{1}}} | {{#var:EARLYD_CAT}} | | h3 | Early Designs }}
     {{ Gallery Section | {{{1}}} | | | h3 | Storyboards }}
     {{ Gallery Section | {{{1}}} | {{#var:STORYB_CAT}} | | h3 | Storyboards }}
}}   
}}   
</includeonly>
</includeonly>

Revision as of 20:12, 9 November 2017

THIS TEMPLATE IS STILL A WORK IN PROGRESS SO DON'T USE IT YET

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