Difference between revisions of "Template:Infobox Object"

From UnReal World Wiki
Jump to: navigation, search
m (Changed combat information to armor information for clothing)
 
(20 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
! class="namebox bgimage9" colspan="3" | <span class="textshadow">{{{name|{{PAGENAME}}}}}</span>
 
! class="namebox bgimage9" colspan="3" | <span class="textshadow">{{{name|{{PAGENAME}}}}}</span>
 
|- style="text-align:center;"
 
|- style="text-align:center;"
| class="bgimage1"  colspan="3" style="padding:0.5em" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption| }}}''
+
| class="imagebox"  colspan="3" style="padding:0.5em" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption| }}}''
 
|-
 
|-
 
! class="sectionbox" colspan="3" | Basic Info
 
! class="sectionbox" colspan="3" | Basic Info
Line 25: Line 25:
 
   {{$}} style="vertical-align:top;"
 
   {{$}} style="vertical-align:top;"
 
   {{!}} '''Clothing Type:'''   
 
   {{!}} '''Clothing Type:'''   
   {{!}} {{{bodyPart}}}
+
   {{!}} {{{clothingType}}}
 
   {{$}}
 
   {{$}}
 
   {{!}} '''Body Part:'''   
 
   {{!}} '''Body Part:'''   
Line 71: Line 71:
 
}}
 
}}
 
