Template:Master Gallery: Difference between revisions

Template page
m (edit variables to use full game names and plural categories where applicable)
mNo edit summary
Line 142: Line 142:
}}{{#vardefine: {{#var:BE2_CAT}}
}}{{#vardefine: {{#var:BE2_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:BE2_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:BE2_CAT}}]]|format=count}}
}}{{#vardefine:NOVELS
}}{{#vardefine: NOVELS
   |{{#expr:
   |{{#expr:
     {{#var:{{#var:PHASE0_CAT}}}} +
     {{#var:{{#var:PHASE0_CAT}}}} +
Line 164: Line 164:
}}{{#vardefine: {{#var:VH_CAT}}
}}{{#vardefine: {{#var:VH_CAT}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:VH_CAT}}]]|format=count}}
   |{{#ask:[[Category:{{{1}}}]][[Category:{{#var:VH_CAT}}]]|format=count}}
}}{{#vardefine:MANGA
}}{{#vardefine: MANGA
   |{{#expr:
   |{{#expr:
     {{#var:MANBB_CAT}} +
     {{#var:MANBB_CAT}} +

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