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 (remove extra spaces in Arcade section, fix typo)
(add Girls' Frontline to Collaborations)
Line 85: Line 85:
}}<!--COLLABORATIONS
}}<!--COLLABORATIONS
-->{{#vardefine:DESTCH_CAT| Destiny Child
-->{{#vardefine:DESTCH_CAT| Destiny Child
}}{{#vardefine: GIRLFL_CAT| Girls' Frontline
}}{{#vardefine: LOVRE2_CAT| Lord of Vermilion Re:2
}}{{#vardefine: LOVRE2_CAT| Lord of Vermilion Re:2
}}{{#vardefine: LOVIII_CAT| Lord of Vermilion III
}}{{#vardefine: LOVIII_CAT| Lord of Vermilion III
Line 304: Line 305:
}}{{#vardefine: {{#var:DESTCH_CAT}}
}}{{#vardefine: {{#var:DESTCH_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:DESTCH_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:DESTCH_CAT}}]]|format=count}}
}}{{#vardefine: {{#var:GIRLFL_CAT}}
  |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:GIRLFL_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 315: Line 318:
   |{{#expr:
   |{{#expr:
     {{#var:{{#var:DESTCH_CAT}}}} +
     {{#var:{{#var:DESTCH_CAT}}}} +
    {{#var:{{#var:GIRLFL_CAT}}}} +
     {{#var:{{#var:LOVRE2_CAT}}}} +
     {{#var:{{#var:LOVRE2_CAT}}}} +
     {{#var:{{#var:LOVIII_CAT}}}} +
     {{#var:{{#var:LOVIII_CAT}}}} +
Line 501: Line 505:
   | <h2> Collaborations </h2>  
   | <h2> Collaborations </h2>  
     {{ Gallery Section | {{{1}}} | {{#var:DESTCH_CAT}} | | h3 | Destiny Child
     {{ Gallery Section | {{{1}}} | {{#var:DESTCH_CAT}} | | h3 | Destiny Child
  }}{{ Gallery Section | {{{1}}} | {{#var:GIRLFL_CAT}} | | h3 | Girls' Frontline
   }}{{ Gallery Section | {{{1}}} | {{#var:LOVRE2_CAT}} | | h3 | Lord of Vermilion Re:2
   }}{{ 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

Revision as of 19:30, 7 September 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 }}