Template:Cosmetic: Difference between revisions
Template page
More actions
remove need for |
m edited too early: removed need for '|blueprint=yes' if cosmetic is in a crate collection |
||
Line 119: | Line 119: | ||
-->| legendary = 7<!-- | -->| legendary = 7<!-- | ||
-->| mythic = 10}}}} [[Royal Reputation]] in the [[Scavenger's Hideout]].}} | -->| mythic = 10}}}} [[Royal Reputation]] in the [[Scavenger's Hideout]].}} | ||
{{#if:{{{legacy|}}}{{{blueprint|}}}{{#ifeq:{{#invoke:CosmeticInfo|isInCrateCollection|name={{{name}}}}}|true|}}| | {{#if:{{{legacy|}}}{{{blueprint|}}}{{#ifeq:{{#invoke:CosmeticInfo|isInCrateCollection|name={{{name}}}}}|true|1|}}| | ||
==== Blueprint Recipe ==== | ==== Blueprint Recipe ==== | ||
{{{name}}}'s blueprint form 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}}}}}}}<!-- | {{{name}}}'s blueprint form 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}}}}}}}<!-- |
Revision as of 17:55, 30 May 2025
Creates an infobox and various standard sentences for Cosmetics pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The name of the cosmetic
| String | required |
image | image | The (animated) image of the cosmetic, if the file is not found at File:{{{name}}}.png | File | optional |
rarity2 | rarity2 | The (special) rarity of the cosmetic
| String | optional |
unlock_hint | unlock_hint | The in-game string for how this cosmetic is obtained. Not required if legacy cosmetic | String | suggested |
legacy | legacy | Whether the cosmetic is obtained from the Legacy Machine. Overrides unlock_hint.
| String | optional |
added_in | added_in | The patch version the cosmetic was added
| String | required |
unlock_method | unlock_method | Sentences to be used to explain the unlocking method of the cosmetic | String | required |
blueprint | blueprint | Does the cosmetic have a blueprint form?
| Unknown | optional |
scavenge_blueprint | scavenge_blueprint | Is the blueprint scavengeable? | Boolean | suggested |
scavenge_cosmetic | scavenge_cosmetic | Is the cosmetic token scavengeable? | Boolean | suggested |
crafting_materials | crafting_materials | The required crafting materials for the cosmetic's blueprint, if it has one. Use a break tag between each material. | String | optional |