Template:Trait gallery

From Remilia Wiki
Jump to navigation Jump to search


Display Cargo trait rows with optional manual gallery entries. Manual entries remain visible when Cargo coverage is incomplete.

Usage

{{Trait gallery|collection=remilio|category=Hat|limit=2}}

Use the stored Cargo collection key and category value, without wiki-link brackets. The ordinary gallery lists native trait files; layered=1 renders each trait over base_image. Optional manual gallery lines are appended when supplied. This component reads Cargo data.

Parameters

Display Cargo trait rows with optional manual gallery entries. Manual entries remain visible when Cargo coverage is incomplete.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Collectioncollection

Collection key used in the Cargo tables, such as remilio; use the stored key, without wiki links.

Stringoptional
Categorycategory

Category name without Category:; blank leaves the default category policy in effect.

Contentoptional
Modemode

Native gallery mode, for example packed or nolines.

Contentoptional
Heightsheights

Gallery image height in pixels; defaults to 200.

Numberoptional
Limitlimit

Maximum Cargo rows displayed; defaults to 300.

Numberoptional
Layeredlayered

Non-empty compatibility flag to compose trait images with a shared base layer. Leave blank for a native gallery.

Stringoptional
Base imagebase_image

Native wiki base-layer filename; defaults to Remilio_Mannequin.png.

Contentoptional
Preview on imagepreview_on_image

Non-empty compatibility flag enabling previews from gallery images; blank restricts previews to captions.

Stringoptional
Manualmanual

Native gallery entries for visible extras missing from Cargo. Use {{!}} for separators inside the parameter.

Contentoptional