Difference between revisions of "Template:InfoOverview"

From ChatWars Wiki
Jump to: navigation, search
Line 4: Line 4:
 
! style="width: 50%" colspan="2" align="center" style="background:lightgrey" | Properties of {{PAGENAME}}
 
! style="width: 50%" colspan="2" align="center" style="background:lightgrey" | Properties of {{PAGENAME}}
 
|-  
 
|-  
| Identifier code'''
+
| Identifier code  
 
| colspan="2"| <code>{{#show: {{PAGENAME}} |?ItemID}}</code>
 
| colspan="2"| <code>{{#show: {{PAGENAME}} |?ItemID}}</code>
 
|-
 
|-
Line 11: Line 11:
 
                                                   {{#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) | ABC}}
 +
{{#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}}) }} {{!}}{{!}}- }}  
 
| Weight
 
| Weight
 
| colspan="2"| {{#show: {{PAGENAME}} |?Weight}}
 
| colspan="2"| {{#show: {{PAGENAME}} |?Weight}}

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