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
m (change Main Artwork header to Main Visuals, put Crest under Main Visuals, add BBTAG and Short Story Illustrations to Story section)
(add Radio Show section with BBRadio & XBRadio & Chibi Portraits, move Chibi up to main visuals)
Line 8: Line 8:
-------------------------------
-------------------------------
-->{{#vardefine:  MAIN_CAT| Main Artwork
-->{{#vardefine:  MAIN_CAT| Main Artwork
}}{{#vardefine:  CREST_CAT| Crests
}}{{#vardefine:  CHIBI_CAT| Chibi
}}{{#vardefine: BATTLE_CAT| Battle
}}{{#vardefine: BATTLE_CAT| Battle
}}{{#vardefine: PALREF_CAT| Palette References
}}{{#vardefine: PALREF_CAT| Palette References
}}{{#vardefine: LOBAVI_CAT| Lobby Avatars
}}{{#vardefine: LOBAVI_CAT| Lobby Avatars
}}{{#vardefine:  CREST_CAT| Crests
}}{{#vardefine: PORTRT_CAT| Portraits
}}{{#vardefine: PORTRT_CAT| Portraits
}}{{#vardefine: ARCADE_CAT| Arcade Mode
}}{{#vardefine: ARCADE_CAT| Arcade Mode
Line 49: Line 50:
  | {{#vardefine: EMBEDVIDS| 0 }}
  | {{#vardefine: EMBEDVIDS| 0 }}
}}{{#vardefine:    AM_CAT| BlazBlue: Alter Memory
}}{{#vardefine:    AM_CAT| BlazBlue: Alter Memory
}}<!--RADIO SHOWS
-->{{#vardefine:TMMLCHB_CAT| Chibi Portraits
}}{{#vardefine: BBRADIO_CAT| BlazBlue Radio Insert Images
}}{{#vardefine: RADIOXB_CAT| Radio: XBlaze
}}<!--ARTWORK
}}<!--ARTWORK
-->{{#vardefine: PROMO_CAT| Promotional Artwork
-->{{#vardefine: PROMO_CAT| Promotional Artwork
Line 55: Line 60:
}}{{#vardefine: SPCIAL_CAT| Special Artwork
}}{{#vardefine: SPCIAL_CAT| Special Artwork
}}{{#vardefine:PREORDR_CAT| Pre-order Bonuses
}}{{#vardefine:PREORDR_CAT| Pre-order Bonuses
}}{{#vardefine:  CHIBI_CAT| Chibi
}}{{#vardefine:RADIOXB_CAT| Radio: XBlaze
}}{{#vardefine: WALPPR_CAT| Wallpapers
}}{{#vardefine: WALPPR_CAT| Wallpapers
}}{{#vardefine: STICKR_CAT| Stickers
}}{{#vardefine: STICKR_CAT| Stickers
Line 77: Line 80:
}}{{#vardefine: {{#var:CREST_CAT}}
}}{{#vardefine: {{#var:CREST_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CREST_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CREST_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:CHIBI_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CHIBI_CAT}}]]|format=count}}
}}{{#vardefine: MAIN_VISUALS
}}{{#vardefine: MAIN_VISUALS
   |{{#expr:
   |{{#expr:
     {{#var:{{#var:MAIN_CAT}}}} +
     {{#var:{{#var:MAIN_CAT}}}} +
     {{#var:{{#var:CREST_CAT}}}}
     {{#var:{{#var:CREST_CAT}}}}+
    {{#var:{{#var:CHIBI_CAT}}}}
   }}
   }}
}}{{#vardefine: {{#var:BATTLE_CAT}}
}}{{#vardefine: {{#var:BATTLE_CAT}}
Line 216: Line 222:
     {{#var:{{#var:CP_CAT}} {{#var:ANIM_CAT}}}} +
     {{#var:{{#var:CP_CAT}} {{#var:ANIM_CAT}}}} +
     {{#var:{{#var:CF_CAT}} {{#var:ANIM_CAT}}}}
     {{#var:{{#var:CF_CAT}} {{#var:ANIM_CAT}}}}
  }}
}}{{#vardefine: {{#var:TMMLCHB_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:TMMLCHB_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:RADIOXB_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:RADIOXB_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:BBRADIO_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:BBRADIO_CAT}}]]|format=count}}
}}{{#vardefine: RADIO_SHOWS
  |{{#expr:
    {{#var:{{#var:TMMLCHB_CAT}}}} +
    {{#var:{{#var:RADIOXB_CAT}}}} +
    {{#var:{{#var:BBRADIO_CAT}}}}
   }}
   }}
}}{{#vardefine: {{#var:PROMO_CAT}}
}}{{#vardefine: {{#var:PROMO_CAT}}
Line 227: Line 245:
}}{{#vardefine: {{#var:PREORDR_CAT}}
}}{{#vardefine: {{#var:PREORDR_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:PREORDR_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:PREORDR_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:CHIBI_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:CHIBI_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:RADIOXB_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:RADIOXB_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:WALPPR_CAT}}
}}{{#vardefine: {{#var:WALPPR_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:WALPPR_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:WALPPR_CAT}}]]|format=count}}
Line 244: Line 258:
     {{#var:{{#var:SPCIAL_CAT}}}} +
     {{#var:{{#var:SPCIAL_CAT}}}} +
     {{#var:{{#var:PREORDR_CAT}}}}+
     {{#var:{{#var:PREORDR_CAT}}}}+
    {{#var:{{#var:CHIBI_CAT}}}}  +
    {{#var:{{#var:RADIOXB_CAT}}}}+
     {{#var:{{#var:WALPPR_CAT}}}} +
     {{#var:{{#var:WALPPR_CAT}}}} +
     {{#var:{{#var:STICKR_CAT}}}} +
     {{#var:{{#var:STICKR_CAT}}}} +
Line 287: Line 299:
-->{{#ifeq: 0 | {{#var:MAIN_VISUALS}}
-->{{#ifeq: 0 | {{#var:MAIN_VISUALS}}
   | <!-- all subcategories are empty, don't make a section header-->
   | <!-- all subcategories are empty, don't make a section header-->
   | {{ Gallery Section | {{{1}}} | {{#var:MAIN_CAT}} | | h2 | Main Visuals}}<!--
   | {{ Gallery Section | {{{1}}} | {{#var:MAIN_CAT}} | | h2 | Main Visuals}}<!--
  -->{{ Gallery Section | {{{1}}} | {{#var:CREST_CAT}} | | h3 | Character Crest }}
  -->{{ Gallery Section | {{{1}}} | {{#var:CREST_CAT}} | | h3 | Character Crest }}<!--
-->{{ Gallery Section | {{{1}}} | {{#var:CHIBI_CAT}} | | h3 | Chibi }}
}}<!--  
}}<!--  


Line 380: Line 393:
   }}{{ Gallery Section | {{{1}}} | {{#var:CP_CAT}} | {{#var:ANIM_CAT}} | h3 | BlazBlue: Chrono Phantasma  
   }}{{ Gallery Section | {{{1}}} | {{#var:CP_CAT}} | {{#var:ANIM_CAT}} | h3 | BlazBlue: Chrono Phantasma  
   }}{{ Gallery Section | {{{1}}} | {{#var:CF_CAT}} | {{#var:ANIM_CAT}} | h3 | BlazBlue: Central Fiction }}
   }}{{ Gallery Section | {{{1}}} | {{#var:CF_CAT}} | {{#var:ANIM_CAT}} | h3 | BlazBlue: Central Fiction }}
}}<!--
  RADIO SHOWS
-->{{#ifeq: 0 | {{#var:RADIO_SHOWS}}
  | <!-- all subcategories are empty, don't make a section header-->
  | <h2> Radio Shows </h2>
    {{Gallery Section | {{{1}}} | {{#var:TMMLCHB_CAT}} | | h3 | Chibi Portraits
  }}{{Gallery Section (BBRadio) |{{{1}}}|1| | h3 | BlazBlue Radio | limit=50 | widths=150
  }}{{Gallery Section (BBRadio) |{{{1}}}|2| | h3 | BlazBlue Radio Continued | limit=50 | widths=150
  }}{{Gallery Section (BBRadio) |{{{1}}}|W| | h3 | BlazBlue Radio Wide | limit=50 | widths=150
  }}{{Gallery Section (BBRadio) |{{{1}}}|H| | h3 | BlazBlue Radio Hyper | limit=50 | widths=150
  }}{{Gallery Section (BBRadio) |{{{1}}}|A| | h3 | BlazBlue Radio Ace | limit=50 | widths=150
  }}{{Gallery Section (BBRadio) |{{{1}}}|Q| | h3 | BlazBlue Radio Quick | limit=50 | widths=150
  }}{{Gallery Section (BBRadio) |{{{1}}}|D| | h3 | BlazBlue Radio Dynamic | limit=50 | widths=150
  }}{{Gallery Section (BBRadio) |{{{1}}}|NEO| | h3 | BlazBlue Radio NEO | limit=50 | widths=150
  }}{{Gallery Section (BBRadio) |{{{1}}}|R| | h3 | BlazBlue Radio Repeat | limit=50 | widths=150
  }}{{Gallery Section (BBRadio) |{{{1}}}|R2| | h3 | BlazBlue Radio Repeat 2 | limit=50 | widths=150
  }}{{Gallery Section (BBRadio) |{{{1}}}|K| | h3 | BlazBlue Radio Kaze | limit=50 | widths=150
  }}{{ Gallery Section | {{{1}}} | {{#var:RADIOXB_CAT}}| | h3 | Radio: XBlaze }}
}}<!--
}}<!--


Line 392: Line 425:
   }}{{ Gallery Section | {{{1}}} | {{#var:SPCIAL_CAT}} | | h3 | Guest Artwork
   }}{{ Gallery Section | {{{1}}} | {{#var:SPCIAL_CAT}} | | h3 | Guest Artwork
   }}{{ Gallery Section | {{{1}}} | {{#var:PREORDR_CAT}}| | h3 | Pre-order Bonuses
   }}{{ Gallery Section | {{{1}}} | {{#var:PREORDR_CAT}}| | h3 | Pre-order Bonuses
  }}{{ Gallery Section | {{{1}}} | {{#var:CHIBI_CAT}}  | | h3 | Chibi
  }}{{ Gallery Section | {{{1}}} | {{#var:RADIOXB_CAT}}| | h3 | Radio: XBlaze
   }}{{ Gallery Section | {{{1}}} | {{#var:WALPPR_CAT}} | | h3 | Wallpapers  
   }}{{ Gallery Section | {{{1}}} | {{#var:WALPPR_CAT}} | | h3 | Wallpapers  
   }}{{ Gallery Section | {{{1}}} | {{#var:STICKR_CAT}} | | h3 | Stickers
   }}{{ Gallery Section | {{{1}}} | {{#var:STICKR_CAT}} | | h3 | Stickers

Revision as of 04:55, 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 }}