{{#ifeq: {{{clothing}}} | Yes |
 
{{#ifeq: {{{clothing}}} | Yes |
   ! class="sectionbox" colspan="3" {{!}} Combat Information
+
<!-- Add material protection values here, so when they change, all the individual pages don't need to be edited -->
 +
{{#switch: {{{Material}}}
 +
| Fur =   ! class="sectionbox" colspan="3" {{!}} Armor information
 
   {{$}} style="vertical-align:top;"
 
   {{$}} style="vertical-align:top;"
   {{!}} '''Average Protection:'''
+
   {{!}} '''Warmth:'''
   {{!}} {{{avgProtection}}}
+
  {{!}} 5
 +
  {{$}} 
 +
  {{!}} '''Tear Protection:'''
 +
   {{!}} 3
 +
  {{$}}
 +
  {{!}} '''Edge Protection:'''
 +
  {{!}} 3
 
   {{$}}
 
   {{$}}
   {{!}} '''Warmth Protection:'''
+
   {{!}} '''Squeeze Protection:'''  
   {{!}} {{{warmthProtection}}}
+
   {{!}} 2
 +
  {{$}}
 +
  {{!}} '''Point Protection:'''
 +
  {{!}} 2
 +
  {{$}}
 +
  {{!}} '''Blunt Protection:'''
 +
  {{!}} 5
 +
  {{$}}
 +
  {{!}} '''Average:'''
 +
  {{!}} 3.3
 +
  {{$}}
 +
| Wool =    ! class="sectionbox" colspan="3" {{!}} Armor information
 +
  {{$}} style="vertical-align:top;"
 +
  {{!}} '''Warmth:'''
 +
  {{!}} 4
 
   {{$}}   
 
   {{$}}   
 
   {{!}} '''Tear Protection:'''
 
   {{!}} '''Tear Protection:'''
   {{!}} {{{tearProtection}}}
+
   {{!}} 2
 
   {{$}}  
 
   {{$}}  
 
   {{!}} '''Edge Protection:'''  
 
   {{!}} '''Edge Protection:'''  
   {{!}} {{{edgeProtection}}}
+
   {{!}} 2
 
   {{$}}
 
   {{$}}
 
   {{!}} '''Squeeze Protection:'''  
 
   {{!}} '''Squeeze Protection:'''  
   {{!}} {{{squeezeProtection}}}
+
   {{!}} 1
 
   {{$}}
 
   {{$}}
 
   {{!}} '''Point Protection:'''  
 
   {{!}} '''Point Protection:'''  
   {{!}} {{{pointProtection}}}
+
   {{!}} 1
 
   {{$}}
 
   {{$}}
 
   {{!}} '''Blunt Protection:'''  
 
   {{!}} '''Blunt Protection:'''  
   {{!}} {{{bluntProtection:}}}
+
   {{!}} 2
 
   {{$}}
 
   {{$}}
   |
+
   {{!}} '''Average:'''
 +
  {{!}} 2
 +
  {{$}}
 +
| Leather =    ! class="sectionbox" colspan="3" {{!}} Armor information
 +
  {{$}} style="vertical-align:top;"
 +
  {{!}} '''Warmth:'''
 +
  {{!}} 2
 +
  {{$}} 
 +
  {{!}} '''Tear Protection:'''
 +
  {{!}} 3
 +
  {{$}}
 +
  {{!}} '''Edge Protection:'''
 +
  {{!}} 3
 +
  {{$}}
 +
  {{!}} '''Squeeze Protection:'''
 +
  {{!}} 1
 +
  {{$}}
 +
  {{!}} '''Point Protection:'''
 +
  {{!}} 3
 +
  {{$}}
 +
  {{!}} '''Blunt Protection:'''
 +
  {{!}} 1
 +
  {{$}}
 +
  {{!}} '''Average:'''
 +
  {{!}} 2.2
 +
  {{$}}
 +
| Nettle|Linen =    ! class="sectionbox" colspan="3" {{!}} Armor information
 +
  {{$}} style="vertical-align:top;"
 +
  {{!}} '''Warmth:'''
 +
  {{!}} 3
 +
  {{$}} 
 +
  {{!}} '''Tear Protection:'''
 +
  {{!}} 2
 +
  {{$}}
 +
  {{!}} '''Edge Protection:'''
 +
  {{!}} 2
 +
  {{$}}
 +
  {{!}} '''Squeeze Protection:'''
 +
  {{!}} 0
 +
  {{$}}
 +
  {{!}} '''Point Protection:'''
 +
  {{!}} 1
 +
  {{$}}
 +
  {{!}} '''Blunt Protection:'''
 +
  {{!}} 0
 +
  {{$}}
 +
  {{!}} '''Average:'''
 +
  {{!}} 1.3
 +
  {{$}}
 +
| Iron =    ! class="sectionbox" colspan="3" {{!}} Armor information
 +
  {{$}} style="vertical-align:top;"
 +
  {{!}} '''Warmth:'''
 +
  {{!}} 2
 +
  {{$}} 
 +
  {{!}} '''Tear Protection:'''
 +
  {{!}} 9
 +
  {{$}}
 +
  {{!}} '''Edge Protection:'''
 +
  {{!}} 10
 +
  {{$}}
 +
  {{!}} '''Squeeze Protection:'''
 +
  {{!}} 6
 +
  {{$}}
 +
  {{!}} '''Point Protection:'''
 +
  {{!}} 8
 +
  {{$}}
 +
  {{!}} '''Blunt Protection:'''
 +
  {{!}} 7
 +
  {{$}}
 +
  {{!}} '''Average:'''
 +
  {{!}} 7
 +
  {{$}}
 +
| Lamellar =    ! class="sectionbox" colspan="3" {{!}} Armor information
 +
  {{$}} style="vertical-align:top;"
 +
  {{!}} '''Warmth:'''
 +
  {{!}} 2
 +
  {{$}} 
 +
  {{!}} '''Tear Protection:'''
 +
  {{!}} 8
 +
  {{$}}
 +
  {{!}} '''Edge Protection:'''
 +
  {{!}} 9
 +
  {{$}}
 +
  {{!}} '''Squeeze Protection:'''
 +
  {{!}} 4
 +
  {{$}}
 +
  {{!}} '''Point Protection:'''
 +
  {{!}} 5
 +
  {{$}}
 +
  {{!}} '''Blunt Protection:'''
 +
  {{!}} 5
 +
  {{$}}
 +
  {{!}} '''Average:'''
 +
  {{!}} 5.5
 +
  {{$}}
 +
| Mail =    ! class="sectionbox" colspan="3" {{!}} Armor information
 +
  {{$}} style="vertical-align:top;"
 +
  {{!}} '''Warmth:'''
 +
  {{!}} 2
 +
  {{$}} 
 +
  {{!}} '''Tear Protection:'''
 +
  {{!}} 7
 +
  {{$}}
 +
  {{!}} '''Edge Protection:'''
 +
  {{!}} 8
 +
  {{$}}
 +
  {{!}} '''Squeeze Protection:'''
 +
  {{!}} 2
 +
  {{$}}
 +
  {{!}} '''Point Protection:'''
 +
  {{!}} 5
 +
  {{$}}
 +
  {{!}} '''Blunt Protection:'''
 +
  {{!}} 2
 +
  {{$}}
 +
  {{!}} '''Average:'''
 +
  {{!}} 4.3
 +
  {{$}}
 +
| Birch =    ! class="sectionbox" colspan="3" {{!}} Armor information
 +
  {{$}} style="vertical-align:top;"
 +
  {{!}} '''Warmth:'''
 +
  {{!}} 1
 +
  {{$}} 
 +
  {{!}} '''Tear Protection:'''
 +
  {{!}} 2
 +
  {{$}}
 +
  {{!}} '''Edge Protection:'''
 +
  {{!}} 2
 +
  {{$}}
 +
  {{!}} '''Squeeze Protection:'''
 +
  {{!}} 1
 +
  {{$}}
 +
  {{!}} '''Point Protection:'''
 +
  {{!}} 1
 +
  {{$}}
 +
  {{!}} '''Blunt Protection:'''
 +
  {{!}} 1
 +
  {{$}}
 +
  {{!}} '''Average:'''
 +
  {{!}} 1.3
 +
  {{$}}
 +
|
 +
}}
 
}}
 
}}
 
