Difference between revisions of "User:Kralith/Testpage"

From Salem Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
{{#ask:
+
<includeonly>|-
[[:+]] [[Category:Food]] [[FoodGroup::Berries]]
+
! style="color:white; font-size:1.4em" | '''Healing:'''
|link=all
+
|-
|format=widetable
+
|
|limit=500
+
{| style="width:100%; border:black 2px solid; background:#efebe5; padding=10px; vertical-align:bottom; text-align:center;"
|mainlabel=Food
+
!
| ?Heals Blood = Heals Blood
+
! style="width:18%" |[[Blood]]
| ?Heals Phlegm = Heals Phlegm
+
! style="width:18%" |[[Phlegm]]
| ?Heals Yellow = Heals Yellow
+
! style="width:18%" |[[Yellow Bile|Yellow]]
| ?Heals Black = Heals Black
+
! style="width:18%" |[[Black Bile|Black]]
| ?Heal Uses = Uses
+
<!-- Heal Row-->
| ?Gives Min Blood = Blood Min
+
|- style="background:#FFFFFF; color:#000000"
| ?Gives Max Blood  = Blood Max
+
| style="background:#efebe5; text-align:right" | '''Heal:'''
| ?Gives Min Phlegm = Phlegm Min
+
| [[Heals Blood::{{#explode: {{{Heals}}} |,| 0 }}]]
| ?Gives Max Phlegm = Phlegm Max
+
| [[Heals Phlegm::{{#explode: {{{Heals}}} |,| 1 }}]]
| ?Gives Min Yellow Bile = Yellow Min
+
| [[Heals Yellow::{{#explode: {{{Heals}}} |,| 2 }}]]
| ?Gives Max Yellow Bile = Yellow Max
+
| [[Heals Black::{{#explode: {{{Heals}}} |,| 3 }}]]
| ?Gives Min Black Bile = Black Min
+
 
| ?Gives Max Black Bile = Black Max
+
|- style="background:#FFFFFF; color:#000000"
| ?Gluttony Time = Debuff timer
+
| style="background:#efebe5; text-align:right" | '''Heal Uses:'''
| ?Food Reduce1 Text = Foodgroup Reduce
+
|[[Heal Uses::{{{Uses}}}]]
| ?Food Reduce1 Percent#% = Reduce Percent
+
|}
| ?Food Reduce1 Chance#% = Chance Percent
+
|-
| ?Food Restore1 Text = FoodGroup Restore
+
! style="color:white; font-size:1.4em" | '''Gluttony:'''
| ?Food Restore1 Percent#% = Restore Percent
+
|-
| ?Food Restore1 Chance#% = Chance Percent
+
|
 +
{| style="width:100%; border:black 2px solid; background:#efebe5; padding=10px; vertical-align:bottom; text-align:center;"
 +
!
 +
! style="width:18%" |[[Blood]]
 +
! style="width:18%" |[[Phlegm]]
 +
! style="width:18%" |[[Yellow Bile|Yellow]]
 +
! style="width:18%" |[[Black Bile|Black]]
 +
 
 +
<!-- Gluttony Values Rows-->
 +
|- style="background:#FFFFFF; color:#000000"
 +
| style="background:#efebe5; text-align:right" | '''[[Gluttony]] Min:'''
 +
| [[Gives Min Blood::{{{Min Blood}}}]]
 +
| [[Gives Min Phlegm::{{{Min Phlegm}}}]]
 +
| [[Gives Min Yellow Bile::{{{Min Yellow Bile}}}]]
 +
| [[Gives Min Black Bile::{{{Min Black Bile}}}]]
 +
|- style="background:#FFFFFF; color:#000000"
 +
| style="background:#efebe5; text-align:right" | '''[[Gluttony]] Max:'''
 +
| [[Gives Max Blood::{{{Max Blood}}}]]
 +
| [[Gives Max Phlegm::{{{Max Phlegm}}}]]
 +
| [[Gives Max Yellow Bile::{{{Max Yellow Bile}}}]]
 +
| [[Gives Max Black Bile::{{{Max Black Bile}}}]]
 +
 
 +
|- style="background:#FFFFFF; color:#000000"
 +
| style="background:#efebe5; text-align:right" | '''Full and Fed Up for:'''
 +
|[[Gluttony Time::{{{Gluttony Time}}}]]
 +
|}
 +
 
 +
{| style="width:100%; border:black 2px solid; background:#efebe5; padding=10px; vertical-align:bottom; text-align:left;"
 +
<!-- Food Groups Row-->
 +
|-
 +
| style="vertical-align:top; width:100px"|'''Food Groups:'''
 +
| style="text-align:left" | {{#switch: {{{Food Groups|}}} | =None | {{T5|{{{Food Groups}}} }} }}
 +
<!-- Food Group Reduction Rows-->
 +
|-
 +
|{{#if:{{{FoodReduce1}}} | colspan=2 {{!}}'''Reduces'''{{TIa|{{{FoodReduce1}}}}}[[Food Reduce1 Text::{{{FoodReduce1}}}]] by [[Food Reduce1 Percent::{{{%Reduce1}}}]]% with [[Food Reduce1 Chance::{{{%ChanceReduce1}}}]]% chance |}}
 +
|-
 +
|{{#if:{{{FoodReduce2}}} | colspan=2 {{!}}'''Reduces'''{{TIa|{{{FoodReduce2}}}}}[[Food Reduce2 Text::{{{FoodReduce2}}}]] by [[Food Reduce2 Percent::{{{%Reduce2}}}]]% with [[Food Reduce2 Chance::{{{%ChanceReduce2}}}]]% chance |}}
 +
|-
 +
|{{#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-->
 +
|-
 +
|{{#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]] |}}
 +
|-
 +
|{{#if:{{{FoodRestore2}}} | colspan=2 {{!}}'''Restores'''{{TIa|{{{FoodRestore2}}}}}[[Food Restore2 Text::{{{FoodRestore2}}}]] by [[Food Restore2 Percent::{{{%Restore2}}}]]% with [[Food Restore2 Chance::{{{%ChanceRestore2}}}]]% chance |}}
 +
|-
 +
|{{#if:{{{FoodRestore3}}} | colspan=2 {{!}}'''Restores'''{{TIa|{{{FoodRestore3}}}}}[[Food Restore3 Text::{{{FoodRestore3}}}]] by [[Food Restore3 Percent::{{{%Restore3}}}]]% with [[Food Restore3 Chance::{{{%ChanceRestore3}}}]]% chance |}}
 +
|}
 +
|-
 +
! style="color:white; font-size:1.4em" | '''Variable Berries Gluttony Values:'''
 +
|-
 +
|
 +
{| style="width:100%; border:black 2px solid; background:#efebe5; padding=10px; vertical-align:bottom; text-align:center;"
 +
!
 +
! style="width:18%" |[[Blood]]
 +
! style="width:18%" |[[Phlegm]]
 +
! style="width:18%" |[[Yellow Bile|Yellow]]
 +
! style="width:18%" |[[Black Bile|Black]]
 +
 
 +
|- style="background:#FFFFFF; border:black 2px solid; color:#000000"
 +
 
 +
<!-- Blackberry Rows-->
 +
|- style="background:#FFFFFF; color:#000000"
 +
| style="background:#efebe5; text-align:right" | '''[[Blackberries]] Min:'''
 +
| {{#expr: {{{ Min Blood|0}}}*{{VarFood_Standard}}}}
 +
| {{#expr: {{{ Min Phlegm|0}}}*0.5}}
 +
| {{#expr: {{{ Min Yellow Bile|0}}}*0.5}}
 +
| style="background:#CFCFCF;" | {{#expr: {{{ Min Black Bile|0}}}*{{Berries_Blackberry_Black}}}}
 +
|  
 +
|- style="background:#FFFFFF; color:#000000"
 +
| style="background:#efebe5; text-align:right" | '''[[Blackberries]] Max:'''
 +
| {{#expr: {{{ Max Blood|0}}}*0.5}}
 +
| {{#expr: {{{ Max Phlegm|0}}}*0.5}}
 +
| {{#expr: {{{ Max Yellow Bile|0}}}*0.5}}
 +
| style="background:#CFCFCF;" | {{#expr: {{{ Max Black Bile|0}}}*{{Berries_Blackberry_Black}}}}
 +
|- style="background:#FFFFFF; color:#000000";colspan="10"
 +
|
 +
 
 +
<!-- Crowberry Rows-->
 +
|- style="background:#FFFFFF; color:#000000"
 +
| style="background:#efebe5; text-align:right" | '''[[Crowberry Stalk|Crowberry]] Min:'''
 +
| {{#expr: {{{ Min Blood|0}}}*0.5}}
 +
| style="background:#BACAEA;" | {{#expr: {{{ Min Phlegm|0}}}*1.35}}
 +
| {{#expr: {{{ Min Yellow Bile|0}}}*0.5}}
 +
| {{#expr: {{{ Min Black Bile|0}}}*0.5}}
 +
|
 +
|- style="background:#FFFFFF; color:#000000"
 +
| style="background:#efebe5; text-align:right" | '''[[Crowberry Stalk|Crowberry]] Max:'''
 +
| {{#expr: {{{ Max Blood|0}}}*0.5}}
 +
| style="background:#BACAEA;" | {{#expr: {{{ Max Phlegm|0}}}*1.35}}
 +
| {{#expr: {{{ Max Yellow Bile|0}}}*0.5}}
 +
| {{#expr: {{{ Max Black Bile|0}}}*0.5}}
 +
|- style="background:#FFFFFF; color:#000000";colspan="10"
 +
|
 +
 
 +
<!-- Huckleberry Rows-->
 +
|- style="background:#FFFFFF; color:#000000"
 +
| style="background:#efebe5; text-align:right" | '''[[Huckleberries]] Min:'''
 +
| {{#expr: {{{ Min Blood|0}}}*0.5}}
 +
| {{#expr: {{{ Min Phlegm|0}}}*0.5}}
 +
| style="background:#FFFFB8;" | {{#expr: {{{ Min Yellow Bile|0}}}*1.3}}
 +
| {{#expr: {{{ Min Black Bile|0}}}*0.5}}
 +
|
 +
|- style="background:#FFFFFF; color:#000000"
 +
| style="background:#efebe5; text-align:right" | '''[[Huckleberries]] Max:'''
 +
| {{#expr: {{{ Max Blood|0}}}*0.5}}
 +
| {{#expr: {{{ Max Phlegm|0}}}*0.5}}
 +
| style="background:#FFFFB8;" | {{#expr: {{{ Max Yellow Bile|0}}}*1.3}}
 +
| {{#expr: {{{ Max Black Bile|0}}}*0.5}}
 +
|- style="background:#FFFFFF; color:#000000";colspan="10"
 +
|
 +
 
 +
<!-- Cranberry Rows-->
 +
|- style="background:#FFFFFF; color:#000000"
 +
| style="background:#efebe5; text-align:right" | '''[[Cranberry]] Min:'''
 +
| style="background:#E6B8B8;" | {{#expr: {{{ Min Blood|0}}}*1.15}}
 +
| {{#expr: {{{ Min Phlegm|0}}}*0.5}}
 +
| {{#expr: {{{ Min Yellow Bile|0}}}*0.5}}
 +
| {{#expr: {{{ Min Black Bile|0}}}*0.5}}
 +
|
 +
|- style="background:#FFFFFF; color:#000000"
 +
| style="background:#efebe5; text-align:right" | '''[[Cranberry]] Max:'''
 +
| style="background:#E6B8B8;" | {{#expr: {{{ Max Blood|0}}}*1.15}}
 +
| {{#expr: {{{ Max Phlegm|0}}}*0.5}}
 +
| {{#expr: {{{ Max Yellow Bile|0}}}*0.5}}
 +
| {{#expr: {{{ Max Black Bile|0}}}*0.5}}
 +
|}
 +
|}
 +
 
 +
{{#IFEQ: {{PAGENAME}} | Contributing | | [[Category:Food]] [[Category:Variable Food]] [[Category:Berries]] }}</includeonly>
 +
<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:Crafted]] if the food item is crafted.}}
 +
 
 +
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"
 +
{{VariableFoodBerries
 +
| Heals=1,2,3,4
 +
| Uses=42
 +
| Min Blood=20 | Max Blood=22
 +
| Min Phlegm=20 | Max Phlegm=22
 +
| Min Yellow Bile=20 | Max Yellow Bile=22
 +
| Min Black Bile=20 | Max Black Bile=22
 +
| Gluttony Time=1:50
 +
| Food Groups= Berries
 +
| FoodReduce1= Berries | %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>
 +
{{VariableFoodBerries
 +
| 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=Berries
 +
| FoodReduce1=Berries | %Reduce1= | %ChanceReduce1=
 +
| FoodReduce2= | %Reduce2= | %ChanceReduce2=
 +
| FoodReduce3= | %Reduce3= | %ChanceReduce3=
 +
| FoodRestore1= |%Restore1= |%ChanceRestore1=
 +
}}</pre>
 +
|}
 +
</noinclude>

Revision as of 00:04, 14 December 2016

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: 20 20 20 20
Gluttony Max: 22 22 22 22
Full and Fed Up for: 1:50
Food Groups: Berries icon.pngBerries
Variable Berries Gluttony Values:
Blood Phlegm Yellow Black
Cranberry Min: 23 10 10 10
Cranberry Max: 25.3 11 11 11
Crowberry Min: 10 27 10 10
Crowberry Max: 11 29.7 11 11
Huckleberries Min: 10 10 26 10
Huckleberries Max: 11 11 28.6 11
Blackberries Min: 10 10 10 23
Blackberries Max: 11 11 11 25.3


Code:
{{VariableFoodBerries
| 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=Berries
| FoodReduce1=Berries | %Reduce1= | %ChanceReduce1=
| FoodReduce2= | %Reduce2= | %ChanceReduce2=
| FoodReduce3= | %Reduce3= | %ChanceReduce3=
| FoodRestore1= |%Restore1= |%ChanceRestore1=
}}