Difference between revisions of "Template:Food"

From Salem Wiki
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|-
 
|-
 
|
 
|
{| style="width:100%; border:black 2px solid; background:#efebe5; padding=10px; vertical-align:bottom; text-align:center;"
+
{| style="width:100%; border:black 2px solid; background:#4c4c4c; padding=10px; vertical-align:bottom; text-align:center;"
 
!
 
!
 
! style="width:18%" |[[Blood]]
 
! style="width:18%" |[[Blood]]
Line 11: Line 11:
 
<!-- Heal Row-->
 
<!-- Heal Row-->
 
|- style="background:#FFFFFF; color:#000000"
 
|- style="background:#FFFFFF; color:#000000"
| style="background:#efebe5; text-align:right" | '''Heal:'''
+
| style="background:#4c4c4c; text-align:right" | '''Heal:'''
 
| [[Heals Blood::{{#explode: {{{Heals}}} |,| 0 }}]]
 
| [[Heals Blood::{{#explode: {{{Heals}}} |,| 0 }}]]
 
| [[Heals Phlegm::{{#explode: {{{Heals}}} |,| 1 }}]]
 
| [[Heals Phlegm::{{#explode: {{{Heals}}} |,| 1 }}]]
Line 18: Line 18:
  
 
|- style="background:#FFFFFF; color:#000000"
 
|- style="background:#FFFFFF; color:#000000"
| style="background:#efebe5; text-align:right" | '''Heal Uses:'''
+
| style="background:#4c4c4c; text-align:right" | '''Heal Uses:'''
 
|[[Heal Uses::{{{Uses}}}]]
 
|[[Heal Uses::{{{Uses}}}]]
 
|}
 
|}
Line 25: Line 25:
 
|-
 
|-
 
|
 
|
{| style="width:100%; border:black 2px solid; background:#efebe5; padding=10px; vertical-align:bottom; text-align:center;"
+
{| style="width:100%; border:black 2px solid; background:#4c4c4c; padding=10px; vertical-align:bottom; text-align:center;"
 
!
 
!
 
! style="width:18%" |[[Blood]]
 
! style="width:18%" |[[Blood]]
Line 34: Line 34:
 
<!-- Gluttony Values Rows-->
 
<!-- Gluttony Values Rows-->
 
|- style="background:#FFFFFF; color:#000000"
 
|- style="background:#FFFFFF; color:#000000"
| style="background:#efebe5; text-align:right" | '''[[Gluttony]] Min:'''
+
| style="background:#4c4c4c; text-align:right" | '''[[Gluttony]] Min:'''
 
| [[Gives Min Blood::{{{Min Blood}}}]]
 
| [[Gives Min Blood::{{{Min Blood}}}]]
 
| [[Gives Min Phlegm::{{{Min Phlegm}}}]]
 
| [[Gives Min Phlegm::{{{Min Phlegm}}}]]
Line 40: Line 40:
 
| [[Gives Min Black Bile::{{{Min Black Bile}}}]]
 
| [[Gives Min Black Bile::{{{Min Black Bile}}}]]
 
|- style="background:#FFFFFF; color:#000000"
 
|- style="background:#FFFFFF; color:#000000"
| style="background:#efebe5; text-align:right" | '''[[Gluttony]] Max:'''
+
| style="background:#4c4c4c; text-align:right" | '''[[Gluttony]] Max:'''
 
| [[Gives Max Blood::{{{Max Blood}}}]]
 
| [[Gives Max Blood::{{{Max Blood}}}]]
 
| [[Gives Max Phlegm::{{{Max Phlegm}}}]]
 
| [[Gives Max Phlegm::{{{Max Phlegm}}}]]
Line 47: Line 47:
  
 
|- style="background:#FFFFFF; color:#000000"
 
|- style="background:#FFFFFF; color:#000000"
| style="background:#efebe5; text-align:right" | '''Full and Fed Up for:'''
+
| style="background:#4c4c4c; text-align:right" | '''Full and Fed Up for:'''
 
|[[Gluttony Time::{{{Gluttony Time}}}]]
 
|[[Gluttony Time::{{{Gluttony Time}}}]]
 
|}
 
|}
{| style="width:100%; border:black 2px solid; background:#efebe5; padding=10px; vertical-align:bottom; text-align:left;"
+
{| style="width:100%; border:black 2px solid; background:#4c4c4c; padding=10px; vertical-align:bottom; text-align:left; padding-left:0.2em;"
 
<!-- 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:'''  {{#switch: {{{Food Groups|}}} | =None | {{TX|T5|{{{Food Groups}}} }} }}
 
<!-- Food Group Reduction Rows-->
 
<!-- Food Group Reduction Rows-->
 
|-
 
|-
Line 63: Line 63:
 
<!-- Food Group Restore Rows-->
 
<!-- Food Group Restore Rows-->
 
|-
 
|-
|{{#if:{{{Cake|}}} | | {{#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}}} | {{!}}'''Restores:'''{{TIa|{{{FoodRestore1}}}}}[[Food Restore1 Text::{{{FoodRestore1}}}]] by [[Food Restore1 Percent::{{{%Restore1}}}]]% with [[Food Restore1 Chance::{{{%ChanceRestore1}}}]]% chance [[Category:Food That Restores Gluttony]] |}}
 
|}
 
|}
 
|}
 
|}
Line 75: Line 75:
  
 
{| style="float:left; width:320px; padding:0.2em; border:black 2px solid; border-radius:0.4em; background:#71583b; font-family:Calibri; margin-right:25px"
 
{| style="float:left; width:320px; padding:0.2em; border:black 2px solid; border-radius:0.4em; background:#71583b; font-family:Calibri; margin-right:25px"
 
+
{{Food
{{Food | Cake=pie | Heals=1,2,3,4  | Uses=42 | Min Blood=5 | Max Blood=6 | Min Phlegm=7 | Max Phlegm=8 | Min Yellow Bile=0 | Max Yellow Bile=9 | Min Black Bile=1 | Max Black Bile=2 | Gluttony Time=1:50 |Food Groups= Game Meat | FoodReduce1= Nuts and Seeds | %Reduce1=95 | %ChanceReduce1=10 | FoodReduce2= Maize | %Reduce2=65 | %ChanceReduce2=20 | FoodReduce3=  | %Reduce3= | %ChanceReduce3= | FoodRestore1= Mushrooms |%Restore1=5 |%ChanceRestore1=30}}</noinclude>
+
| Heals=1,2,3,4   
 +
| Uses=42  
 +
| Min Blood=5 | Max Blood=6  
 +
| Min Phlegm=7 | Max Phlegm=8  
 +
| Min Yellow Bile=0 | Max Yellow Bile=9  
 +
| Min Black Bile=1 | Max Black Bile=2  
 +
| Gluttony Time=1:50  
 +
| Food Groups= Game Meat  
 +
| FoodReduce1= Nuts and Seeds | %Reduce1=95 | %ChanceReduce1=10  
 +
| FoodReduce2= Maize | %Reduce2=65 | %ChanceReduce2=20  
 +
| FoodReduce3=  | %Reduce3= | %ChanceReduce3=
 +
| FoodRestore1= Mushrooms |%Restore1=5 |%ChanceRestore1=30
 +
}}
 +
{|
 +
| style="vertical-align:top" |'''Code:'''
 +
----
 +
<pre>
 +
{{Food
 +
| 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=
 +
| FoodReduce1= | %Reduce1= | %ChanceReduce1=
 +
| FoodReduce2= | %Reduce2= | %ChanceReduce2=
 +
| FoodReduce3= | %Reduce3= | %ChanceReduce3=
 +
| FoodRestore1= |%Restore1= |%ChanceRestore1=
 +
}}</pre>
 +
|}
 +
</noinclude>

Latest revision as of 13:34, 28 October 2018

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: 5 7 0 1
Gluttony Max: 6 8 9 2
Full and Fed Up for: 1:50
Food Groups: Game Meat icon.pngGame Meat
Reduces:Nuts and Seeds icon.pngNuts and Seeds by 95% with 10% chance
Reduces:Maize icon.pngMaize by 65% with 20% chance
Restores:Mushrooms icon.pngMushrooms by 5% with 30% chance
Code:
{{Food
| 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=
| FoodReduce1= | %Reduce1= | %ChanceReduce1=
| FoodReduce2= | %Reduce2= | %ChanceReduce2=
| FoodReduce3= | %Reduce3= | %ChanceReduce3=
| FoodRestore1= |%Restore1= |%ChanceRestore1=
}}