Template:Master Gallery: Difference between revisions

Template page
m (hide bytes, dimensions, and filename)
m (Strip apostrophes from all names (not just Susanoo & Taro))
Line 9: Line 9:
(for #cargo_query and #cargo_compound_query on table Files,  
(for #cargo_query and #cargo_compound_query on table Files,  
  specified by Template:Gallery Information)
  specified by Template:Gallery Information)
-->{{#switch:{{{1|}}}
-->{{#vardefine:GALLERY_CHAR|{{#replace:{{{1|}}}|'|}}}}
|Susano'o={{#vardefine:GALLERY_CHAR|Susanoo}}
|Taro Sasaga'e={{#vardefine:GALLERY_CHAR|Taro Sasagae}}
|#default={{#vardefine:GALLERY_CHAR|{{{1|}}}}}
}}
<!--
<!--
-------------------------------
-------------------------------

Revision as of 14:21, 19 June 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 }}