Difference between revisions of "Template:InfoOverview"

From ChatWars Wiki
Jump to: navigation, search
Line 5: Line 5:
 
|-  
 
|-  
 
| Identifier code  
 
| Identifier code  
| colspan="2"| <code>{{#show: {{PAGENAME}} |?ItemID}}</code>
+
| <code>{{#show: {{PAGENAME}} |?ItemID}}</code>
 
|-
 
|-
 
| Type
 
| Type
| colspan="2"| {{#show: {{PAGENAME}} |?ItemType}} {{#if: {{#show: {{PAGENAME}} |?ItemSubType}}|, {{#show: {{PAGENAME}} |?ItemSubType}} }}
+
| {{#show: {{PAGENAME}} |?ItemType}} {{#if: {{#show: {{PAGENAME}} |?ItemSubType}}|, {{#show: {{PAGENAME}} |?ItemSubType}} }}
 
                                                   {{#if: {{#show: {{PAGENAME}} |?ArmorClass}} |, {{#show: {{PAGENAME}} |?ArmorClass}} }}
 
                                                   {{#if: {{#show: {{PAGENAME}} |?ArmorClass}} |, {{#show: {{PAGENAME}} |?ArmorClass}} }}
 
|-
 
|-
{{#ifeq: {{#show: {{PAGENAME}} |?ItemType#}} | Recipe (Item) | {{!}} Set {{!}}{{!}} {{#switch: {{#show {{PAGENAME}} |?LevelRequirement}} | 25=[[Nomenclature#Equipment|T2]] ({{Emoticon|emoticon=Bookgreen}}) | 35=[[Nomenclature#Equipment|T3]], {{Emoticon|emoticon=Bookblue}} | 45=[[Nomenclature#Equipment|T4]] ({{Emoticon|emoticon=Bookorange}}) }} {{!}}- }}  
+
{{#ifeq: {{#show: {{PAGENAME}} |?ItemType#}} | Recipe (Item) | {{!}} Set {{!}}{{!}} {{#show {{PAGENAME}} |?LevelRequirement}}{{#switch: {{#show {{PAGENAME}} |?LevelRequirement}} | 25=[[Nomenclature#Equipment|T2]] ({{Emoticon|emoticon=Bookgreen}}) | 35=[[Nomenclature#Equipment|T3]], {{Emoticon|emoticon=Bookblue}} | 45=[[Nomenclature#Equipment|T4]] ({{Emoticon|emoticon=Bookorange}}) }} {{!}}{{!}}- }}  
 
| Weight
 
| Weight
| colspan="2"| {{#show: {{PAGENAME}} |?Weight}}
+
| {{#show: {{PAGENAME}} |?Weight}}
 
|-
 
|-
 
| Depositable in [[Guild]] {{#if: {{#show: {{PAGENAME}} |?Wrapping}}
 
| Depositable in [[Guild]] {{#if: {{#show: {{PAGENAME}} |?Wrapping}}
Line 20: Line 20:
 
                               }}
 
                               }}
 
                           }}
 
                           }}
| colspan="2"| {{#ifeq: {{#show: {{PAGENAME}} |?BoolDepositGuild}} | true | yes | no}} {{#if: {{#show: {{PAGENAME}} |?Wrapping}}
+
| {{#ifeq: {{#show: {{PAGENAME}} |?BoolDepositGuild}} | true | yes | no}} {{#if: {{#show: {{PAGENAME}} |?Wrapping}}
 
                                                                                         | {{#ifeq: {{#show: {{PAGENAME}} |?Wrapping}} | 0
 
                                                                                         | {{#ifeq: {{#show: {{PAGENAME}} |?Wrapping}} | 0
 
                                                                                             | | ({{#show: {{PAGENAME}} |?Wrapping}})
 
                                                                                             | | ({{#show: {{PAGENAME}} |?Wrapping}})

Revision as of 11:41, 23 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