Difference between revisions of "Template:Test"

From UnReal World Wiki
Jump to: navigation, search
(Undo revision 922 by Kuu Otava (talk))
 
(28 intermediate revisions by one user not shown)
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:300px; vertical-align:top; 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 bgimage6" colspan="3" |<div class="textshadow"> {{{name|{{PAGENAME}}}}} </div>
 
|- style="text-align:center;"
 
|- style="text-align:center;"
| colspan="3" style="padding:0.5em;" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption| }}}''
+
| class="bgimage"  colspan="3" style="padding:0.5em" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption| }}}''
 
|-
 
|-
! colspan="3" style="background-color:#307B30; color:#ffffff; font-size:100%; padding:1em; text-align:center;" | Basic Information
+
! class="sectionbox" colspan="3" | Basic Info
|- style="vertical-align:top; text-align:left;"
+
|-  
| '''Cultures:'''
+
| '''Type:'''
| {{{cultures}}}
+
| '''{{{type}}}'''
 
|-
 
|-
 
| '''Weight:'''
 
| '''Weight:'''
| {{{weight}}}
+
| '''{{{weight}}}'''
 +
|-
 +
| '''Source:'''
 +
| '''{{{source}}}'''
 
|-
 
|-
 
| '''Trade Value:'''
 
| '''Trade Value:'''
| {{{value}}}
+
| '''{{{value}}}'''
 
|-
 
|-
| '''Flammable:'''
+
| '''Spoil Time:'''
| {{{flammable}}}
+
| '''{{{spoilTime}}}'''
{{#ifeq: {{{flammable}}} | Yes |
+
    {{$}}
+
    {{!}} '''Burn Duration:'''
+
    {{!}} {{{burnTime}}} |
+
}}
+
{{#ifeq: {{{clothing}}} | Yes |
+
  ! colspan="3" style="background-color:#307B30; color:#ffffff; text-align:center;" {{!}} Combat Information
+
  {{$}} style="vertical-align:top;"
+
  {{!}} '''Clothing Type:''' 
+
  {{!}} {{{bodyPart}}}
+
  {{$}}
+
  {{!}} '''Body Part:''' 
+
  {{!}} {{{bodyPart}}}
+
  {{$}}
+
}}
+
 
|-
 
|-
{{#ifeq: {{{weapon}}} | Yes |
 
  ! colspan="3" style="background-color:#307B30; color:#ffffff; text-align:center;" {{!}} Combat Information
 
  {{$}} style="vertical-align:top;"
 
  {{!}} '''Skill Required:''' 
 
  {{!}} {{{combatSkill}}}
 
  {{$}}
 
  {{!}} '''Blunt Damage:'''
 
  {{!}} {{{blunt}}}
 
  {{$}}
 
  {{!}} '''Edge Damage:'''
 
  {{!}} {{{edge}}}
 
  {{$}} 
 
  {{!}} '''Point Damage:'''
 
  {{!}} {{{point}}}
 
  {{$}}
 
  {{!}} '''Attack Bonus:'''
 
  {{!}} {{{attackBonus}}}
 
  {{$}}
 
  {{!}} '''Defense Bonus:'''
 
  {{!}} {{{defenseBonus}}}
 
  {{$}}
 
  |
 
}}
 
{{#ifeq: {{{clothing}}} | Yes |
 
  ! colspan="3" style="background-color:#307B30; 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 |
 
  ! colspan="3" style="background-color:#307B30; color:#ffffff; text-align:center;" {{!}} Crafting Information
 
  {{$}} style="vertical-align:top;"
 
  {{!}} '''Skills Required:'''
 
  {{!}} {{{craftSkills}}}
 
  {{$}}
 
  {{!}} '''Tools Required:'''
 
  {{!}} {{{tools}}}
 
  {{$}} 
 
  {{!}} '''Ingredients:'''
 
  {{!}} {{{ingredients}}}
 
  {{$}}
 
  {{!}} '''Initial Craft Time:'''
 
  {{!}} {{{craftTime}}}
 
  {{$}}
 
  {{!}} '''Finish Time:'''
 
  {{!}} {{{finishTime}}}
 
  {{$}}
 
|
 
}}
 
 
 
