Template:Blueprint: Difference between revisions
Template page
More actions
initial draft |
idk if this will work never done this before xD (+ TemplateData) |
||
Line 1: | Line 1: | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 7: | Line 6: | ||
|Crafting Time | |Crafting Time | ||
|- | |- | ||
|{{{ | |{{{Item|}}} | ||
|{{{ | |{{{Required Materials|}}} | ||
|{{{ | |{{#switch: {{lc:{{{Rarity}}}}} | ||
|{{{ | | common = {{Coin|1,500}} | ||
| uncommon = {{Coin|4,500}} | |||
| rare = {{Coin|10,000}} | |||
| epic = {{Coin|25,000}} | |||
| legendary = {{Coin|40,000}} | |||
}} | |||
|{{#switch: {{lc:{{{Rarity}}}}} | |||
| common = 45 minutes}} | |||
| uncommon = 2 hours | |||
| rare = 5 hours | |||
| epic = 12 hours | |||
| legendary = 18 hours | |||
}} | |||
|} | |} | ||
</ | <templatedata> | ||
{ | |||
"params": { | |||
"Rarity": { | |||
"description": "Rarity of blueprint", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Common", | |||
"Uncommon", | |||
"Rare", | |||
"Epic", | |||
"Legendary" | |||
], | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"Item": { | |||
"description": "The item crafted by the blueprint", | |||
"type": "string", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"Required Materials": { | |||
"description": "The materials required to craft", | |||
"type": "string", | |||
"required": true, | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Creates a formatted table to display a blueprint" | |||
} | |||
</templatedata> |
Revision as of 10:04, 6 November 2023
Item | Required Materials | Crafting Cost | Crafting Time | ||||
uncommon = 2 hours | rare = 5 hours | epic = 12 hours | legendary = 18 hours
}} |
Creates a formatted table to display a blueprint
Parameter | Description | Type | Status | |
---|---|---|---|---|
Rarity | Rarity | Rarity of blueprint
| String | required |
Item | Item | The item crafted by the blueprint | String | required |
Required Materials | Required Materials | The materials required to craft | String | required |