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
mNo edit summary
Modified to take in rarity and legacy value to determine crafting time and Blueprint XP earnt
Line 1: Line 1:
<onlyinclude>
<includeonly>
{| class="wikitable"
{| class="wikitable"
!colspan="2"|{{{Item|}}}
!colspan="2"|{{{item|}}}
|-
|-
!Required Materials
!Required Materials
|{{{Required Materials|}}}
|{{{required_materials|}}}
|-
|-
!Crafting Time
!Crafting Time
|{{{Crafting Time|}}}
|{{#if: {{{legacy|}}} |  
  {{#switch: {{{rarity|}}}
    |rare = 7h
    |epic = 18h
    |legendary = 1d
  }}
  |
  {{#switch: {{{rarity|}}}
    |common = 45m
    |uncommon = 2h
    |rare = 5h
    |epic = 12h
    |legendary = 18h
    |mythic = 1d
  }}  
}}
|-
|-
!Blueprint XP Earned
!Blueprint XP Earned
|{{{Blueprint XP|}}}
|{{#if: {{{legacy|}}} |
  {{#switch: {{{rarity|}}}
    |rare = 80 XP
    |epic = 150 XP
    |legendary = 250 XP
  }}
  |
  {{#switch: {{{rarity|}}}
    |common = 5 XP
    |uncommon = 15 XP
    |rare = 35 XP
    |epic = 80 XP
    |legendary = 130 XP
    |mythic = 375 XP
  }}  
}}
|}
|}
</onlyinclude>
</includeonly>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"Item": {
"item": {
"description": "The item crafted by the blueprint",
"description": "The item crafted by the blueprint",
"type": "string",
"type": "string",
"required": true,
"required": true
"suggested": true
},
},
"Required Materials": {
"required_materials": {
"description": "The materials required to craft",
"description": "The materials required to craft",
"type": "string",
"type": "string",
"required": true,
"required": true
"suggested": true
},
},
"Blueprint XP": {
"legacy": {
"description": "The amount of Blueprint XP Earned from crafting this blueprint.",
"description": "Whether the blueprint is from the Legacy Machine",
"type": "number",
"suggestedvalues": [
"required": true,
"yes"
"suggested": true
],
"type": "string"
},
},
"Crafting Time": {
"rarity": {
"description": "The amount of time it takes to craft the blueprint.",
"description": "The rarity of the cosmetic / blueprint",
"type": "string",
"required": true,
"required": true,
"suggested": true
"type": "string"
}
}
},
},
"description": "Creates a formatted table to display a blueprint",
"description": "Creates a formatted table to display a blueprint.",
"paramOrder": [
"paramOrder": [
"Item",
"item",
"Required Materials",
"required_materials",
"Crafting Time",
"legacy",
"Blueprint XP"
"rarity"
]
]
}
}
</templatedata>
</templatedata>

Revision as of 10:01, 15 March 2025

Creates a formatted table to display a blueprint.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
itemitem

The item crafted by the blueprint

Stringrequired
required_materialsrequired_materials

The materials required to craft

Stringrequired
legacylegacy

Whether the blueprint is from the Legacy Machine

Suggested values
yes
Stringoptional
rarityrarity

The rarity of the cosmetic / blueprint

Stringrequired