Difference between revisions of "Template:Infobox Object"

From UnReal World Wiki
Jump to: navigation, search
m (Changed combat information to armor information for clothing)
 
(51 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:300px; vertical-align:top; border: 1px solid #663300; border-left-color:#663300; border-top-color:#663300;  text-align:left;" align="right"
+
{| class="infobox" align="right"  
! colspan="3" style="background-color:#307B30; color:#ffffff; font-size:120%; padding:1em; text-align:center;" | {{{name|{{PAGENAME}}}}}
+
! class="namebox bgimage9" colspan="3" | <span class="textshadow">{{{name|{{PAGENAME}}}}}</span>
 
|- style="text-align:center;"
 
|- style="text-align:center;"
| 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
 
|-
 
|-
! colspan="3" style="background-color:#663300; color:#ffffff; font-size:100%; text-align:center;" | Basic Information
 
|- style="vertical-align:top; text-align:left;"
 
 
| '''Cultures:'''
 
| '''Cultures:'''
| {{{cultures}}}
+
| style="width: 60%;"| {{{cultures}}}
 
|-
 
|-
 
| '''Weight:'''
 
| '''Weight:'''
Line 25: Line 25:
 
   {{$}} style="vertical-align:top;"
 
   {{$}} style="vertical-align:top;"
 
   {{!}} '''Clothing Type:'''   
 
   {{!}} '''Clothing Type:'''   
   {{!}} {{{bodyPart}}}
+
   {{!}} {{{clothingType}}}
 
   {{$}}
 
   {{$}}
 
   {{!}} '''Body Part:'''   
 
   {{!}} '''Body Part:'''   
 
   {{!}} {{{bodyPart}}}
 
   {{!}} {{{bodyPart}}}
 +
  {{$}}
 
}}
 
}}
 +
|-
 
{{#if: {{#ask: [[requires::{{PAGENAME}}]]}}  
 
{{#if: {{#ask: [[requires::{{PAGENAME}}]]}}  
 
  | {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
 
  | {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
Line 46: Line 48:
 
|-
 
|-
 
{{#ifeq: {{{weapon}}} | Yes |
 
{{#ifeq: {{{weapon}}} | Yes |
   ! colspan="3" style="background-color:#663300; color:#ffffff; text-align:center;" {{!}} Combat Information
+
   ! class="sectionbox" colspan="3" {{!}} Combat Information
 
   {{$}} style="vertical-align:top;"
 
   {{$}} style="vertical-align:top;"
 
   {{!}} '''Skill Required:'''   
 
   {{!}} '''Skill Required:'''   
Line 69: Line 71:
 
}}
 
}}
 
{{#ifeq: {{{clothing}}} | Yes |
 
{{#ifeq: {{{clothing}}} | Yes |
   ! colspan="3" style="background-color:#663300; color:#ffffff; text-align:center;" {{!}} 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 |
   ! colspan="3" style="background-color:#663300; color:#ffffff; text-align:center;" {{!}} Crafting Information
+
   ! class="sectionbox" colspan="3" {{!}} Crafting Information
 
   {{$}} style="vertical-align:top;"
 
   {{$}} style="vertical-align:top;"
 
   {{!}} '''Skills Required:'''
 
   {{!}} '''Skills Required:'''
Line 102: Line 268:
 
   {{!}} '''Tools Required:'''
 
   {{!}} '''Tools Required:'''
 
   {{!}} {{{tools}}}
 
   {{!}} {{{tools}}}
   {{$}}
+
   {{$}}
 +
  {{!}} '''Prefers:'''
 +
  {{!}} {{{prefers}}}
 +
  {{$}}
 
   {{!}} '''Ingredients:'''
 
   {{!}} '''Ingredients:'''
 
   {{!}} {{{ingredients}}}
 
   {{!}} {{{ingredients}}}
 
   {{$}}
 
   {{$}}
   {{!}} '''Initial Craft Time:'''
+
   {{!}} '''Craft Time:'''
 
   {{!}} {{{craftTime}}}
 
   {{!}} {{{craftTime}}}
 
   {{$}}  
 
   {{$}}  
Line 115: Line 284:
 
}}
 
}}
 
|}
 
|}
 +
[[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 01:22, 16 February 2017

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