Difference between revisions of "Template:VariableFoodIngredients"
From Salem Wiki
m |
Pistolshrimp (talk | contribs) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>|- |
− | |- | ||
! style="color:white; font-size:1.4em" | '''Healing:''' | ! style="color:white; font-size:1.4em" | '''Healing:''' | ||
|- | |- | ||
| | | | ||
− | {| style="width:100%; border:black 2px solid; background:# | + | {| 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 12: | Line 11: | ||
<!-- Heal Row--> | <!-- Heal Row--> | ||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right;color:#c1c1c1" | '''Heal:''' |
| [[Heals Blood::{{#explode: {{{Heals}}} |,| 0 }}]] | | [[Heals Blood::{{#explode: {{{Heals}}} |,| 0 }}]] | ||
| [[Heals Phlegm::{{#explode: {{{Heals}}} |,| 1 }}]] | | [[Heals Phlegm::{{#explode: {{{Heals}}} |,| 1 }}]] | ||
Line 19: | Line 18: | ||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right;color:#c1c1c1" | '''Heal Uses:''' |
|[[Heal Uses::{{{Uses}}}]] | |[[Heal Uses::{{{Uses}}}]] | ||
|} | |} | ||
Line 26: | Line 25: | ||
|- | |- | ||
| | | | ||
− | {| style="width:100%; border:black 2px solid; background:# | + | {| 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 35: | Line 34: | ||
<!-- Gluttony Values Rows--> | <!-- Gluttony Values Rows--> | ||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right;color:#c1c1c1" | '''[[Gluttony]] Min:''' |
| [[Gives Min Blood::{{{Min Blood}}}]] | | [[Gives Min Blood::{{{Min Blood}}}]] | ||
| [[Gives Min Phlegm::{{{Min Phlegm}}}]] | | [[Gives Min Phlegm::{{{Min Phlegm}}}]] | ||
Line 41: | 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:# | + | | style="background:#4c4c4c; text-align:right;color:#c1c1c1" | '''[[Gluttony]] Max:''' |
| [[Gives Max Blood::{{{Max Blood}}}]] | | [[Gives Max Blood::{{{Max Blood}}}]] | ||
| [[Gives Max Phlegm::{{{Max Phlegm}}}]] | | [[Gives Max Phlegm::{{{Max Phlegm}}}]] | ||
Line 48: | Line 47: | ||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right;color:#c1c1c1" | '''Full and Fed Up for:''' |
|[[Gluttony Time::{{{Gluttony Time}}}]] | |[[Gluttony Time::{{{Gluttony Time}}}]] | ||
|} | |} | ||
− | {| style="width:100%; border:black 2px solid; background:# | + | {| style="width:100%; border:black 2px solid; background:#4c4c4c; padding=10px; vertical-align:bottom; text-align:left;" |
<!-- Food Groups Row--> | <!-- Food Groups Row--> | ||
|- | |- | ||
| style="vertical-align:top; width:100px"|'''Food Groups:''' | | style="vertical-align:top; width:100px"|'''Food Groups:''' | ||
− | | style="text-align:left" | {{#switch: {{{Food Groups|}}} | =None | {{T5|{{{Food Groups}}} }} | + | | style="text-align:left" | {{#switch: {{{Food Groups|}}} | =None | {{TX|T5|{{{Food Groups}}} }} }} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
<!-- Variable Values for Variable Food--> | <!-- Variable Values for Variable Food--> | ||
− | {| style="width:100%; border:black 2px solid; background:# | + | {| style="width:100%; border:black 2px solid; background:#4c4c4c; padding=10px; vertical-align:bottom; text-align:center;" |
− | |- | + | |- style="text-align:left" |
− | + | !colspan=5 | Values when used in [[Variable Food]] : | |
|- | |- | ||
! | ! | ||
Line 74: | Line 67: | ||
! style="width:18%" |[[Black Bile|Black]] | ! style="width:18%" |[[Black Bile|Black]] | ||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right;color:#c1c1c1" | '''Variable Food Multiplier:''' |
| [[Variable Food Value Blood::{{{Variable Blood}}}]] | | [[Variable Food Value Blood::{{{Variable Blood}}}]] | ||
| [[Variable Food Value Phlegm::{{{Variable Phlegm}}}]] | | [[Variable Food Value Phlegm::{{{Variable Phlegm}}}]] | ||
Line 80: | Line 73: | ||
| [[Variable Food Value Black Bile::{{{Variable Black Bile}}}]] | | [[Variable Food Value Black Bile::{{{Variable Black Bile}}}]] | ||
|- | |- | ||
− | |{{#if:{{{Variable Food Value Restore}}} | | + | |{{#if:{{{Variable Food Value Restore}}} |'''Adds Restore value to Food:'''}} |
+ | |{{#if:{{{Variable Food Value Restore}}} | style="background:#FFFFFF; color:#000000" colspan=4 {{!}}{{TIa|{{{Variable Food Value Restore}}}}}[[Variable Food Value Restore Text::{{{Variable Food Value Restore}}}]] by [[Variable Food Restore Value Percent::{{{%Variable Food Restore}}}]]% with [[Variable Food Restore Value Chance::{{{%ChanceVariable Food Restore}}}]]% chance |}} | ||
|} | |} | ||
|} | |} | ||
− | + | {{#IFEQ: {{PAGENAME}} | Contributing | | [[Category:Special Food]] [[Category:Food]] [[Category:Variable Food Ingredients]]}}</includeonly> | |
− | {{#IFEQ: {{PAGENAME}} | Contributing | | [[Category:Special Food]] [[Category:Food]] [[Category:Variable Food Ingredients]]}} | ||
− | </includeonly> | ||
− | |||
<noinclude>{{Notice|NOTE:|This is a MODULAR template. It MUST be used after one the the following templates: | <noinclude>{{Notice|NOTE:|This is a MODULAR template. It MUST be used after one the the following templates: | ||
*[[Template:Foraged]] if the food item is foraged. | *[[Template:Foraged]] if the food item is foraged. |
Latest revision as of 22:36, 24 May 2024
NOTE: This is a MODULAR template. It MUST be used after one the the following templates:
- Template:Foraged if the food item is foraged.
- Template:Crafted if the food item is crafted.
See Help:Contributing for instructions and examples for adding a new page to the wiki.
Healing: | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||
Gluttony: | |||||||||||||||||||||||||||||||||||||||
|
Code:
{{VariableFoodIngredients | 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= | Variable Blood= | Variable Phlegm= | Variable Yellow Bile= | Variable Black Bile= | Variable Food Value Restore= | %Variable Food Restore= | %ChanceVariable Food Restore= }} |