Difference between revisions of "Template:InfoOverview"

From ChatWars Wiki
Jump to: navigation, search
Line 8: Line 8:
 
|-
 
|-
 
| Type
 
| Type
| colspan="2"| {{#show: {{PAGENAME}} |?ItemType}} {{#if: {{#show: {{PAGENAME}} |?ItemSubType}} |, {{#show: {{PAGENAME}} |?ItemSubType}} }} {{#if: {{#show: {{PAGENAME}} |?ArmorClass}} |, {{#show: {{PAGENAME}} |?ArmorClass}} }}
+
| colspan="2"| {{#show: {{PAGENAME}} |?ItemType}} {{#if: {{#show: {{PAGENAME}} |?ItemSubType}}|, {{#show: {{PAGENAME}} |?ItemSubType}} }}
 +
                                                  {{#if: {{#show: {{PAGENAME}} |?ArmorClass}} |, {{#show: {{PAGENAME}} |?ArmorClass}} }}
 
|-
 
|-
 
| Weight
 
| Weight
 
| colspan="2"| {{#show: {{PAGENAME}} |?Weight}}
 
| colspan="2"| {{#show: {{PAGENAME}} |?Weight}}
 
|-
 
|-
| Depositable in [[Guild]] {{#if: {{#show: {{PAGENAME}} |?Wrapping}} | (needed [[Wrapping]]}}
+
| Depositable in [[Guild]] {{#if: {{#show: {{PAGENAME}} |?Wrapping}}
| colspan="2"| {{#ifeq: {{#show: {{PAGENAME}} |?BoolDepositGuild}} | true | yes | no}} {{#if: {{#show: {{PAGENAME}} |?Wrapping}} | ({{#show: {{PAGENAME}} |?Wrapping}}) }}
+
                            | {{#ifeq: {{#show: {{PAGENAME}} |?Wrapping}} | 0
 +
                                | (needed [[Wrapping]])
 +
                              }}
 +
                          }}
 +
| colspan="2"| {{#ifeq: {{#show: {{PAGENAME}} |?BoolDepositGuild}} | true | yes | no}} {{#if: {{#show: {{PAGENAME}} |?Wrapping}}
 +
                                                                                        | {{#ifeq: {{PAGENAME}} |?Wrapping}} | 0
 +
                                                                                            | ({{#show: {{PAGENAME}} |?Wrapping}})
 +
                                                                                          }}
 +
                                                                                      }}
 
|-
 
|-
 
| Event item
 
| Event item

Revision as of 09:25, 20 July 2018


This template displays all information of an item/resource/... display changes depending on type of content. It uses Template:ItemPropertiesInfoBox and XYZ to display not general content