The Escapists Wiki
Egroce (talk | contribs)
m
(Added parameters need for weapons, like pistols.)
Line 20: Line 20:
 
{{!}} {{{uses|}}} }}
 
{{!}} {{{uses|}}} }}
 
|-
 
|-
{{#if: {{{weapon|}}}|
+
{{#if: {{{damage|}}}|
{{!}} '''Weapon'''
+
{{!}} '''Damage'''
{{!}} {{{weapon|}}} }}
+
{{!}} {{{damage|}}} }}
  +
|-
  +
{{#if: {{{attacktime|}}}|
  +
{{!}} '''Attack Time'''
  +
{{!}} {{{attacktime|}}} }}
  +
|-
  +
{{#if: {{{range|}}}|
  +
{{!}} '''Range'''
  +
{{!}} {{{range|}}} }}
  +
|-
  +
{{#if: {{{projectiles|}}}|
  +
{{!}} '''Projectiles'''
  +
{{!}} {{{projectiles|}}} }}
  +
|-
  +
{{#if: {{{stoppingpower|}}}|
  +
{{!}} '''Stopping Power'''
  +
{{!}} {{{stoppingpower|}}} }}
  +
|-
  +
{{#if: {{{maxspread|}}}|
  +
{{!}} '''Max Spread'''
  +
{{!}} {{{maxspread|}}} }}
  +
|-
  +
{{#if: {{{noiselevel|}}}|
  +
{{!}} '''Noise Level'''
  +
{{!}} {{{noiselevel|}}} }}
 
|-
 
|-
 
{{#if: {{{digging|}}}|
 
{{#if: {{{digging|}}}|
Line 40: Line 64:
 
{{!}} {{{unscrewing|}}} }}
 
{{!}} {{{unscrewing|}}} }}
 
|}<includeonly><!--
 
|}<includeonly><!--
-->{{#ifeq:{{lc:{{{contraband|}}}}}|true|[[category:Contraband]]}}<!--
 
 
-->{{#ifeq:{{lc:{{{outfit|}}}}}|true|[[category:Outfits]]}}<!--
 
-->{{#ifeq:{{lc:{{{outfit|}}}}}|true|[[category:Outfits]]}}<!--
 
-->{{#ifeq:{{lc:{{{consumable|}}}}}|true|[[Category:Consumables]]}}<!--
 
-->{{#ifeq:{{lc:{{{consumable|}}}}}|true|[[Category:Consumables]]}}<!--
-->{{#if: {{{weapon|}}} | [[category:Weapons]]}}<!--
 
 
-->{{#if: {{{chipping|}}} | [[category:Chipping Tools]]}}<!--
 
-->{{#if: {{{chipping|}}} | [[category:Chipping Tools]]}}<!--
 
-->{{#if: {{{cutting|}}} | [[category:Cutting Tools]]}}<!--
 
-->{{#if: {{{cutting|}}} | [[category:Cutting Tools]]}}<!--
Line 63: Line 85:
 
| image = Custom Image
 
| image = Custom Image
 
| uses = 1
 
| uses = 1
| weapon = 1
 
 
| digging = 1
 
| digging = 1
 
| cutting = 1
 
| cutting = 1
 
| chipping = 1
 
| chipping = 1
 
| unscrewing = 1
 
| unscrewing = 1
 
| damage = 1
  +
| attacktime = 1
  +
| range = 1
  +
| projectiles = 1
  +
| stoppingpower = 1
  +
| maxspread = 1
  +
| noiselevel = Low
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 21:27, 21 April 2016

TWD Item infobox
Walking Dead Item
File:TWD Item infobox.png
Statistics

Usage:

  • All parameters are optional. If the attributes of an item are unknown, it's advisable to include the template with no parameters, like so: {{TWD Item infobox}}
  • When a value of true is specified for the consumable parameter, its respective fields will display in the infobox. If a field should not display for some field, the entire line containing the parameter can be removed.

Example

{{TWD Item infobox
| consumable = true
| outfit = true
| flavor = This text will display underneath the item image.
| image = Custom Image
| uses = 1
| digging = 1
| cutting = 1
| chipping = 1
| unscrewing = 1
| damage = 1
| attacktime = 1
| range = 1
| projectiles = 1
| stoppingpower = 1
| maxspread = 1
| noiselevel = Low
}}