Template:Cosmetic: Difference between revisions
Template page
More actions
m WHOOPS |
This is a mess |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><infobox> | ||
<title source="name"> | <title source="name"> | ||
<default>{{PAGENAME}}</default> | <default>{{PAGENAME}}</default> | ||
Line 11: | Line 9: | ||
<header><center>Details</center></header> | <header><center>Details</center></header> | ||
<data source="name"> | <data source="name"> | ||
<format>{{#switch: {{lc:{{{ | <format>{{#switch: {{lc:{{#invoke:CosmeticInfo|getType|name={{{name}}}}}}}<!-- | ||
-->| hat = [[File:Hat.png|x18px|center|link=]] [[Category:Hats]]<!-- | -->| hat = [[File:Hat.png|x18px|center|link=]] [[Category:Hats]]<!-- | ||
-->| accessory = [[File:Accessory.png|x18px|center|link=]] [[Category:Accessories]]<!-- | -->| accessory = [[File:Accessory.png|x18px|center|link=]] [[Category:Accessories]]<!-- | ||
Line 20: | Line 18: | ||
</data> | </data> | ||
<data source="name"> | <data source="name"> | ||
<format>{{#switch: {{lc:{{{ | <format>{{#switch: {{lc:{{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}}}<!-- | ||
-->| common = [[File:Common.png|x18px|center|link=]]<!-- | -->| common = [[File:Common.png|x18px|center|link=]]<!-- | ||
-->| uncommon = [[File:Uncommon.png|x18px|center|link=]]<!-- | -->| uncommon = [[File:Uncommon.png|x18px|center|link=]]<!-- | ||
Line 26: | Line 24: | ||
-->| epic = [[File:Epic.png|x18px|center|link=]]<!-- | -->| epic = [[File:Epic.png|x18px|center|link=]]<!-- | ||
-->| legendary = [[File:Legendary.png|x18px|center|frameless|link=]]<!-- | -->| legendary = [[File:Legendary.png|x18px|center|frameless|link=]]<!-- | ||
-->| mythic = [[File:Mythic.png|x18px|center|link=]]}}[[Category:{{ucfirst:{{{ | -->| mythic = [[File:Mythic.png|x18px|center|link=]]}}[[Category:{{ucfirst:{{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}}} Cosmetics]]</format> | ||
</data> | </data> | ||
<data source="rarity2"> | <data source="rarity2"> | ||
Line 34: | Line 32: | ||
</data> | </data> | ||
<data source="name"> | <data source="name"> | ||
<format>{{#if:{{{ | <format>{{#if:{{#invoke:CosmeticInfo|isColorable|name={{{name}}}}}|<center>[[File:Icon-Color.png|20px]] Colorable</center>[[Category:Colorable Cosmetics]]}}</format> | ||
</data> | </data> | ||
</group> | </group> | ||
<data source="added_in"> | <data source="added_in"> | ||
<format><center>Added in [[{{{added_in}}}]]<br />({{PatchDate|{{{added_in}}}})</center></format> | <format><center>Added in [[{{{added_in}}}]]<br />({{PatchDate|{{{added_in}}}}})</center></format> | ||
</data> | </data> | ||
<group> | <group> | ||
<header><center>Collection</center></header> | <header><center>Collection</center></header> | ||
<data source="name"> | <data source="name"> | ||
<format><center>{{#switch: {{lc:{{{ | <format><center>{{#switch: {{lc:{{#invoke:CosmeticInfo|getCollection|name={{{name}}}}}}}<!-- | ||
-->| oceanic | natural | mechanical | magical | royal | hidden | special | bonus =<!-- | -->| oceanic | natural | mechanical | magical | royal | hidden | special | bonus =<!-- | ||
-->[[File:{{ucfirst:{{{ | -->[[File:{{ucfirst:{{#invoke:CosmeticInfo|getCollection|name={{{name}}}}}}} Collection.png|32px|center|link={{ucfirst:{{#invoke:CosmeticInfo|getCollection|name={{{name}}}}}}} Collection]]<!-- | ||
--> [[{{ucfirst:{{{ | --> [[{{ucfirst:{{#invoke:CosmeticInfo|getCollection|name={{{name}}}}}}} Collection]] [[Category:{{ucfirst:{{#invoke:CosmeticInfo|getCollection|name={{{name}}}}}}} Collection Cosmetics]]<!-- | ||
-->| mythic gate = [[File:Icon-Mastery-Gate.png|32px|center|link=Mythic Gate Collection]] [[Mythic Gate Collection]]<!-- | -->| mythic gate = [[File:Icon-Mastery-Gate.png|32px|center|link=Mythic Gate Collection]] [[Mythic Gate Collection]]<!-- | ||
--> [[Category:Mythic Gate Collection Cosmetics]]<!-- | --> [[Category:Mythic Gate Collection Cosmetics]]<!-- | ||
Line 81: | Line 79: | ||
-->| spooky = [[File:Spooky Huntmaster Badge.png|32px|center|link=Spooky Collection]] [[Spooky Collection]]<!-- | -->| spooky = [[File:Spooky Huntmaster Badge.png|32px|center|link=Spooky Collection]] [[Spooky Collection]]<!-- | ||
--> [[Category:Spooky Collection Cosmetics]]<!-- | --> [[Category:Spooky Collection Cosmetics]]<!-- | ||
-->| aura | trail = [[File:Icon-{{ucfirst:{{{ | -->| aura | trail = [[File:Icon-{{ucfirst:{{#invoke:CosmeticInfo|getCollection|name={{{name}}}}}}}.png|32px|center|link={{ucfirst:{{#invoke:CosmeticInfo|getCollection|name={{{name}}}}}}} Collection]]<!-- | ||
--> [[{{ucfirst:{{{ | --> [[{{ucfirst:{{#invoke:CosmeticInfo|getCollection|name={{{name}}}}}}} Collection]] [[Category:{{ucfirst:{{#invoke:CosmeticInfo|getCollection|name={{{name}}}}}}} Collection Cosmetics]]}}</center></format> | ||
</data> | </data> | ||
</group> | </group> | ||
Line 95: | Line 93: | ||
<data source="name"> | <data source="name"> | ||
<label>[[File:Style Trophy.png|32px]]</label> | <label>[[File:Style Trophy.png|32px]]</label> | ||
<format>{{#ifeq:{{{ | <format>{{#ifeq:{{#invoke:CosmeticInfo|isBonusTrophies|name={{{name}}}}}|false|{{#invoke:CosmeticInfo|getTrophiesAwarded|name={{{name}}}}} {{#if:{{#invoke:CosmeticInfo|isColorable|name={{{name}}}}}|([[File:Icon-Color.png|20px]]+10)}}}}</format> | ||
</data> | </data> | ||
<data source="name"> | <data source="name"> | ||
<label>[[File:Icon-Champion Score Bonus.png|32px]]</label> | <label>[[File:Icon-Champion Score Bonus.png|32px]]</label> | ||
<format>{{#ifeq:{{{ | <format>{{#ifeq:{{#invoke:CosmeticInfo|isBonusTrophies|name={{{name}}}}}|true|{{#invoke:CosmeticInfo|getTrophiesAwarded|name={{{name}}}}} {{#if:{{#invoke:CosmeticInfo|isColorable|name={{{name}}}}}|([[File:Icon-Color.png|20px]]+10)}}}}</format> | ||
</data> | </data> | ||
<data source="name"> | <data source="name"> | ||
<label>[[File:Royal Reputation.png|32px]]</label> | <label>[[File:Royal Reputation.png|32px]]</label> | ||
<format>{{#if: {{{ | <format>{{#if: {{#invoke:CosmeticInfo|canBeDonated|name={{{name}}}}}| | ||
{{#switch: {{lc:{{{ | {{#switch: {{lc:{{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}}}<!-- | ||
-->| common = 1<!-- | -->| common = 1<!-- | ||
-->| uncommon = 2<!-- | -->| uncommon = 2<!-- | ||
Line 117: | Line 115: | ||
<data source="scavenge_cosmetic"> | <data source="scavenge_cosmetic"> | ||
<label>Cosmetic Token</label> | <label>Cosmetic Token</label> | ||
<format>{{#switch: {{lc:{{{ | <format>{{#switch: {{lc:{{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}}}<!-- | ||
-->| common = 200 [[File:Silver.png|20px]]<!-- | -->| common = 200 [[File:Silver.png|20px]]<!-- | ||
-->| uncommon = 750 [[File:Silver.png|20px]]<!-- | -->| uncommon = 750 [[File:Silver.png|20px]]<!-- | ||
Line 127: | Line 125: | ||
<data source="scavenge_blueprint"> | <data source="scavenge_blueprint"> | ||
<label>Blueprint</label> | <label>Blueprint</label> | ||
<format>{{#switch: {{lc:{{{ | <format>{{#switch: {{lc:{{#invoke:CosmeticInfo|getRarity|name={{{name}}}}}}}<!-- | ||
-->| common = 50 [[File:Silver.png|20px]]<!-- | -->| common = 50 [[File:Silver.png|20px]]<!-- | ||
-->| uncommon = 150 [[File:Silver.png|20px]]<!-- | -->| uncommon = 150 [[File:Silver.png|20px]]<!-- | ||
Line 137: | Line 135: | ||
</group> | </group> | ||
<group> | <group> | ||
<header><center>Global Number Owned{{ | <header><center>Global Number Owned{{#invoke:CosmeticInfo|lastUpdatedIcon}}</center></header> | ||
<data source="name"> | <data source="name"> | ||
<format>{{#if:{{{ | <format>{{#if:{{#invoke:CosmeticInfo|getGlobalNumberOwned|name={{{name}}}}}|<center>{{#invoke:CosmeticInfo|getGlobalNumberOwned|name={{{name}}}}}</center>}}</format> | ||
</data> | </data> | ||
</group> | </group> | ||
</infobox> | </infobox> | ||
{{#if:{{#iferror:{{{ | {{#if:{{#iferror:{{#invoke:CosmeticDescription|getDescription|name={{{name}}}}}|}}|<blockquote>{{#invoke:CosmeticDescription|getDescription|name={{{name}}}}}</blockquote>}}</includeonly> | ||
'''{{{name}}}''' is a {{Rarity|{{{ | '''{{{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.| | ||
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:{{{rarity}}}}}<!-- | |||
{{#if:{{{colorable}}}|It is {{Colorable}}, meaning players can apply [[Chroma Pack|chroma packs]] to it, allowing them to change its colour. | |||
Owning it rewards the player with a total of {{Style Trophy|{{#expr:{{{ | |||
It rewards the player with a total of {{Style Trophy|{{{ | |||
{{#if:{{{scavenge_cosmetic}}}|<br /><br />Its token form can be scavenged for {{#switch: {{lc:{{{rarity}}}}}<!-- | |||
-->| common = 200<!-- | -->| common = 200<!-- | ||
-->| uncommon = 750<!-- | -->| uncommon = 750<!-- | ||
Line 163: | Line 155: | ||
-->| epic = 5<!-- | -->| epic = 5<!-- | ||
-->| legendary = 7<!-- | -->| legendary = 7<!-- | ||
-->| mythic = 10}} {{Royal Reputation}} in the [[Scavenger's Hideout]].}} | -->| mythic = 10}} {{Royal Reputation}} in the [[Scavenger's Hideout]].}}</includeonly><noinclude><templatedata> | ||
</includeonly><noinclude><templatedata> | |||
{ | { | ||
"params": { | "params": { |
Revision as of 09:13, 15 March 2025
{{{name}}} is a and cosmetic, found within the Collection, that was introduced in [[Patch {{{added_in}}}]]. {{{unlock_method}}}It is
Colorable, meaning players can apply chroma packs to it, allowing them to change its colour.
Owning it rewards the player with a total of 10
Style Trophies -
for owning it and an extra 10
if all 4 chroma packs are applied to it.
Its token form can be scavenged for
and
in the Scavenger's Hideout.</includeonly>

Owning it rewards the player with a total of 10



Its token form can be scavenged for


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 | added | 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 |