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
Simplified collection format
Forgot to have blueprint section off by default
Line 120: Line 120:
     -->| legendary = 7<!--
     -->| legendary = 7<!--
     -->| mythic = 10}}}} [[Royal Reputation]] in the [[Scavenger's Hideout]].}}
     -->| mythic = 10}}}} [[Royal Reputation]] in the [[Scavenger's Hideout]].}}
 
{{#if:{{{blueprint|}}}{{{scavenge_blueprint|}}}|
==== Blueprint Recipe ====
==== Blueprint Recipe ====
The blueprint form of the cosmetic must be crafted at the [[Blueprint Assembler]] into a cosmetic token before use.{{#if:{{{scavenge_blueprint|}}}| Alternatively, it can be scavenged for {{Silver|{{#switch: {{lc:{{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}}}<!--
The blueprint form of the cosmetic must be crafted at the [[Blueprint Assembler]] into a cosmetic token before use.{{#if:{{{scavenge_blueprint|}}}| Alternatively, it can be scavenged for {{Silver|{{#switch: {{lc:{{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}}}<!--
Line 134: Line 134:
|rarity = {{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}
|rarity = {{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}
|legacy = {{{legacy|}}}
|legacy = {{{legacy|}}}
}}
}}}}</includeonly><noinclude><templatedata>
 
</includeonly><noinclude><templatedata>
{
{
"params": {
"params": {
Line 193: Line 191:
"description": "The required crafting materials for the cosmetic's blueprint, if it has one. Use a break tag between each material.",
"description": "The required crafting materials for the cosmetic's blueprint, if it has one. Use a break tag between each material.",
"type": "string"
"type": "string"
},
"blueprint": {
"description": "Does the cosmetic have a blueprint form?",
"suggestedvalues": [
"yes"
]
}
}
},
},
Line 200: Line 204:
"image",
"image",
"rarity2",
"rarity2",
"added_in",
"unlock_hint",
"unlock_hint",
"scavenge_cosmetic",
"scavenge_blueprint",
"legacy",
"legacy",
"added_in",
"unlock_method",
"unlock_method",
"blueprint",
"scavenge_blueprint",
"scavenge_cosmetic",
"crafting_materials"
"crafting_materials"
]
]

Revision as of 12:30, 15 March 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
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