Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Blueprint: Difference between revisions

Template page
initial draft
 
idk if this will work never done this before xD (+ TemplateData)
Line 1: Line 1:
<includeonly>
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 7: Line 6:
|Crafting Time
|Crafting Time
|-
|-
|{{{item|}}}
|{{{Item|}}}
|{{{required_materials|}}}
|{{{Required Materials|}}}
|{{{crafting_cost|}}}
|{{#switch: {{lc:{{{Rarity}}}}}
|{{{crafting_time|}}}
| 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
}}
|}
|}
</includeonly>
<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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
RarityRarity

Rarity of blueprint

Suggested values
Common Uncommon Rare Epic Legendary
Stringrequired
ItemItem

The item crafted by the blueprint

Stringrequired
Required MaterialsRequired Materials

The materials required to craft

Stringrequired