Difference between revisions of "Template:VariableFoodCorn"

From Salem Wiki
Jump to: navigation, search
m
m (Beautify Infobox)
Line 54: Line 54:
 
<!-- Food Groups Row-->
 
<!-- Food Groups Row-->
 
|-
 
|-
| style="vertical-align:top; width:100px"|'''Food Groups:''' {{#switch: {{{Food Groups|}}} | =None | {{T5|{{{Food Groups}}} }} }}
+
| style="vertical-align:top; width:100px"|'''Food Groups:'''  
 +
| style="text-align:left" | {{#switch: {{{Food Groups|}}} | =None | {{T5|{{{Food Groups}}} }} }}
 
<!-- Food Group Reduction Rows-->
 
<!-- Food Group Reduction Rows-->
 
|-
 
|-
|{{#if:{{{FoodReduce1}}} | {{!}}'''Reduces:'''{{TIa|{{{FoodReduce1}}}}}[[Food Reduce1 Text::{{{FoodReduce1}}}]] by [[Food Reduce1 Percent::{{{%Reduce1}}}]]% with [[Food Reduce1 Chance::{{{%ChanceReduce1}}}]]% chance |}}
+
|{{#if:{{{FoodReduce1}}} | colspan=2 {{!}}'''Reduces'''{{TIa|{{{FoodReduce1}}}}}[[Food Reduce1 Text::{{{FoodReduce1}}}]] by [[Food Reduce1 Percent::{{{%Reduce1}}}]]% with [[Food Reduce1 Chance::{{{%ChanceReduce1}}}]]% chance |}}
 
|-
 
|-
|{{#if:{{{FoodReduce2}}} | {{!}}'''Reduces:'''{{TIa|{{{FoodReduce2}}}}}[[Food Reduce2 Text::{{{FoodReduce2}}}]] by [[Food Reduce2 Percent::{{{%Reduce2}}}]]% with [[Food Reduce2 Chance::{{{%ChanceReduce2}}}]]% chance |}}
+
|{{#if:{{{FoodReduce2}}} | colspan=2 {{!}}'''Reduces'''{{TIa|{{{FoodReduce2}}}}}[[Food Reduce2 Text::{{{FoodReduce2}}}]] by [[Food Reduce2 Percent::{{{%Reduce2}}}]]% with [[Food Reduce2 Chance::{{{%ChanceReduce2}}}]]% chance |}}
 
|-
 
|-
|{{#if:{{{FoodReduce3}}} | {{!}}'''Reduces:'''{{TIa|{{{FoodReduce3}}}}}[[Food Reduce3 Text::{{{FoodReduce3}}}]] by [[Food Reduce3 Percent::{{{%Reduce3}}}]]% with [[Food Reduce3 Chance::{{{%ChanceReduce3}}}]]% chance |}}
+
|{{#if:{{{FoodReduce3}}} | colspan=2 {{!}}'''Reduces'''{{TIa|{{{FoodReduce3}}}}}[[Food Reduce3 Text::{{{FoodReduce3}}}]] by [[Food Reduce3 Percent::{{{%Reduce3}}}]]% with [[Food Reduce3 Chance::{{{%ChanceReduce3}}}]]% chance |}}
 
<!-- Food Group Restore Rows-->
 
<!-- Food Group Restore Rows-->
 
|-
 
|-
|{{#if:{{{FoodRestore1}}} | {{!}}'''Restores:'''{{TIa|{{{FoodRestore1}}}}}[[Food Restore1 Text::{{{FoodRestore1}}}]] by [[Food Restore1 Percent::{{{%Restore1}}}]]% with [[Food Restore1 Chance::{{{%ChanceRestore1}}}]]% chance [[Category:Food That Restores Gluttony]] |}}
+
|{{#if:{{{FoodRestore1}}} | colspan=2 {{!}}'''Restores'''{{TIa|{{{FoodRestore1}}}}}[[Food Restore1 Text::{{{FoodRestore1}}}]] by [[Food Restore1 Percent::{{{%Restore1}}}]]% with [[Food Restore1 Chance::{{{%ChanceRestore1}}}]]% chance [[Category:Food That Restores Gluttony]] |}}
 
|}
 
|}
 
|-
 
|-

Revision as of 02:01, 10 January 2016

NOTE: This is a MODULAR template. It MUST be used after one the the following templates:

See Help:Contributing for instructions and examples for adding a new page to the wiki.

Healing:
Blood Phlegm Yellow Black
Heal: 1 2 3 4
Heal Uses: 42
Gluttony:
Blood Phlegm Yellow Black
Gluttony Min: 20 20 20 20
Gluttony Max: 22 22 22 22
Full and Fed Up for: 1:50
Food Groups: Template:T5
ReducesMaize icon.pngMaize by 95% with 10% chance
RestoresMushrooms icon.pngMushrooms by 5% with 30% chance
Variable Corn Gluttony Values:
Blood Phlegm Yellow Black
Yellow Corn Min: 10 10 10 22
Yellow Corn Max: 11 11 11 24.2
Blue Corn Min: 10 24 10 10
Blue Corn Max: 11 26.4 11 11
White Corn Min: 24 10 10 10
White Corn Max: 26.4 11 11 11
Golden Corn Min: 10 10 26 10
Golden Corn Max: 11 11 28.6 11


Code:
{{VariableFoodCorn
| Heals=,,,
| Uses=
| Min Blood= | Max Blood=
| Min Phlegm= | Max Phlegm=
| Min Yellow Bile= | Max Yellow Bile=
| Min Black Bile= | Max Black Bile=
| Gluttony Time=
| Food Groups=Maize
| FoodReduce1=Maize | %Reduce1= | %ChanceReduce1=
| FoodReduce2= | %Reduce2= | %ChanceReduce2=
| FoodReduce3= | %Reduce3= | %ChanceReduce3=
| FoodRestore1= |%Restore1= |%ChanceRestore1=
}}