Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Cosmetic: Difference between revisions

Template page
added cosmetic types (+ tradeable tag), automated reputation amounts, removed legacy unlock_hint
scavenging up-to-date and handled by Template:CosmeticScavengeRewards
Line 76: Line 76:
<data source="scavenge_cosmetic">
<data source="scavenge_cosmetic">
<label>Cosmetic Token</label>
<label>Cosmetic Token</label>
<format>{{#switch: {{lc:{{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}}}<!--
<format>{{CosmeticScavengeRewards|name={{{name}}}}}</format>
-->| common = {{Silver|200}}<!--
-->| uncommon = {{Silver|750}}<!--
-->| rare = {{Silver|2,000}}<!--
-->| epic = {{Silver|3,750}}<!--
-->| legendary = {{Silver|6,250}}<!--
-->| mythic = {{Silver|18,000}}}}</format>
</data>
</data>
<data source="scavenge_blueprint">
<data source="scavenge_blueprint">
<label>Blueprint</label>
<label>Blueprint</label>
<format>{{#switch: {{lc:{{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}}}<!--
<format>{{CosmeticScavengeRewards|name={{{name}}}|Blueprint}}</format>
-->| common = {{Silver|50}}<!--
-->| uncommon = {{Silver|150}}<!--
-->| rare = {{Silver|300}}<!--
-->| epic = {{Silver|850}}<!--
-->| legendary = {{Silver|1,200}}<!--
-->| mythic = {{Silver|3,500}}}}</format>
</data>
</data>
</group>
</group>

Revision as of 15:34, 26 August 2025

Creates an infobox and various standard sentences for Cosmetics pages.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
namename

The name of the cosmetic

Example
Frog Friend
Stringrequired
imageimage

The (animated) image of the cosmetic, if the file is not found at File:{{{name}}}.png

Fileoptional
rarity2rarity2

The (special) rarity of the cosmetic

Suggested values
seasonal limited
Stringoptional
unlock_hintunlock_hint

The in-game string for how this cosmetic is obtained. Not required if legacy cosmetic

Stringsuggested
legacylegacy

Whether the cosmetic is obtained from the Legacy Machine. Overrides unlock_hint.

Suggested values
yes
Stringoptional
added_inadded_in

The patch version the cosmetic was added

Example
0.8.0
Stringrequired
added_dateadded_date

If not added in a patch, the date on which the cosmetic was added

Example
June 12th, 2024
Stringoptional
unlock_methodunlock_method

Sentences to be used to explain the unlocking method of the cosmetic

Stringrequired
blueprintblueprint

Does the cosmetic have a blueprint form?

Suggested values
yes
Unknownoptional
scavenge_blueprintscavenge_blueprint

Is the blueprint scavengeable?

Booleansuggested
scavenge_cosmeticscavenge_cosmetic

Is the cosmetic token scavengeable?

Booleansuggested
crafting_materialscrafting_materials

The required crafting materials for the cosmetic's blueprint, if it has one. Use a break tag between each material.

Stringoptional