{{#if: {{#ask: [[requires::{{PAGENAME}}]]}}  
 
{{#if: {{#ask: [[requires::{{PAGENAME}}]]}}  
 
  | {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
 
  | {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
     | {{!}} colspan=2 {{!}} {{#ask: [[requires::{{PAGENAME}}]]}}, and {{#ask: [[requires::{{#show: {{PAGENAME}} | ?specific | link=none}}]]}}
+
     | {{!}} colspan=2 {{!}} '''{{#ask: [[requires::{{PAGENAME}}]]}}, and {{#ask: [[requires::{{#show: {{PAGENAME}}''' | ?specific | link=none}}]]}}
 
       {{!}}-
 
       {{!}}-
 
     | {{!}} '''Required By:'''
 
     | {{!}} '''Required By:'''
       {{!}}  colspan=2 {{!}} {{#ask: [[requires::{{PAGENAME}}]]}}
+
       {{!}}  colspan=2 {{!}} '''{{#ask: [[requires::{{PAGENAME}}]]}}'''
 
       {{!}}-
 
       {{!}}-
 
   }}
 
   }}
 
  | {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
 
  | {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
 
     | {{!}} '''Required By:'''
 
     | {{!}} '''Required By:'''
       {{!}}  colspan=2 {{!}} {{#ask:[[requires::{{#show: {{PAGENAME}} | ?specific | link=none}}]]}}
+
       {{!}}  colspan=2 {{!}} '''{{#ask:[[requires::{{#show: {{PAGENAME}}''' | ?specific | link=none}}]]}}
 
       {{!}}-
 
       {{!}}-
 
   }}
 
   }}
 
}}
 
}}
|}
+
! class="sectionbox" colspan="3" | Nutrition
 +
|-
 +
| '''Carb'''
 +
| '''{{{carb}}}'''
 +
|-
 +
|style="width:150px;"| '''Fat'''
 +
| '''{{{fat}}}'''
 +
|-
 +
| '''Protein'''
 +
| '''{{{protein}}}'''
 +
|-
 +
| '''Water'''
 +
| '''{{{water}}}'''
 +
|-
 +
{{#Ifeq: {{{type}}} | Mushroom
 +
    | ! class="sectionbox" colspan="3" {{!}} Medicinal Info
 +
      {{$}}
 +
      {{!}} '''Poisonous:'''
 +
      {{!}} '''{{{poisonous}}}'''
 +
      {{$}}
 +
      {{!}} '''Effects:'''
 +
      {{!}} '''{{{effects}}}'''
 +
    | {{#Ifeq: {{{type}}} | [[:Category:Herb{{!}}Herb]]
 +
          | class="sectionbox" colspan="3"" {{!}} '''Medicinal Info'''
 +
              {{$}}
 +
              {{!}} '''Poisonous:'''
 +
              {{!}} '''{{{poisonous}}}'''
 +
              {{$}}
 +
              {{!}} '''Effects Raw:'''
 +
              {{!}} '''{{{effects}}}'''
 +
              {{$}}
 +
              {{!}} '''Effects Boiled:'''
 +
              {{!}} '''{{{effectsBoiled}}}'''
 +
          |
 +
    }}
 +
}}
 +
{{#if: {{{ingredients|}}} |
 +
  !  class="sectionbox" colspan="3" {{!}} Recipe
 +
  {{$}} style="vertical-align:top;"
 +
  {{!}} '''Ingredients:'''
 +
  {{!}} '''{{{ingredients}}}'''
 +
  {{$}}
 +
  {{!}} '''Tools Required:'''
 +
  {{!}} '''{{{tools}}}'''
 +
  {{$}}
 +
  {{!}} '''Process:'''
 +
  {{!}} '''{{{process}}}'''
 +
  {{$}}
 +
  {{!}} '''Prepare Time:'''
 +
  {{!}} '''{{{prepareTime}}}'''
 +
  {{$}}
 +
  {{!}} '''Cook Time:'''
 +
  {{!}} '''{{{cookTime}}}'''
 +
  {{$}}
 +
  |
 +
}}

Latest revision as of 04:11, 26 September 2014

Test
File:Test.png
Basic Info
Type: {{{type}}}
Weight: {{{weight}}}
Source: {{{source}}}
Trade Value: {{{value}}}
Spoil Time: {{{spoilTime}}}
Nutrition
Carb {{{carb}}}
Fat {{{fat}}}
Protein {{{protein}}}
Water {{{water}}}