Template:NFT trait metadata

From Remilia Wiki
Jump to navigation Jump to search


Store one generated aggregate trait record in Cargo. Generated data pages own these inputs; do not use this as an article infobox.

Usage

Before{{NFT trait metadata|collection=remilio|trait_name=Example trait|category=Hat|layer_order=1|token_count=10|rarity=0.1}}After

This template stores structured Cargo data and produces no reader-facing prose. Use the exact collection keys and field values expected by the owning data pipeline. It should not be used as a visible infobox.

Parameters

Store one generated aggregate trait record in Cargo. Generated data pages own these inputs; do not use this as an article infobox.

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
Trait nametrait_name

Exact trait value from the collection metadata.

Contentoptional
Categorycategory

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

Contentoptional
Layer orderlayer_order

Numeric layer order from collection metadata.

Numberoptional
Imageimage

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

Fileoptional
Token counttoken_count

Number of tokens containing this trait.

Numberoptional
Rarityrarity

Displayed rarity; retained for compatibility with existing trait data.

Contentoptional