More actions
This is the documentation page for Module:Character Gallery/data
This page defines the structure of Module:Character Gallery.
Ordering
Sections will be displayed on the page in the same order as they are listed in the ordering.
Sections will NOT be displayed if they aren't included in the ordering.
Sections
Sections (['Section Header']={...}) are at h2 depth. Individual galleries' and subheaders' depths can be controlled with header=h2, h3, h4, h5.
class = 'inline-gallery' forces the galleries in that section to appear inline. For an example, see the Gameplay section of any character's gallery (ex. Izayoi/Gallery#Gameplay)
Templates
template='Header' produces a header that's independent of a gallery.
- Example:
{template='Header',header='h3',title='C-Series'} headercontrols its depthtitleis what text to display as the header
template='Gallery Section' produces a Template:Gallery Section
- The character specified when invoking Module:Character Gallery becomes the first category
categorybecomes the second categorycategory2(optional) becomes the third category if it's provided
For template='Gallery Section (Cargo)' and template='Gallery Section (BBRadio)', please see their respective pages for an explanation of their parameters:
- Template:Gallery Section (Cargo)
- Template:Gallery Section (BBRadio)
- Notably, Module:Character Gallery will calculate the
count_allandcount_cameosparameters automatically, and it will also setsee_allandsee_cameosaccordingly - so the "see cameos" and "see all" buttons will only appear if there are cameos or images to see, respectively.