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
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>Base template to items
+
<noinclude>Base template to items. All pages with this template automaticaly add to [[:Category:Items]]
 
[[Category:Templates]]
 
[[Category:Templates]]
</noinclude>
+
 
 +
Used fields:
 +
*Image — all item '''without''' this attribute automaticaly add to [[:Category:ItemsNoImage]]
 +
*Description
 +
*Requires
 +
*Requiredstrength
 +
*Wearfactor
 +
*Weight
 +
*Sex
 +
*WeightStood
 +
*Glut — all item with this attribute automaticaly add to [[:Category:Food]]
 +
*Energy
 +
*Health
 +
*Intoxication — all item with this attribute automaticaly add to [[:Category:Drink]]
 +
*Equipped
 +
*Size
 +
*Consumed — all item with this attribute automaticaly add to [[:Category:Tools]]
 +
*Effect
 +
 
 +
For Weapon:
 +
*Damage — all item with this attribute automaticaly add to [[:Category:Weapon]]
 +
*BluntDamage
 +
*CutDamage
 +
*BodyDamage
 +
*Reach
 +
*ArmorPenetration
 +
*Critical
 +
 
 +
For Armor:
 +
* Defense — all item with this attribute automaticaly add to [[:Category:Armor]]
 +
</noinclude><includeonly>
 
{{#if: {{{Image|}}} | {{{Image}}} | [[Category:ItemsNoImage]] }}
 
{{#if: {{{Image|}}} | {{{Image}}} | [[Category:ItemsNoImage]] }}
  
{{{Description}}}<br style='clear:both'/>
+
{{{Description}}}
 +
{{#if: {{{Sex|}}} | <br>This item only for '''{{{Sex}}}''' character! |}}<br style='clear:both'/>
  
 
{|class='item-details'
 
{|class='item-details'
Line 10: Line 41:
 
!Attribute
 
!Attribute
 
!Value
 
!Value
{{#if: {{{Weight|}}} | {{!}}- {{!}}Weight{{!}}-{{!}}{{{Weight}} |}}
+
|-
|Glut Restored
+
{{BaseRow|{{{Requires|}}}|Requires}}
|8%
+
{{BaseRow|{{{Requiredstrength|}}}|Required Strength}}
|-
+
{{BaseRow|{{{Weight|}}}|Weight}}
|Energy Restored
+
{{BaseRow|{{{Wearfactor|}}}|Wear Factor}}
|0%
+
{{BaseRow|{{{Sex|}}}|Sex}}
|-
+
{{BaseRow|{{{WeightStood|}}}|Weight Stood}}
|Health Restored
+
{{BaseRow|{{{Glut|}}}|Glut Restored}}
|0%
+
{{BaseRow|{{{Energy|}}}|Energy Restored}}
 +
{{BaseRow|{{{Health|}}}|Health Restored}}
 +
{{BaseRow|{{{Intoxication|}}}|Intoxication Level}}
 +
{{BaseRow|{{{Equipped|}}}|Equipped}}
 +
{{BaseRow|{{{Size|}}}|Size}}
 +
{{BaseRow|{{{Damage|}}}|Damage (min — max)}}
 +
{{BaseRow|{{{BluntDamage|}}}|Blunt damage}}
 +
{{BaseRow|{{{CutDamage|}}}|Cut Damage}}
 +
{{BaseRow|{{{BodyDamage|}}}|Body Damage}}
 +
{{BaseRow|{{{Reach|}}}|Reach}}
 +
{{BaseRow|{{{ArmorPenetration|}}}|Armor Penetration}}
 +
{{BaseRow|{{{Critical|}}}|Critical*}}
 +
{{BaseRow|{{{Defense|}}}|Defense Bonus}}
 +
{{BaseRow|{{{Consumed|}}}|Consumed}}
 +
{{BaseRow|{{{Effect|}}}|Effect}}
 
|}
 
|}
 +
{{#if: {{{Critical|}}} | * *Min roll to hit-damage multiplier |}} [[Category:Items]] {{#if: {{{Glut|}}} | [[Category:Food]] |}} {{#if: {{{Damage|}}} | [[Category:Weapon]] |}} {{#if: {{{Defense|}}} | [[Category:Armor]] |}} {{#if: {{{Intoxication|}}} | [[Category:Drink]] |}} {{#if: {{{Consumed|}}} | [[Category:Tools]] |}} </includeonly>

Latest revision as of 14:43, 17 September 2018

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
  • Requires
  • Requiredstrength
  • Wearfactor
  • Weight
  • Sex
  • WeightStood
  • Glut — all item with this attribute automaticaly add to Category:Food
  • Energy
  • Health
  • Intoxication — all item with this attribute automaticaly add to Category:Drink
  • Equipped
  • Size
  • Consumed — all item with this attribute automaticaly add to Category:Tools
  • Effect

For Weapon:

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

For Armor:

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