Difference between revisions of "Template:Test"

From UnReal World Wiki
Jump to: navigation, search
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:300px; vertical-align:top; text-align:left;" align="right"
+
{| class="infobox" style="background-color:#DE9D5C; font-size:89%; width:300px; vertical-align:top; border: 3px solid #307B30; border-left-color:#307B30; border-top-color:#307B30;  text-align:left;" align="right"
! colspan="3" style="background-color:#307B30; color:#ffffff; font-size:120%; padding:1em; text-align:center;" | {{{name|{{PAGENAME}}}}}
+
! colspan="3" style="border: 3px solid #663300; border-left-color:#663300; border-top-color:#663300; background-color:#307B30; color:#ffffff; font-size:120%; padding:1em; text-align:center;" | {{{name|{{PAGENAME}}}}}
 
|- style="text-align:center;"
 
|- style="text-align:center;"
| colspan="3" style="padding:0.5em;" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption| }}}''
+
| colspan="3" style="background-color:#000000; 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
+
! colspan="3" style="background-color:#663300; color:#ffffff; font-size:100%; text-align:center;" | Basic Info
 
|- style="vertical-align:top; text-align:left;"
 
|- 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}}
Line 44: Line 35:
 
   }}
 
   }}
 
}}
 
}}
 +
! colspan="3" style="background-color:#663300; color:#ffffff; font-size:100%; text-align:center;" | 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}}}
+
    | ! colspan="3" style="background-color:#663300; color:#ffffff; font-size:100%; text-align:center;" {{!}} Medicinal Info
  {{$}}  
+
      {{$}}
  {{!}} '''Attack Bonus:'''
+
      {{!}} Poisonous:  
  {{!}} {{{attackBonus}}}
+
      {{!}} {{{poisonous}}}
  {{$}}
+
      {{$}}
  {{!}} '''Defense Bonus:'''
+
      {{!}} Effects:
  {{!}} {{{defenseBonus}}}
+
      {{!}} {{{effects}}}
  {{$}}
+
    | {{#Ifeq: {{{type}}} | [[:Category:Herb{{!}}Herb]]
  |
+
          |  ! colspan="3" style=background-color:#663300; color:#ffffff; font-size:100%; text-align:center;" {{!}} 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
+
   ! colspan="3" style="background-color:#663300; color:#ffffff; font-size:100%; text-align:center;" {{!}} 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}}}
 
  {{$}}
 
|
 
 
}}
 
}}
 
|}
 
|}

Revision as of 12:44, 24 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}}}