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 noinclude)
(add Icons, Staff Extras categories and rename Special Artwork category to "Guest Artwork")
Line 51: Line 51:
-->{{#vardefine: PROMO_CAT| Promotional Artwork
-->{{#vardefine: PROMO_CAT| Promotional Artwork
}}{{#vardefine:  BDAY_CAT| Birthday Art
}}{{#vardefine:  BDAY_CAT| Birthday Art
}}{{#vardefine: SPCIAL_CAT| Special Artwork
}}{{#vardefine:  EXTRA_CAT| Staff Extras
}}{{#vardefine: SPCIAL_CAT| Guest Artwork (previously "Special Artwork")
}}{{#vardefine:PREORDR_CAT| Pre-order Bonuses
}}{{#vardefine:PREORDR_CAT| Pre-order Bonuses
}}{{#vardefine:  CHIBI_CAT| Chibi  
}}{{#vardefine:  CHIBI_CAT| Chibi  
Line 61: Line 62:
}}{{#vardefine: WALPPR_CAT| Wallpapers
}}{{#vardefine: WALPPR_CAT| Wallpapers
}}{{#vardefine: STICKR_CAT| Stickers
}}{{#vardefine: STICKR_CAT| Stickers
}}{{#vardefine:  ICON_CAT| Icons
}}<!--PRODUCTION ART
}}<!--PRODUCTION ART
-->{{#vardefine:MODSHT_CAT| Model Sheets
-->{{#vardefine:MODSHT_CAT| Model Sheets
Line 195: Line 197:
}}{{#vardefine: {{#var:BDAY_CAT}}
}}{{#vardefine: {{#var:BDAY_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:BDAY_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:BDAY_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:EXTRAS_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:EXTRAS_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:SPCIAL_CAT}}
}}{{#vardefine: {{#var:SPCIAL_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:SPCIAL_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:SPCIAL_CAT}}]]|format=count}}
Line 215: Line 219:
}}{{#vardefine: {{#var:STICKR_CAT}}
}}{{#vardefine: {{#var:STICKR_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:STICKR_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:STICKR_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:ICON_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:ICON_CAT}}]]|format=count}}
}}{{#vardefine: ARTWORK
}}{{#vardefine: ARTWORK
   |{{#expr:
   |{{#expr:
     {{#var:{{#var:PROMO_CAT}}}}  +
     {{#var:{{#var:PROMO_CAT}}}}  +
     {{#var:{{#var:BDAY_CAT}}}}  +
     {{#var:{{#var:BDAY_CAT}}}}  +
    {{#var:{{#var:EXTRAS_CAT}}}} +
     {{#var:{{#var:SPCIAL_CAT}}}} +
     {{#var:{{#var:SPCIAL_CAT}}}} +
     {{#var:{{#var:PREORDR_CAT}}}}+
     {{#var:{{#var:PREORDR_CAT}}}}+
Line 228: Line 235:
     {{#var:{{#var:RADIOXB_CAT}}}}+
     {{#var:{{#var:RADIOXB_CAT}}}}+
     {{#var:{{#var:WALPPR_CAT}}}} +
     {{#var:{{#var:WALPPR_CAT}}}} +
     {{#var:{{#var:STICKR_CAT}}}}
     {{#var:{{#var:STICKR_CAT}}}} +
    {{#var:{{#var:ICON_CAT}}}}
   }}
   }}
}}{{#vardefine: {{#var:MODSHT_CAT}}
}}{{#vardefine: {{#var:MODSHT_CAT}}
Line 350: Line 358:
     {{ Gallery Section | {{{1}}} | {{#var:PROMO_CAT}}  | | h3 | Promotional  
     {{ Gallery Section | {{{1}}} | {{#var:PROMO_CAT}}  | | h3 | Promotional  
   }}{{ Gallery Section | {{{1}}} | {{#var:BDAY_CAT}}  | | h3 | Birthday  
   }}{{ Gallery Section | {{{1}}} | {{#var:BDAY_CAT}}  | | h3 | Birthday  
   }}{{ Gallery Section | {{{1}}} | {{#var:SPCIAL_CAT}} | | h3 | Special
  }}{{ Gallery Section | {{{1}}} | {{#var:EXTRAS_CAT}} | | h3 | Staff Extras
   }}{{ 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:CHIBI_CAT}}  | | h3 | Chibi  
Line 360: Line 369:
   }}{{ 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
   }}
   }}{{ Gallery Section | {{{1}}} | {{#var:ICON_CAT}}  | | h3 | Icons }}
}}<!--
}}<!--



Revision as of 18:22, 15 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 }}