Template:Blueprint: Difference between revisions
Template page
More actions
Modified to take in rarity and legacy value to determine crafting time and Blueprint XP earnt |
removed Blueprint XP field |
||
(4 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
!Crafting Time | !Crafting Time | ||
|{{#if: {{{legacy|}}} | | |{{#if: {{{legacy|}}} | | ||
{{#switch: {{{rarity|}}} | {{#switch: {{lc:{{{rarity|}}}}} | ||
|rare = 7h | |rare = 7h | ||
|epic = 18h | |epic = 18h | ||
Line 14: | Line 14: | ||
}} | }} | ||
| | | | ||
{{#switch: {{{rarity|}}} | {{#switch: {{lc:{{{rarity|}}}}} | ||
|common = 45m | |common = 45m | ||
|uncommon = 2h | |uncommon = 2h | ||
Line 21: | Line 21: | ||
|legendary = 18h | |legendary = 18h | ||
|mythic = 1d | |mythic = 1d | ||
}} | }} | ||
}} | }} | ||
|} | |} | ||
</includeonly> | </includeonly><noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 78: | Line 60: | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> |
Latest revision as of 13:57, 30 August 2025
Creates a formatted table to display a blueprint.
Parameter | Description | Type | Status | |
---|---|---|---|---|
item | item | The item crafted by the blueprint | String | required |
required_materials | required_materials | The materials required to craft | String | required |
legacy | legacy | Whether the blueprint is from the Legacy Machine
| String | optional |
rarity | rarity | The rarity of the cosmetic / blueprint | String | required |