Difference between revisions of "Template:Test"

From UnReal World Wiki
Jump to: navigation, search
(Undo revision 922 by Kuu Otava (talk))
 
(24 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:#663300; color:#ffffff; font-size:100%; 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 |
 
  {{$}} style="vertical-align:top;"
 
  {{!}} '''Clothing Type:''' 
 
  {{!}} {{{bodyPart}}}
 
  {{$}}
 
  {{!}} '''Body Part:''' 
 
  {{!}} {{{bodyPart}}}
 
}}
 
 
{{#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
 
|-
 
|-
{{#ifeq: {{{weapon}}} | Yes |
+
| '''Carb'''
  ! colspan="3" style="background-color:#663300; color:#ffffff; text-align:center;" {{!}} Combat Information
+
| '''{{{carb}}}'''
  {{$}} style="vertical-align:top;"
+
|-
  {{!}} '''Skill Required:'''
+
|style="width:150px;"| '''Fat'''
  {{!}} {{{combatSkill}}}
+
| '''{{{fat}}}'''
  {{$}}
+
|-
  {{!}} '''Blunt Damage:'''
+
| '''Protein'''
  {{!}} {{{blunt}}}
+
| '''{{{protein}}}'''
  {{$}}
+
|-
  {{!}} '''Edge Damage:'''
+
| '''Water'''
  {{!}} {{{edge}}}
+
| '''{{{water}}}'''
  {{$}}
+
|-
  {{!}} '''Point Damage:'''
+
{{#Ifeq: {{{type}}} | Mushroom
  {{!}} {{{point}}}
+
    | ! class="sectionbox" colspan="3" {{!}} Medicinal Info
  {{$}}  
+
      {{$}}
  {{!}} '''Attack Bonus:'''  
+
      {{!}} '''Poisonous:'''  
  {{!}} {{{attackBonus}}}
+
      {{!}} '''{{{poisonous}}}'''
  {{$}}
+
      {{$}}
  {{!}} '''Defense Bonus:'''  
+
      {{!}} '''Effects:'''
  {{!}} {{{defenseBonus}}}
+
      {{!}} '''{{{effects}}}'''
  {{$}}
+
    | {{#Ifeq: {{{type}}} | [[:Category:Herb{{!}}Herb]]
  |
+
          | class="sectionbox" colspan="3"" {{!}} '''Medicinal Info'''
 +
              {{$}}
 +
              {{!}} '''Poisonous:'''
 +
              {{!}} '''{{{poisonous}}}'''
 +
              {{$}}
 +
              {{!}} '''Effects Raw:'''
 +
              {{!}} '''{{{effects}}}'''
 +
              {{$}}
 +
              {{!}} '''Effects Boiled:'''
 +
              {{!}} '''{{{effectsBoiled}}}'''
 +
          |
 +
    }}
 
}}
 
}}
{{#ifeq: {{{clothing}}} | Yes |
+
{{#if: {{{ingredients|}}} |
   ! colspan="3" style="background-color:#663300; color:#ffffff; text-align:center;" {{!}} Combat Information
+
   ! class="sectionbox" colspan="3" {{!}} Recipe
 
   {{$}} style="vertical-align:top;"
 
   {{$}} style="vertical-align:top;"
   {{!}} '''Average Protection:'''
+
   {{!}} '''Ingredients:'''
  {{!}} {{{avgProtection}}}
+
   {{!}} '''{{{ingredients}}}'''
  {{$}}
+
   {{!}} '''Warmth Protection:'''
+
  {{!}} {{{warmthProtection}}}
+
  {{$}} 
+
  {{!}} '''Tear Protection:'''
+
  {{!}} {{{tearProtection}}}
+
 
   {{$}}  
 
   {{$}}  
   {{!}} '''Edge Protection:'''  
+
   {{!}} '''Tools Required:'''
   {{!}} {{{edgeProtection}}}
+
   {{!}} '''{{{tools}}}'''
 
   {{$}}
 
   {{$}}
   {{!}} '''Squeeze Protection:'''  
+
   {{!}} '''Process:'''
   {{!}} {{{squeezeProtection}}}
+
   {{!}} '''{{{process}}}'''
 
   {{$}}
 
   {{$}}
   {{!}} '''Point Protection:'''  
+
   {{!}} '''Prepare Time:'''
   {{!}} {{{pointProtection}}}
+
   {{!}} '''{{{prepareTime}}}'''
 
   {{$}}
 
   {{$}}
   {{!}} '''Blunt Protection:'''  
+
   {{!}} '''Cook Time:'''
   {{!}} {{{bluntProtection:}}}
+
   {{!}} '''{{{cookTime}}}'''
 
   {{$}}
 
   {{$}}
 
   |
 
   |
 
}}
 
}}
{{#ifeq: {{{craftable}}} | Yes |
 
  ! colspan="3" style="background-color:#663300; 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}}}
 
  {{$}}
 
|
 
}}
 
|}
 

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}}}