More actions
(show the section header & the see cameos button if there are cameos to show AND there are no main visuals) |
m (add imbox gallery notice) |
||
Line 34: | Line 34: | ||
}}<!-- | }}<!-- | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
{{Imbox Gallery Notice}} | |||
Creates a section of the [[Template:Master Gallery]] based on information stored through [[Template:Gallery Metadata]]. | |||
==Usage== | ==Usage== |
Revision as of 01:37, 9 September 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 |
Creates a section of the Template:Master Gallery based on information stored through Template:Gallery Metadata.
Usage
{{Gallery Section (Cargo) |character= |location= |weapon= |source= |section= |artist= |limit= |widths= |header= |title= |sort= |see all= |see cameos= }}
Reference Template:Gallery Metadata for character, location, weapon, source, section, and artist.
|limits=
Optional, the max number of images to show before truncating and displaying a "show more" link. Defaults to 4.
|widths=
Optional, the width of each image in the gallery. Defaults to 250 (matching the default for Template:Gallery Section)
|header=
Optional, sets the header depth. Accepts the values h2
, h3
, h4
, h5
. Leaving this out will default the title to regular text.
|title=
Optional, defines the text to be used as the header for this gallery section. (e.g. Birthday Art)
|sort=
Optional. If set to date
, the results will be sorted by descending date (with newer images after older ones).
|see all=
Optional. Change to n
to hide the "see all" button that appears next to the header, linking to all results. True by default.
|see cameos=
Optional. Change to y
to show a button to Special:ViewData that performs the same query, but with the character as a cameo instead. (e.g. Izayoi showing up in Hakumen's Arcade Mode)
See Also
- Template:Master Gallery
- Template:Gallery Section
- Template:Gallery Section (BBRadio)
- Template:Gallery Metadata
- Module:ViewData URL, builds a custom URL to Special:ViewData