Template:NFT trait metadata

From Remilia Wiki
Jump to navigation Jump to search


One call stores one immutable aggregate trait row derived from collection token metadata. It is invoked from generated data pages, not used by hand-authored articles.

Parameters

collection is the compact collection key, such as remilio. trait_name is the exact trait value from NFT metadata; it is the same identity a trait page stores as its name, and the trait infobox joins to this row on (collection, category, trait_name) case-insensitively. category, layer_order, token_count, and rarity are derived from the collection metadata export. image is reconciled from docs/nft_metadata/trait_images.csv, with the metadata converter's filename guess only used for rows that do not yet have a mapped upload.

Structured data (Cargo)

This template defines the table "TraitMetadata". View table.

After changing this declaration or generated data pages, recreate the table from Special:CargoTables or run cargoRecreateData --table=TraitMetadata.