Template:Infobox trait

From Remilia Wiki
Jump to navigation Jump to search


Summarize a collection trait. Collection metadata supplies derived values where supported; explicit image data takes precedence.

Usage

{{Infobox trait|name=Example trait|collection=remilio|trait_category=Hat|count=10|rarity=0.1%}}

Use a specialized infobox when it fits the subject. Values accept wikitext, including links, lists and inline citations; image fields take a native filename and alt fields take plain text. Empty rows are omitted. Use only information appropriate for a concise, sourced summary.

Parameters

Summarize a collection trait. Collection metadata supplies derived values where supported; explicit image data takes precedence.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Display name; defaults to the current page title.

Contentsuggested
Imageimage

Native wiki image filename, without File: or surrounding brackets.

Fileoptional
Image sizeimage_size

Image display size including its unit, for example 220px.

Stringoptional
Captioncaption

Caption below the primary image; accepts wikitext and references.

Contentoptional
Altalt

Plain text describing the image for readers who cannot see it.

Stringoptional
Collectioncollection

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

Stringoptional
Trait categorytrait_category

Collection trait category, used for metadata lookup and Cargo storage.

Contentoptional
Variantsvariants

Variants grouped in this trait article.

Contentoptional
Referencesreferences

Subjects or works depicted by the trait; accepts links and citations.

Contentoptional
Countcount

Count of items or tokens; retain the unit in the surrounding label when needed.

Contentoptional
Rarityrarity

Displayed rarity; retained for compatibility with existing trait data.

Contentoptional
Source imagesource_image

Native file depicting the trait's source subject.

Fileoptional
Source captionsource_caption

Caption for the source image.

Contentoptional
Source altsource_alt

Plain text alternative for the source image.

Stringoptional
Source image sizesource_image_size

Source image display size, for example 200px.

Contentoptional
Source labelsource_label

Heading above the source image.

Contentoptional
Layerlayer

Layer index; overrides the collection's derived layer order when supplied.

Contentoptional