Difference between revisions of "Template:RecipeOverviewRow"

From ChatWars Wiki
Jump to: navigation, search
Line 29: Line 29:
 
}}
 
}}
 
|{{#show: {{PageLink_to_Name|page={{{1}}} }} |?ManaCrafting }}{{Emoticon|emoticon=Mana}}
 
|{{#show: {{PageLink_to_Name|page={{{1}}} }} |?ManaCrafting }}{{Emoticon|emoticon=Mana}}
|<!-- ENTER RANK HERE -->
+
|{{#switch: {{#show: {{PAGENAME}} |?ItemType#}}
 +
  | Recipe (Item) | Piece of Equipment | Weapon | Cape | Protective Gear = {{#switch: {{#show: {{PAGENAME}} |?LevelEquipRequirement}}
 +
                                                                              | 0  = [[Nomenclature#Equipment|T0]] (No Expertise needed)
 +
                                                                              | 15 = [[Nomenclature#Equipment|T1]] ({{Emoticon|emoticon=Bookred}})
 +
                                                                              | 25 = [[Nomenclature#Equipment|T2]] ({{Emoticon|emoticon=Bookgreen}})
 +
                                                                              | 35 = [[Nomenclature#Equipment|T3]] ({{Emoticon|emoticon=Bookblue}})
 +
                                                                              | 45 = [[Nomenclature#Equipment|T4]] ({{Emoticon|emoticon=Bookorange}})
 +
                                                                              | #default = ERROR: Could not parse Tier info (Property input error or new/unsupported item? Value:  {{#show: {{PAGENAME}} |?LevelEquipRequirement}})
 +
                                                                          }}
 +
  | Resource = [[Nomenclature#Resource|C{{#if:{{#show: {{PAGENAME}} |?SkillCraftLevel}} | {{#show: {{PAGENAME}} |?SkillCraftLevel}} | 0}}{{#ifeq: {{#show: {{PAGENAME}} |?BoolQuest}} | true | | a }}]]
 +
  | Consumable = {{#switch: {{#show: {{PAGENAME}} |?ItemSubType#}}
 +
                    | Ammunition = [[Nomenclature|A{{#show: {{PAGENAME}} |?SkillCraftLevel}}]]
 +
                  }}
 +
}}
 
|<code>{{#show: {{PageLink_to_Name|page={{{1}}} }} |?CraftCommand }}</code>
 
|<code>{{#show: {{PageLink_to_Name|page={{{1}}} }} |?CraftCommand }}</code>
 
|-
 
|-

Revision as of 16:02, 3 August 2018


This template formats one row (recipe) of the recipe overview table