Module:Character Gallery/data/doc

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.

Sections will NOT be displayed if they aren't included in the.

Sections
Sections are at h2 depth. Individual galleries' and subheaders' depths can be controlled with.

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)

Templates
template='Header' produces a header that's independent of a gallery.
 * Example:
 * controls its depth
 * is 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
 * becomes the second category
 * (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  and   parameters automatically, and it will also set   and   accordingly - so the "see cameos" and "see all" buttons will only appear if there are cameos or images to see, respectively.