Difference between revisions of "Template:Food"

From Salem Wiki
Jump to: navigation, search
m (Reverted edits by Pistolshrimp (talk) to last revision by Vuh)
Tag: Rollback
Line 50: Line 50:
 
|[[Gluttony Time::{{{Gluttony Time}}}]]
 
|[[Gluttony Time::{{{Gluttony Time}}}]]
 
|}
 
|}
{| style="width:100%; border:black 1px solid; background:#4c4c4c; padding=10px; vertical-align:bottom; text-align:left; padding-left:0.2em;"
+
{| 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 Group:'''  {{#switch: {{{Food Groups|}}} | =None | {{TX|T5|{{{Food Groups}}} }} }}
+
| style="vertical-align:top; width:100px"|'''Food Groups:'''  {{#switch: {{{Food Groups|}}} | =None | {{TX|T5|{{{Food Groups}}} }} }}
 +
<!-- 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:{{{FoodReduce2}}} | {{!}}'''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 |}}
 +
<!-- 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]] |}}
 +
|}
 
|}
 
|}
 
{{#IFEQ: {{PAGENAME}} | Contributing | | [[Category:Snack Food]] [[Category:Food]]}}</includeonly>
 
{{#IFEQ: {{PAGENAME}} | Contributing | | [[Category:Snack Food]] [[Category:Food]]}}</includeonly>

Revision as of 22:13, 24 May 2024

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