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 (add Radio:XBlaze gallery section under Artwork)
m (fix a bug where certain categories were not being hidden when empty)
Line 168: Line 168:
}}{{#vardefine: MANGA
}}{{#vardefine: MANGA
   |{{#expr:
   |{{#expr:
     {{#var:MANBB_CAT}} +
     {{#var:{{#var:MANBB_CAT}}}} +
     {{#var:CC_CAT}} +
     {{#var:{{#var:CC_CAT}}}}    +
     {{#var:RH_CAT}} +
     {{#var:{{#var:RH_CAT}}}}    +
     {{#var:VH_CAT}}
     {{#var:{{#var:VH_CAT}}}}
   }}
   }}
}}{{#vardefine: {{#var:ANIME_CAT}}
}}{{#vardefine: {{#var:ANIME_CAT}}
Line 193: Line 193:
}}{{#vardefine: ARTWORK
}}{{#vardefine: ARTWORK
   |{{#expr:
   |{{#expr:
     {{#var:PROMO_CAT}}  +
     {{#var:{{#var:PROMO_CAT}}}}  +
     {{#var:BDAY_CAT}}  +
     {{#var:{{#var:BDAY_CAT}}}}  +
     {{#var:SPCIAL_CAT}} +
     {{#var:{{#var:SPCIAL_CAT}}}} +
     {{#var:CHIBI_CAT}}  +
     {{#var:{{#var:CHIBI_CAT}}}}  +
     {{#var:UNLMVS_CAT}} +
     {{#var:{{#var:UNLMVS_CAT}}}} +
     {{#var:RADIOXB_CAT}} +
     {{#var:{{#var:RADIOXB_CAT}}}} +
     {{#var:WALPPR_CAT}} +
     {{#var:{{#var:WALPPR_CAT}}}} +
     {{#var:STICKR_CAT}}
     {{#var:{{#var:STICKR_CAT}}}}
   }}
   }}
}}{{#vardefine: {{#var:MODSHT_CAT}}
}}{{#vardefine: {{#var:MODSHT_CAT}}
Line 210: Line 210:
}}{{#vardefine: PRODUCTION_ART
}}{{#vardefine: PRODUCTION_ART
   |{{#expr:
   |{{#expr:
     {{#var:MODSHT_CAT}} +
     {{#var:{{#var:MODSHT_CAT}}}} +
     {{#var:EARLYD_CAT}} +
     {{#var:{{#var:EARLYD_CAT}}}} +
     {{#var:STORYB_CAT}} +
     {{#var:{{#var:STORYB_CAT}}}} +
   }}
   }}
}}<!--
}}<!--

Revision as of 00:37, 11 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 }}