Difference between revisions of "Template:SpecialFood"
From Salem Wiki
ShadowTani (talk | contribs) m |
|||
(9 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
|- | |- | ||
| | | | ||
− | {| 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 11: | Line 11: | ||
<!-- Heal Row--> | <!-- Heal Row--> | ||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | 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:# | + | | 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:# | + | {| 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:# | + | | 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:# | + | | 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:# | + | | 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:# | + | {| 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 | {{TX|T5|{{{Food Groups}}} }} }} | ||
<!-- Food Group Reduction Rows--> | <!-- Food Group Reduction Rows--> | ||
|- | |- | ||
− | |{{#if:{{{FoodReduce1}}} | {{!}}'''Reduces | + | |{{#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 | + | |{{#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 | + | |{{#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}}} | 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]] |}} | |
|} | |} | ||
|} | |} | ||
− | |||
{{#IFEQ: {{PAGENAME}} | Contributing | | [[Category:Special Food]] [[Category:Food]]}}</includeonly> | {{#IFEQ: {{PAGENAME}} | Contributing | | [[Category:Special Food]] [[Category:Food]]}}</includeonly> | ||
− | + | <noinclude>{{Notice|NOTE:|This is a MODULAR template. It MUST be used after one the the following templates: | |
− | <noinclude> | ||
*[[Template:Foraged]] if the food item is foraged. | *[[Template:Foraged]] if the food item is foraged. | ||
− | *[[Template:Crafted]] if the food item is crafted. | + | *[[Template:Crafted]] if the food item is crafted.}} |
− | |||
See [[Help:Contributing]] for instructions and examples for adding a new page to the wiki. | See [[Help:Contributing]] for instructions and examples for adding a new page to the wiki. | ||
− | |||
{| 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" | ||
Line 87: | Line 84: | ||
| Min Black Bile=1 | Max Black Bile=2 | | Min Black Bile=1 | Max Black Bile=2 | ||
| Gluttony Time=1:50 | | Gluttony Time=1:50 | ||
− | | Food Groups= Game Meat | + | | Food Groups= Game Meat |
| FoodReduce1= Nuts and Seeds | %Reduce1=95 | %ChanceReduce1=10 | | FoodReduce1= Nuts and Seeds | %Reduce1=95 | %ChanceReduce1=10 | ||
| FoodReduce2= Maize | %Reduce2=65 | %ChanceReduce2=20 | | FoodReduce2= Maize | %Reduce2=65 | %ChanceReduce2=20 | ||
Line 93: | Line 90: | ||
| FoodRestore1= Mushrooms |%Restore1=5 |%ChanceRestore1=30}} | | FoodRestore1= Mushrooms |%Restore1=5 |%ChanceRestore1=30}} | ||
− | < | + | {| |
− | | Heals=,,, | + | | style="vertical-align:top" |'''Code:''' |
− | | Uses= | + | ---- |
− | | Min Blood= | Max Blood= | + | <pre> |
− | | Min Phlegm= | Max Phlegm= | + | {{SpecialFood |
− | | Min Yellow Bile= | Max Yellow Bile= | + | | Heals=,,, |
− | | Min Black Bile= | Max Black Bile= | + | | Uses= |
− | | Gluttony Time= | + | | Min Blood= | Max Blood= |
− | | Food Groups= | + | | Min Phlegm= | Max Phlegm= |
− | | FoodReduce1= | %Reduce1= | %ChanceReduce1= | + | | Min Yellow Bile= | Max Yellow Bile= |
− | | FoodReduce2= | %Reduce2= | %ChanceReduce2= | + | | Min Black Bile= | Max Black Bile= |
− | | FoodReduce3= | %Reduce3= | %ChanceReduce3= | + | | Gluttony Time= |
− | | FoodRestore1= |%Restore1= |%ChanceRestore1= | + | | Food Groups= |
− | + | | FoodReduce1= | %Reduce1= | %ChanceReduce1= | |
− | | | + | | FoodReduce2= | %Reduce2= | %ChanceReduce2= |
− | + | | FoodReduce3= | %Reduce3= | %ChanceReduce3= | |
+ | | FoodRestore1= |%Restore1= |%ChanceRestore1= | ||
+ | }}</pre> | ||
+ | |} | ||
+ | </noinclude> |
Latest revision as of 13:33, 28 October 2018
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:
{{SpecialFood | 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= }} |