More actions
m (Strip apostrophes from all names (not just Susanoo & Taro)) |
m (add description of wikitext) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- | |||
The wikitext here is organized in three parts: | |||
Part 1) declares variables for all the categories the gallery uses | |||
Part 2) calculates how many images will be in each section of the gallery (which is based on which categories an image is sorted into). The answers are saved in variables to be used in part 3. | |||
Part 3) shows headers on the page only if one or more of the Gallery Sections in it have images in them | |||
Adding a new section means editing at least 2) and 3), and if you're using a new category, it will need to be added to 1) as well (and to the documentation) | |||
There's also two kinds of ways to display subsections on the page - Template:Gallery Section (uses categories to decide which images to include) and Template:Gallery Section (Cargo) (uses information from images with the Gallery Information template to decide which images to include). | |||
--> | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<gallery><!-- force gallery module to be included --> </gallery><div class="noexcerpt"> | <gallery><!-- force gallery module to be included --> </gallery><div class="noexcerpt"> |
Revision as of 23:53, 16 July 2019
This page is part of an automated Gallery system. For more details, please refer to Help:Manual of Style/Character Pages/Gallery. See all pages included in this system |
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 }}
The above documentation is transcluded from Template:Master Gallery/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |