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 (limit BBRadio Gallery Sections to 5 images each)
m (add Destiny Child under collaborations in alphabetical order)
Line 84: Line 84:
}}{{#vardefine: STORYB_CAT| Storyboards
}}{{#vardefine: STORYB_CAT| Storyboards
}}<!--COLLABORATIONS
}}<!--COLLABORATIONS
-->{{#vardefine: LOVRE2_CAT| Lord of Vermilion Re:2
-->{{#vardefine:DESTCH_CAT| Destiny Child
}}{{#vardefine: LOVRE2_CAT| Lord of Vermilion Re:2
}}{{#vardefine: LOVIII_CAT| Lord of Vermilion III
}}{{#vardefine: LOVIII_CAT| Lord of Vermilion III
}}{{#vardefine: MABIDL_CAT| Mabinogi Duel
}}{{#vardefine: MABIDL_CAT| Mabinogi Duel
Line 301: Line 302:
     {{#var:{{#var:STORYB_CAT}}}}
     {{#var:{{#var:STORYB_CAT}}}}
   }}
   }}
}}{{#vardefine: {{#var:DESTCH_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:DESTCH_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:LOVRE2_CAT}}
}}{{#vardefine: {{#var:LOVRE2_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:LOVRE2_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:LOVRE2_CAT}}]]|format=count}}
Line 311: Line 314:
}}{{#vardefine: COLLABORATIONS
}}{{#vardefine: COLLABORATIONS
   |{{#expr:
   |{{#expr:
    {{#var:{{#var:DESTCH_CAT}}}} +
     {{#var:{{#var:LOVRE2_CAT}}}} +
     {{#var:{{#var:LOVRE2_CAT}}}} +
     {{#var:{{#var:LOVIII_CAT}}}} +
     {{#var:{{#var:LOVIII_CAT}}}} +
Line 492: Line 496:
   | <!-- all subcategories are empty, don't make a section header-->
   | <!-- all subcategories are empty, don't make a section header-->
   | <h2> Collaborations </h2>  
   | <h2> Collaborations </h2>  
     {{ Gallery Section | {{{1}}} | {{#var:LOVRE2_CAT}} | | h3 | Lord of Vermilion Re:2
     {{ Gallery Section | {{{1}}} | {{#var:DESTCH_CAT}} | | h3 | Destiny Child
  }}{{ Gallery Section | {{{1}}} | {{#var:LOVRE2_CAT}} | | h3 | Lord of Vermilion Re:2
   }}{{ Gallery Section | {{{1}}} | {{#var:LOVIII_CAT}} | | h3 | Lord of Vermilion III
   }}{{ Gallery Section | {{{1}}} | {{#var:LOVIII_CAT}} | | h3 | Lord of Vermilion III
   }}{{ Gallery Section | {{{1}}} | {{#var:MABIDL_CAT}} | | h3 | Mabinogi Duel
   }}{{ Gallery Section | {{{1}}} | {{#var:MABIDL_CAT}} | | h3 | Mabinogi Duel

Revision as of 03:05, 31 July 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 }}