Template:Cosmetic: Difference between revisions
Template page
More actions
mNo edit summary |
Final edit (?) |
||
Line 116: | Line 116: | ||
<label>Cosmetic Token</label> | <label>Cosmetic Token</label> | ||
<format>{{#switch: {{lc:{{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}}}<!-- | <format>{{#switch: {{lc:{{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}}}<!-- | ||
-->| common = | -->| common = {{Silver|200}}<!-- | ||
-->| uncommon = | -->| uncommon = {{Silver|750}}<!-- | ||
-->| rare = 2,000 | -->| rare = {{Silver|2,000}}<!-- | ||
-->| epic = 3,750 | -->| epic = {{Silver|3,750}}<!-- | ||
-->| legendary = 6,250 | -->| legendary = {{Silver|6,250}}<!-- | ||
-->| mythic = 18,000 | -->| 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>{{#switch: {{lc:{{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}}}<!-- | ||
-->| common = | -->| common = {{Silver|50}}<!-- | ||
-->| uncommon = | -->| uncommon = {{Silver|150}}<!-- | ||
-->| rare = | -->| rare = {{Silver|300}}<!-- | ||
-->| epic = | -->| epic = {{Silver|850}}<!-- | ||
-->| legendary = 1,200 | -->| legendary = {{Silver|1,200}}<!-- | ||
-->| mythic = 3,500 | -->| mythic = {{Silver|3,500}}}}</format> | ||
</data> | </data> | ||
</group> | </group> | ||
Line 142: | Line 142: | ||
</infobox> | </infobox> | ||
{{#if:{{#iferror:{{#invoke:CosmeticDescription|getDescription|name={{{name}}}}}|}}|<blockquote>{{#invoke:CosmeticDescription|getDescription|name={{{name}}}}}</blockquote>}} | {{#if:{{#iferror:{{#invoke:CosmeticDescription|getDescription|name={{{name}}}}}|}}|<blockquote>{{#invoke:CosmeticDescription|getDescription|name={{{name}}}}}</blockquote>}} | ||
'''{{{name}}}''' is a {{Rarity|{{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}|Text}}{{#if:{{{rarity2}}}| and {{Rarity|{{{rarity2}}}|Text}}}} {{Type|{{#invoke:CosmeticInfo|getType|name={{{name}}}}}}} [[cosmetic]], found within the {{Collection|{{#invoke:CosmeticInfo|getCollection|name={{{name}}}}}}}, that was introduced in [[Patch {{{added_in}}}]]. {{{unlock_method}}}{{#if:{{{colorable}}}|It is {{Colorable}}, meaning players can apply [[Chroma Pack|chroma packs]] to it, allowing them to change its colour.<br /><br />Owning it rewards the player with a total of {{Style Trophy|{{#expr:{{#invoke:CosmeticInfo|getTrophiesAwarded|name={{{name}}}}}+10}}|text = yes}} - {{Style Trophy|{{#invoke:CosmeticInfo|getTrophiesAwarded|name={{{name}}}}}}} for owning it and an extra {{Style Trophy|10}} if all 4 [[Chroma Pack|chroma packs]] are applied to it.| | '''{{{name}}}''' is a {{Rarity|{{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}|Text}}{{#if:{{{rarity2}}}| and {{Rarity|{{{rarity2}}}|Text}}}} {{Type|{{#invoke:CosmeticInfo|getType|name={{{name}}}}}}} [[cosmetic]], found within the {{Collection|{{#invoke:CosmeticInfo|getCollection|name={{{name}}}}}}}, that was introduced in [[Patch {{{added_in}}}]]. {{{unlock_method}}}{{#if:{{{colorable}}}|<br /><br />It is {{Colorable}}, meaning players can apply [[Chroma Pack|chroma packs]] to it, allowing them to change its colour.<br /><br />Owning it rewards the player with a total of {{Style Trophy|{{#expr:{{#invoke:CosmeticInfo|getTrophiesAwarded|name={{{name}}}}}+10}}|text = yes}} - {{Style Trophy|{{#invoke:CosmeticInfo|getTrophiesAwarded|name={{{name}}}}}}} for owning it and an extra {{Style Trophy|10}} if all 4 [[Chroma Pack|chroma packs]] are applied to it.| | ||
It rewards the player with a total of {{Style Trophy|{{#invoke:CosmeticInfo|getTrophiesAwarded|name={{{name}}}}}|text = yes}}.}}{{#if:{{{scavenge_cosmetic}}}|<br /><br />Its token form can be scavenged for {{#switch: {{lc:{{{ | It rewards the player with a total of {{Style Trophy|{{#invoke:CosmeticInfo|getTrophiesAwarded|name={{{name}}}}}|text = yes}}.}}{{#if:{{{scavenge_cosmetic}}}|<br /><br />Its token form can be scavenged for {{Silver|{{#switch: {{lc:{{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}}}<!-- | ||
-->| common = 200<!-- | -->| common = 200<!-- | ||
-->| uncommon = 750<!-- | -->| uncommon = 750<!-- | ||
Line 149: | Line 149: | ||
-->| epic = 3,750<!-- | -->| epic = 3,750<!-- | ||
-->| legendary = 6,250<!-- | -->| legendary = 6,250<!-- | ||
-->| mythic = 18,000}} | -->| mythic = 18,000}}}} and {{Royal Reputation|{{#switch: {{lc:{{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}}}<!-- | ||
-->| common = 1<!-- | -->| common = 1<!-- | ||
-->| uncommon = 2<!-- | -->| uncommon = 2<!-- | ||
Line 155: | Line 155: | ||
-->| epic = 5<!-- | -->| epic = 5<!-- | ||
-->| legendary = 7<!-- | -->| legendary = 7<!-- | ||
-->| mythic = 10}} | -->| mythic = 10}}}} in the [[Scavenger's Hideout]].}}</includeonly><noinclude><templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
Line 176: | Line 176: | ||
] | ] | ||
}, | }, | ||
" | "added_in": { | ||
"description": "The patch version the cosmetic was added", | "description": "The patch version the cosmetic was added", | ||
"type": "string", | "type": "string", | ||
Line 203: | Line 203: | ||
"image", | "image", | ||
"rarity2", | "rarity2", | ||
" | "added_in", | ||
"obtaining", | "obtaining", | ||
"scavenge_cosmetic", | "scavenge_cosmetic", |
Revision as of 09:19, 15 March 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 |
added_in | added_in | The patch version the cosmetic was added
| String | required |
obtaining | obtaining | The in-game string for how this cosmetic is obtained | String | required |
scavenge_cosmetic | scavenge_cosmetic | Is the cosmetic token scavengeable? | Boolean | suggested |
scavenge_blueprint | scavenge_blueprint | Is the blueprint scavengeable? | Boolean | suggested |