Notice something wrong, missing, or unsatisfactory? Feel free to fix it yourself, or contact Support

Difference between revisions of "Template:Item"

From Medieval Europe
Jump to: navigation, search
Line 22: Line 22:
  
 
For Armor:
 
For Armor:
* Defense — all item with this attribute automaticaly add to [[:Category:Weapon]]
+
* Defense — all item with this attribute automaticaly add to [[:Category:Armor]]
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
{{#if: {{{Image|}}} | {{{Image}}} | [[Category:ItemsNoImage]] }}
 
{{#if: {{{Image|}}} | {{{Image}}} | [[Category:ItemsNoImage]] }}
Line 33: Line 33:
 
!Value
 
!Value
 
|-
 
|-
{{BaseRow|{{{Weight}}}|Weight:}}
+
{{BaseRow|{{{Weight}}}|Weight}}
{{#if: {{{WeightStood|}}} |
+
{{BaseRow|{{{WeightStood}}}|Weight Stood}}
{{!}}Weight Stood:
+
{{BaseRow|{{{Glut}}}|Glut Restored}}
{{!}}{{{WeightStood}}}
+
{{BaseRow|{{{Energy}}}|Energy Restored}}
{{!}}- |  
+
{{BaseRow|{{{Health}}}|Health Restored}}
}}
+
{{BaseRow|{{{Intoxication}}}|Intoxication Level}}
{{#if: {{{Glut|}}} |
+
{{BaseRow|{{{Equipped}}}|Equipped}}
{{!}}Glut Restored:
+
{{BaseRow|{{{Damage}}}|Damage (min — max)}}
{{!}}{{{Glut}}}
+
{{BaseRow|{{{BluntDamage}}}|Blunt damage}}
{{!}}- |  
+
{{BaseRow|{{{CutDamage}}}|Cut Damage}}
}}
+
{{BaseRow|{{{Reach}}}|Reach}}
{{#if: {{{Energy|}}} |
+
{{BaseRow|{{{ArmorPenetration}}}|Armor Penetration}}
{{!}}Energy Restored:
+
{{BaseRow|{{{Critical}}}|Critical*}}
{{!}}{{{Energy}}}
+
{{BaseRow|{{{Defense}}}|Defense Bonus}}
{{!}}- |  
+
}}
+
{{#if: {{{Health|}}} |
+
{{!}}Health Restored:
+
{{!}}{{{Health}}}
+
{{!}}- |  
+
}}
+
{{#if: {{{Intoxication|}}} |
+
{{!}}Intoxication Level:
+
{{!}}{{{Intoxication}}}
+
{{!}}- |  
+
}}
+
{{#if: {{{Intoxication|}}} |
+
{{!}}Intoxication Level:
+
{{!}}{{{Intoxication}}}
+
{{!}}- |  
+
}}
+
{{#if: {{{Damage|}}} |
+
{{!}}Damage:
+
{{!}}{{{Damage}}}
+
{{!}}- |  
+
}}
+
 
|}
 
|}
 +
{{#if: {{{Critical|}}} | *Min roll to hit-damage multiplier |}}
 
[[Category:Items]]
 
[[Category:Items]]
 
{{#if: {{{Glut|}}} | [[Category:Food]] |}}
 
{{#if: {{{Glut|}}} | [[Category:Food]] |}}
 
{{#if: {{{Damage|}}} | [[Category:Weapon]] |}}
 
{{#if: {{{Damage|}}} | [[Category:Weapon]] |}}
 +
{{#if: {{{Defense|}}} | [[Category:Armor]] |}}
 
</includeonly>
 
</includeonly>

Revision as of 07:35, 7 October 2014

Base template to items. All pages with this template automaticaly add to Category:Items

Used fields:

  • Image — all item without this attribute automaticaly add to Category:ItemsNoImage
  • Description
  • Weight
  • WeightStood
  • Glut — all item with this attribute automaticaly add to Category:Food
  • Energy
  • Health
  • Intoxication
  • Equipped

For Weapon:

  • Damage — all item with this attribute automaticaly add to Category:Weapon
  • BluntDamage
  • CutDamage
  • Reach
  • ArmorPenetration
  • Critical

For Armor:

  • Defense — all item with this attribute automaticaly add to Category:Armor
Personal tools