{{#ifeq: {{{craftable}}} | Yes |
 
{{#ifeq: {{{craftable}}} | Yes |
Line 104: Line 268:
 
   {{!}} '''Tools Required:'''
 
   {{!}} '''Tools Required:'''
 
   {{!}} {{{tools}}}
 
   {{!}} {{{tools}}}
   {{$}}
+
   {{$}}
 +
  {{!}} '''Prefers:'''
 +
  {{!}} {{{prefers}}}
 +
  {{$}}
 
   {{!}} '''Ingredients:'''
 
   {{!}} '''Ingredients:'''
 
   {{!}} {{{ingredients}}}
 
   {{!}} {{{ingredients}}}
Line 118: Line 285:
 
|}
 
|}
 
[[Category:Object]]
 
[[Category:Object]]
 +
{{#ifeq: {{{weapon}}} | Yes |
 +
  [[Category:Weapon]]
 +
  {{#switch: {{{combatSkill}}}
 +
      | [[requires::Axe_(Skill){{!}}Axe]]
 +
      | [[requires::Axe (Skill){{!}}Axe]] = [[Category:Axe]]
 +
      | [[requires::Sword_(Skill){{!}}Sword]]
 +
      | [[requires::Sword (Skill){{!}}Sword]] = [[Category:Sword]]
 +
      | [[requires::Dagger_(Skill){{!}}Dagger]]
 +
      | [[requires::Dagger (Skill){{!}}Dagger]] = [[Category:Dagger]]
 +
      | [[requires::Bow_(Skill){{!}}Bow]]
 +
      | [[requires::Bow (Skill){{!}}Bow]] = [[Category:Bow]]
 +
      | [[requires::Spear_(Skill){{!}}Spear]]
 +
      | [[requires::Spear (Skill){{!}}Spear]] = [[Category:Spear]]
 +
      | [[requires::Flail_(Skill){{!}}Flail]]
 +
      | [[requires::Flail (Skill){{!}}Flail]] = [[Category:Flail]]
 +
      | [[requires::Club_(Skill){{!}}Club]]
 +
      | [[requires::Club (Skill){{!}}Club]] = [[Category:Club]]
 +
  }}
 +
}}
 +
{{#ifeq: {{{clothing}}} | Yes | [[Category:Clothing]] | }}

Latest revision as of 02:22, 16 February 2017

Infobox Object
File:Infobox Object.png
Basic Info
Cultures: {{{cultures}}}
Weight: {{{weight}}}
Trade Value: {{{value}}}
Flammable: {{{flammable}}}