Difference between revisions of "User:Kralith/TemplateTest"

From Salem Wiki
Jump to: navigation, search
(Testing)
 
 
(2 intermediate revisions by one other user not shown)
Line 83: Line 83:
 
|- style="background:#FFFFFF; color:#000000"
 
|- style="background:#FFFFFF; color:#000000"
 
| style="background:#efebe5; text-align:right" | '''[[Blackberries]] Min:'''
 
| style="background:#efebe5; text-align:right" | '''[[Blackberries]] Min:'''
| {{#expr: {{{ Min Blood|0}}}*0.5}}
+
| {{#expr: {{{ Min Blood|0}}}*{{#show: Blackberries |?Variable Food Value Blood}}}}
| {{#expr: {{{ Min Phlegm|0}}}*0.5}}
+
| {{#expr: {{{ Min Phlegm|0}}}*{{#show: Blackberries |?Variable Food Value Phlegm}}}}
| {{#expr: {{{ Min Yellow Bile|0}}}*0.5}}
+
| {{#expr: {{{ Min Yellow Bile|0}}}*{{#show: Blackberries |?Variable Food Value Yellow Bile}}}}
 
| style="background:#CFCFCF;" | {{#expr: {{{ Min Black Bile|0}}}*{{#show: Blackberries |?Variable Food Value Black Bile}}}}
 
| style="background:#CFCFCF;" | {{#expr: {{{ Min Black Bile|0}}}*{{#show: Blackberries |?Variable Food Value Black Bile}}}}
 
|  
 
|  
 
|- style="background:#FFFFFF; color:#000000"
 
|- style="background:#FFFFFF; color:#000000"
 
| style="background:#efebe5; text-align:right" | '''[[Blackberries]] Max:'''
 
| style="background:#efebe5; text-align:right" | '''[[Blackberries]] Max:'''
| {{#expr: {{{ Max Blood|0}}}*0.5}}
+
| {{#expr: {{{ Max Blood|0}}}*{{#show: Blackberries |?Variable Food Value Blood}}}}
| {{#expr: {{{ Max Phlegm|0}}}*0.5}}
+
| {{#expr: {{{ Max Phlegm|0}}}*{{#show: Blackberries |?Variable Food Value Phlegm}}}}
| {{#expr: {{{ Max Yellow Bile|0}}}*0.5}}
+
| {{#expr: {{{ Max Yellow Bile|0}}}*{{#show: Blackberries |?Variable Food Value Yellow Bile}}}}
| style="background:#CFCFCF;" | {{#expr: {{{ Max Black Bile|0}}}*1.15}}
+
| style="background:#CFCFCF;" | {{#expr: {{{ Max Black Bile|0}}}*{{#show: Blackberries |?Variable Food Value Black Bile}}}}
 
|- style="background:#FFFFFF; color:#000000";colspan="10"  
 
|- style="background:#FFFFFF; color:#000000";colspan="10"  
 
|  
 
|  
Line 100: Line 100:
 
|- style="background:#FFFFFF; color:#000000"
 
|- style="background:#FFFFFF; color:#000000"
 
| style="background:#efebe5; text-align:right" | '''[[Crowberry Stalk|Crowberry]] Min:'''
 
| style="background:#efebe5; text-align:right" | '''[[Crowberry Stalk|Crowberry]] Min:'''
| {{#expr: {{{ Min Blood|0}}}*0.5}}
+
| {{#expr: {{{ Min Blood|0}}}*{{#show: Crowberry |?Variable Food Value Blood}}}}
| style="background:#BACAEA;" | {{#expr: {{{ Min Phlegm|0}}}*1.35}}
+
| style="background:#BACAEA;" | {{#expr: {{{ Min Phlegm|0}}}*{{#show: Crowberry |?Variable Food Value Phlegm}}}}
| {{#expr: {{{ Min Yellow Bile|0}}}*0.5}}
+
| {{#expr: {{{ Min Yellow Bile|0}}}*{{#show: Crowberry |?Variable Food Value Yellow Bile}}}}
| {{#expr: {{{ Min Black Bile|0}}}*0.5}}  
+
| {{#expr: {{{ Min Black Bile|0}}}*{{#show: Crowberry |?Variable Food Black Bile}}}}  
 
|  
 
|  
 
|- style="background:#FFFFFF; color:#000000"
 
|- style="background:#FFFFFF; color:#000000"
 
| style="background:#efebe5; text-align:right" | '''[[Crowberry Stalk|Crowberry]] Max:'''
 
| style="background:#efebe5; text-align:right" | '''[[Crowberry Stalk|Crowberry]] Max:'''
| {{#expr: {{{ Max Blood|0}}}*0.5}}
+
| {{#expr: {{{ Max Blood|0}}}*{{#show: Crowberry |?Variable Food Value Blood}}}}
| style="background:#BACAEA;" | {{#expr: {{{ Max Phlegm|0}}}*1.35}}
+
| style="background:#BACAEA;" | {{#expr: {{{ Max Phlegm|0}}}*{{#show: Crowberry |?Variable Food Value Phlegm}}}}
| {{#expr: {{{ Max Yellow Bile|0}}}*0.5}}
+
| {{#expr: {{{ Max Yellow Bile|0}}}*{{#show: Crowberry |?Variable Food Value Yellow Bile}}}}
| {{#expr: {{{ Max Black Bile|0}}}*0.5}}
+
| {{#expr: {{{ Max Black Bile|0}}}*{{#show: Crowberry |?Variable Food Value Black Bile}}}}
 
|- style="background:#FFFFFF; color:#000000";colspan="10"  
 
|- style="background:#FFFFFF; color:#000000";colspan="10"  
 
|  
 
|  
Line 156: Line 156:
  
 
{| 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"
{{VariableFoodBerries
+
{{TemplateTest
 
| Heals=1,2,3,4
 
| Heals=1,2,3,4
 
| Uses=42
 
| Uses=42

Latest revision as of 21:59, 27 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
ReducesBerries icon.pngBerries by 95% with 10% chance
ReducesMaize icon.pngMaize by 65% with 20% chance
RestoresMushrooms icon.pngMushrooms by 5% with 30% chance
Variable Berries Gluttony Values:
Blood Phlegm Yellow Black
Blackberries Min: 10 10 10 23
Blackberries Max: 11 11 11 25.3
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
Cranberry Min: 23 10 10 10
Cranberry Max: 25.3 11 11 11


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