Difference between revisions of "Template:InfoOverview"
(fixed error with non craftable resources showing unknown tier) |
(cleaning up) |
||
Line 11: | Line 11: | ||
-->{{#if: {{#show: {{PAGENAME}} |?ArmorClass}} |, {{#show: {{PAGENAME}} |?ArmorClass}} }}<!-- | -->{{#if: {{#show: {{PAGENAME}} |?ArmorClass}} |, {{#show: {{PAGENAME}} |?ArmorClass}} }}<!-- | ||
-->, {{#switch: {{#show: {{PAGENAME}} |?ItemType#}} | -->, {{#switch: {{#show: {{PAGENAME}} |?ItemType#}} | ||
− | + | | Recipe (Item) | Piece of Equipment | Weapon | Cape | Protective Gear = {{#switch: {{#show: {{PAGENAME}} |?LevelEquipRequirement}} | |
| 0 = [[Nomenclature#Equipment|T0]] (No Expertise needed) | | 0 = [[Nomenclature#Equipment|T0]] (No Expertise needed) | ||
| 15 = [[Nomenclature#Equipment|T1]] ({{Emoticon|emoticon=Bookred}}) | | 15 = [[Nomenclature#Equipment|T1]] ({{Emoticon|emoticon=Bookred}}) | ||
Line 19: | Line 19: | ||
| #default = ERROR: Could not parse Tier info (Property input error or new/unsupported item? Value: {{#show: {{PAGENAME}} |?LevelEquipRequirement}}) | | #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 }}]] | |
− | + | }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
|- | |- | ||
{{#ifeq: {{#show: {{PAGENAME}} |?ItemType#}} | Recipe (Item) | {{!}} Used in {{!}}{{!}} {{#ask: [[Crafting ingredient::{{PAGENAME}}]] |headers=hide |format=list |?{{PAGENAME}} }} | {{#ifeq: {{#show: {{PAGENAME}} |?ItemType#}} | Recipe (Item) | {{!}} Used in {{!}}{{!}} {{#ask: [[Crafting ingredient::{{PAGENAME}}]] |headers=hide |format=list |?{{PAGENAME}} }} |
Revision as of 11:28, 31 July 2018
This template displays all information of an item/resource/... display changes depending on type of content. It uses Template:ItemPropertiesInfoBox and Template:ResourcePropertiesInfoBox to display not general content