Difference between revisions of "Template:Inspirational Food"
From Salem Wiki
ShadowTani (talk | contribs) m |
m (Beautify Infobox) |
||
Line 53: | Line 53: | ||
<!-- 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}}} }} }} | ||
<!-- Food Group Reduction Rows--> | <!-- Food Group Reduction Rows--> | ||
|- | |- | ||
− | |{{#if:{{{FoodReduce1}}} | {{!}}'''Reduces | + | |{{#if:{{{FoodReduce1}}} | {{!}}'''Reduces'''{{TIa|{{{FoodReduce1}}}}}[[Food Reduce1 Text::{{{FoodReduce1}}}]] by [[Food Reduce1 Percent::{{{%Reduce1}}}]]% with [[Food Reduce1 Chance::{{{%ChanceReduce1}}}]]% chance |}} |
|- | |- | ||
− | |{{#if:{{{FoodReduce2}}} | {{!}}'''Reduces | + | |{{#if:{{{FoodReduce2}}} | {{!}}'''Reduces'''{{TIa|{{{FoodReduce2}}}}}[[Food Reduce2 Text::{{{FoodReduce2}}}]] by [[Food Reduce2 Percent::{{{%Reduce2}}}]]% with [[Food Reduce2 Chance::{{{%ChanceReduce2}}}]]% chance |}} |
|- | |- | ||
− | |{{#if:{{{FoodReduce3}}} | {{!}}'''Reduces | + | |{{#if:{{{FoodReduce3}}} | {{!}}'''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]] |}} | |
|} | |} | ||
|- | |- | ||
Line 115: | Line 116: | ||
|} | |} | ||
{| 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:#efebe5; padding=10px; vertical-align:bottom; text-align:center;" | ||
− | + | | style="vertical-align:top; width:100px; text-align:left" | '''Inspiration Efficiency:''' | |
| | | | ||
− | | | + | {| style="text-align:left" |
− | |||
− | |||
− | |||
− | |||
| [[eff_AC::{{#if: {{{Arts & Crafts}}} | {{#expr: (0+{{{Arts & Crafts|0}}}/({{{Arts & Crafts|0}}}+{{{Cloak & Dagger|0}}}+{{{Faith & Wisdom|0}}}+{{{Flora & Fauna|0}}}+{{{Hammer & Nail|0}}}+{{{Hunting & Hideworking|0}}}+{{{Law & Lore|0}}}+{{{Mines & Mountains|0}}}+{{{Herbs & Sprouts|0}}}+{{{Sparks & Embers|0}}}+{{{Stocks & Cultivars|0}}}+{{{Sugar & Spice|0}}}+{{{Thread & Needle|0}}}+{{{Natural Philosophy|0}}}+{{{Perennial Philosophy|0}}}+0)) round 4 }}|}}]] | | [[eff_AC::{{#if: {{{Arts & Crafts}}} | {{#expr: (0+{{{Arts & Crafts|0}}}/({{{Arts & Crafts|0}}}+{{{Cloak & Dagger|0}}}+{{{Faith & Wisdom|0}}}+{{{Flora & Fauna|0}}}+{{{Hammer & Nail|0}}}+{{{Hunting & Hideworking|0}}}+{{{Law & Lore|0}}}+{{{Mines & Mountains|0}}}+{{{Herbs & Sprouts|0}}}+{{{Sparks & Embers|0}}}+{{{Stocks & Cultivars|0}}}+{{{Sugar & Spice|0}}}+{{{Thread & Needle|0}}}+{{{Natural Philosophy|0}}}+{{{Perennial Philosophy|0}}}+0)) round 4 }}|}}]] | ||
| {{#if: {{{Arts & Crafts}}} | {{i|Arts & Crafts}}|}} | | {{#if: {{{Arts & Crafts}}} | {{i|Arts & Crafts}}|}} | ||
Line 179: | Line 176: | ||
{{Inspirational Food | Heals=1,2,3,4 | 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| Arts & Crafts=1 | Cloak & Dagger=2 | Faith & Wisdom=3 | Flora & Fauna=4 | Hammer & Nail=5 | Hunting & Hideworking=6 | Law & Lore=7 | Mines & Mountains=8 | Herbs & Sprouts=9 | Sparks & Embers=10 | Stocks & Cultivars=11 | Sugar & Spice=12 | Thread & Needle=13 | Natural Philosophy=14 | Perennial Philosophy=15 | Uses=42}} | {{Inspirational Food | Heals=1,2,3,4 | 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| Arts & Crafts=1 | Cloak & Dagger=2 | Faith & Wisdom=3 | Flora & Fauna=4 | Hammer & Nail=5 | Hunting & Hideworking=6 | Law & Lore=7 | Mines & Mountains=8 | Herbs & Sprouts=9 | Sparks & Embers=10 | Stocks & Cultivars=11 | Sugar & Spice=12 | Thread & Needle=13 | Natural Philosophy=14 | Perennial Philosophy=15 | Uses=42}} | ||
− | < | + | {| |
− | | Heals=,,, | + | | style="vertical-align:top" |'''Code:''' |
− | | Min Blood= | Max Blood= | + | ---- |
− | | Min Phlegm= | Max Phlegm= | + | <pre> |
− | | Min Yellow Bile= | Max Yellow Bile= | + | {{InspirationalFood |
− | | Min Black Bile= | Max Black Bile= | + | | Heals=,,, |
− | | 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= | |
− | | Arts & Crafts= | + | | FoodReduce3= | %Reduce3= | %ChanceReduce3= |
− | | Cloak & Dagger= | + | | FoodRestore1= |%Restore1= |%ChanceRestore1= |
− | | Faith & Wisdom= | + | | Arts & Crafts= |
− | | Flora & Fauna= | + | | Cloak & Dagger= |
− | | Hammer & Nail= | + | | Faith & Wisdom= |
− | | Hunting & Hideworking= | + | | Flora & Fauna= |
− | | Law & Lore= | + | | Hammer & Nail= |
− | | Mines & Mountains= | + | | Hunting & Hideworking= |
− | | Herbs & Sprouts= | + | | Law & Lore= |
− | | Sparks & Embers= | + | | Mines & Mountains= |
− | | Stocks & Cultivars= | + | | Herbs & Sprouts= |
− | | Sugar & Spice= | + | | Sparks & Embers= |
− | | Thread & Needle= | + | | Stocks & Cultivars= |
− | | Natural Philosophy= | + | | Sugar & Spice= |
− | | Perennial Philosophy= | + | | Thread & Needle= |
− | | Uses=< | + | | Natural Philosophy= |
− | } | + | | Perennial Philosophy= |
+ | | Uses= | ||
+ | }} | ||
+ | </pre> | ||
+ | |} | ||
+ | </noinclude> |
Revision as of 01:22, 10 January 2016
NOTE: This is a MODULAR template. It MUST be used after one the the following templates:
- Template:Foraged if the inspirational food item is foraged.
- Template:Crafted if the inspirational food item is crafted.
See Help:Contributing for instructions and examples for adding a new page to the wiki.
Code:
{{InspirationalFood | Heals=,,, | 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= | Arts & Crafts= | Cloak & Dagger= | Faith & Wisdom= | Flora & Fauna= | Hammer & Nail= | Hunting & Hideworking= | Law & Lore= | Mines & Mountains= | Herbs & Sprouts= | Sparks & Embers= | Stocks & Cultivars= | Sugar & Spice= | Thread & Needle= | Natural Philosophy= | Perennial Philosophy= | Uses= }} |