Template:Cosmetic: Difference between revisions
Template page
More actions
scavenging/blueprint info now automated + updated templatedata |
fix so that fishing cosmetics don't show blueprint scavening rewards |
||
Line 82: | Line 82: | ||
<data source="name"> | <data source="name"> | ||
<label>Blueprint</label> | <label>Blueprint</label> | ||
<format>{{#ifexpr:{{#invoke:CosmeticInfo|getReputationAmount|name={{{name}}}}}>0|{{CosmeticScavengeRewards|name={{{name}}}|Blueprint}}}}</format> | <format>{{#ifexpr:{{#invoke:CosmeticInfo|getReputationAmount|name={{{name}}}}}>0|{{#ifeq:{{#invoke:CosmeticInfo|isFishingCosmetic|name={{{name}}}}}|true|{{CosmeticScavengeRewards|name={{{name}}}|Blueprint}}}}}}</format> | ||
</data> | </data> | ||
</group> | </group> |
Revision as of 07:00, 8 September 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 |
added_in | added_in | The patch version the cosmetic was added
| String | required |
added_date | added_date | If not added in a patch, the date on which the cosmetic was added
| String | optional |
unlock_method | unlock_method | If non-standard unlock method, sentences to be used to explain it | String | required |
crafting_materials | crafting_materials | If cosmetic has blueprint with a non-standard recipe, the required crafting materials with a break tag between each material. | String | optional |