Difference between revisions of "Template:Infobox Object"

From UnReal World Wiki
Jump to: navigation, search
Line 4: Line 4:
 
| colspan="3" style="padding:0.5em;" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption| }}}''
 
| colspan="3" style="padding:0.5em;" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption| }}}''
 
|-
 
|-
! colspan="3" style="background-color:#307B30; color:#ffffff; vertical-align:top; text-align:center;" | 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;"
 
|- style="vertical-align:top; text-align:left;"
 
| '''Cultures:'''
 
| '''Cultures:'''
Line 17: Line 17:
 
| '''Flammable:'''
 
| '''Flammable:'''
 
| {{{flammable}}}
 
| {{{flammable}}}
 +
|-
 
{{#ifeq: {{{flammable}}} | Yes |  
 
{{#ifeq: {{{flammable}}} | Yes |  
    {{$}}
 
 
     {{!}} '''Burn Duration:'''
 
     {{!}} '''Burn Duration:'''
 
     {{!}} {{{burnTime}}} |
 
     {{!}} {{{burnTime}}} |
 
}}
 
}}
|-
+
{{#ifeq: {{{clothing}}} | Yes |
| '''Weapon:'''
+
  {{$}} style="vertical-align:top;"
| {{{weapon}}}
+
  {{!}} '''Clothing Type:'''
|-
+
  {{!}} {{{bodyPart}}}
| '''Craftable:'''
+
  {{$}}
| {{{craftable}}}
+
  {{!}} '''Body Part:''' 
 +
  {{!}} {{{bodyPart}}}
 +
}}
 +
{{#if: {{#ask: [[requires::{{PAGENAME}}]]}}
 +
| {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
 +
    | {{!}} colspan=2 {{!}} {{#ask: [[requires::{{PAGENAME}}]]}}, and {{#ask: [[requires::{{#show: {{PAGENAME}} | ?specific | link=none}}]]}}
 +
      {{!}}-
 +
    | {{!}} '''Required By:'''
 +
      {{!}}  colspan=2 {{!}} {{#ask: [[requires::{{PAGENAME}}]]}}
 +
      {{!}}-
 +
  }}
 +
| {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
 +
    | {{!}} '''Required By:'''
 +
      {{!}}  colspan=2 {{!}} {{#ask:[[requires::{{#show: {{PAGENAME}} | ?specific | link=none}}]]}}
 +
      {{!}}-
 +
  }}
 +
}}
 
|-
 
|-
 
{{#ifeq: {{{weapon}}} | Yes |
 
{{#ifeq: {{{weapon}}} | Yes |
   ! colspan="3" style="background-color:#307B30; color:#ffffff; text-align:center;" {{!}} Combat Information
+
   ! colspan="3" style="background-color:#663300; color:#ffffff; text-align:center;" {{!}} Combat Information
 
   {{$}} style="vertical-align:top;"
 
   {{$}} style="vertical-align:top;"
 
   {{!}} '''Skill Required:'''   
 
   {{!}} '''Skill Required:'''   
Line 49: Line 65:
 
   {{!}} '''Defense Bonus:'''  
 
   {{!}} '''Defense Bonus:'''  
 
   {{!}} {{{defenseBonus}}}
 
   {{!}} {{{defenseBonus}}}
 +
  {{$}}
 +
  |
 +
}}
 +
{{#ifeq: {{{clothing}}} | Yes |
 +
  ! colspan="3" style="background-color:#663300; color:#ffffff; text-align:center;" {{!}} Combat Information
 +
  {{$}} style="vertical-align:top;"
 +
  {{!}} '''Average Protection:'''
 +
  {{!}} {{{avgProtection}}}
 +
  {{$}}
 +
  {{!}} '''Warmth Protection:'''
 +
  {{!}} {{{warmthProtection}}}
 +
  {{$}} 
 +
  {{!}} '''Tear Protection:'''
 +
  {{!}} {{{tearProtection}}}
 +
  {{$}}
 +
  {{!}} '''Edge Protection:'''
 +
  {{!}} {{{edgeProtection}}}
 +
  {{$}}
 +
  {{!}} '''Squeeze Protection:'''
 +
  {{!}} {{{squeezeProtection}}}
 +
  {{$}}
 +
  {{!}} '''Point Protection:'''
 +
  {{!}} {{{pointProtection}}}
 +
  {{$}}
 +
  {{!}} '''Blunt Protection:'''
 +
  {{!}} {{{bluntProtection:}}}
 
   {{$}}
 
   {{$}}
 
   |
 
   |
 
}}
 
}}
 
{{#ifeq: {{{craftable}}} | Yes |
 
{{#ifeq: {{{craftable}}} | Yes |
   ! colspan="3" style="background-color:#307B30; color:#ffffff; text-align:center;" {{!}} Crafting Information
+
   ! colspan="3" style="background-color:#663300; color:#ffffff; text-align:center;" {{!}} Crafting Information
 
   {{$}} style="vertical-align:top;"
 
   {{$}} style="vertical-align:top;"
 
   {{!}} '''Skills Required:'''
 
   {{!}} '''Skills Required:'''
Line 71: Line 113:
 
   {{$}}
 
   {{$}}
 
|
 
|
}}
 
{{#if: {{#ask: [[requires::{{PAGENAME}}]]}}
 
| {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
 
    | {{!}} colspan=2 {{!}} {{#ask: [[requires::{{PAGENAME}}]]}}, and {{#ask: [[requires::{{#show: {{PAGENAME}} | ?specific | link=none}}]]}}
 
      {{!}}-
 
    | {{!}} '''Required By:'''
 
      {{!}}  colspan=2 {{!}} {{#ask: [[requires::{{PAGENAME}}]]}}
 
      {{!}}-
 
  }}
 
| {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
 
    | {{!}} '''Required By:'''
 
      {{!}}  colspan=2 {{!}} {{#ask:[[requires::{{#show: {{PAGENAME}} | ?specific | link=none}}]]}}
 
      {{!}}-
 
  }}
 
 
}}
 
}}
 
|}
 
|}

Revision as of 23:55, 23 September 2014

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