The Wiki for Tale 5 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "Template:Yeast"

From ATITD5
Jump to navigationJump to search
m (Testing using KasTest template - if it works as expected I'll move KasTest to an actual template and redit this)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<NOINCLUDE>This template exists to provide a simple uniform markup for all yeast test pages. It will need to be adjusted for shards when a second T5 shard comes online.
 +
 +
To use this template create a page with the name of the yeast (eg Y57) and copy the template text below to it. Once you have filled in the template parameters the yeast will automatically be categorised and added to the main yeast page.
 +
 +
<pre>
 +
{{Yeast|Microbe=
 +
|AlcCeiling=
 +
|GlucoseFloor=
 +
|MaltFloor=
 +
|VitFloor=
 +
|VitCons=
 +
|Orange=
 +
|Banana=
 +
|Cherry=
 +
|Date=
 +
|Honey=
 +
|Nutmeg=
 +
|Cinnamon=
 +
|Grassy=
 +
|Nasty=
 +
|Bread=
 +
|Grapefruit=
 +
|Pear=
 +
|Blackberry=
 +
|Prune=
 +
|Jasmine=
 +
|Clove=
 +
|Vanilla=
 +
|Herbal=
 +
|Comments=
 +
}}
 +
</pre>
 +
 +
It should be noted that a number of other templates are used within this template, and that it is still under active development. </NOINCLUDE>
 
{| style = 'width: 50em; margin: 1em auto; border-spacing: 0; border-left: 1px solid black; border-right: 1px solid black'
 
{| style = 'width: 50em; margin: 1em auto; border-spacing: 0; border-left: 1px solid black; border-right: 1px solid black'
 
|-
 
|-
 
| colspan = '10' style = 'width: 16%; height: 0.25em; border-top: 1px solid black; border-bottom: 1px solid #888; border-right: 1px solid #888; background: #bdf' |  
 
| colspan = '10' style = 'width: 16%; height: 0.25em; border-top: 1px solid black; border-bottom: 1px solid #888; border-right: 1px solid #888; background: #bdf' |  
 
|-
 
|-
  | colspan = '2' style = 'padding: 0.2em; text-align: center; border-right: 1px solid #888' |
+
  | colspan = '2' style = 'padding: 0.2em; text-align: center; border-right: 1px solid #888' | [[Yeast| Back to yeast page]]
  |style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | Microbe
+
 
|style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | Alcohol Ceiling
+
{{YeastCell|border-right=1|border-bottom=1|header=Microbe}}
|style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | Glucose Floor
+
{{YeastCell|border-right=1|border-bottom=1|header=Alcohol Ceiling}}
|style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | Maltose Floor
+
{{YeastCell|border-right=1|border-bottom=1|header=Glucose Floor}}
|style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | Vitamin Floor
+
{{YeastCell|border-right=1|border-bottom=1|header=Maltose Floor}}
|style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | Vitamin Consumption
+
{{YeastCell|border-right=1|border-bottom=1|header=Vitamin Floor}}
  | colspan = '2' style = 'padding: 0.2em; text-align: center' |
+
{{YeastCell|border-right=1|border-bottom=1|header=Vitamin Ratio}}
 +
  | colspan = '2' style = 'padding: 0.2em; text-align: center' |[http://www.talescripts.org/cgi-bin/atitdbeer/report_yeasts.cgi?yeast={{{Microbe|?}}} Locations]
 
  |-
 
  |-
 
  | colspan = '2' style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' |
 
  | colspan = '2' style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' |
 
  |style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | {{{Microbe|?}}}
 
  |style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | {{{Microbe|?}}}
  |style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | {{{AlcCeiling|?}}}
+
  |style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | {{#ifexpr: {{{AlcCeiling|0}}} > 1200 | [[Yeasts/Very Potent|{{{AlcCeiling|}}}]] | {{#ifexpr: {{{AlcCeiling|0}}} > 900 | [[Yeasts/Potent|{{{AlcCeiling|}}}]] | {{{AlcCeiling|}}}}}}}
 
  |style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | {{{GlucoseFloor|?}}}
 
  |style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | {{{GlucoseFloor|?}}}
 
  |style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | {{{MaltFloor|?}}}
 
  |style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | {{{MaltFloor|?}}}
 
  |style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | {{{VitFloor|?}}}
 
  |style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | {{{VitFloor|?}}}
 
  |style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | {{{VitCons|?}}}
 
  |style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | {{{VitCons|?}}}
  | colspan = '2' style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888' |
+
  | colspan = '2' style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888' |  
 
  |-
 
  |-
|style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | Orange
+
{{YeastCell|border-right=1|border-bottom=1|header=Orange}}
|style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | Banana
+
{{YeastCell|border-right=1|border-bottom=1|header=Banana}}
|style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | Cherry
+
{{YeastCell|border-right=1|border-bottom=1|header=Cherry}}
|style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | Date
+
{{YeastCell|border-right=1|border-bottom=1|header=Date}}
|style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | Honey
+
{{YeastCell|border-right=1|border-bottom=1|header=Honey}}
|style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | Nutmeg
+
{{YeastCell|border-right=1|border-bottom=1|header=Nutmeg}}
|style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | Cinnamon
+
{{YeastCell|border-right=1|border-bottom=1|header=Cinnamon}}
|style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | Grassy
+
{{YeastCell|border-right=1|border-bottom=1|header=Grassy}}
|style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888; border-right: 1px solid #888' | Nasty
+
{{YeastCell|border-right=1|border-bottom=1|header=Nasty}}
|style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888' | Comments
 
 
  |-
 
  |-
|style = 'padding: 0.2em; text-align: center; border-right: 1px solid #888' | {{{Orange|?}}}
+
{{YeastCell|border-right=1|border-bottom=1|value={{{Orange|?}}}}}
|style = 'padding: 0.2em; text-align: center; border-right: 1px solid #888' | {{{Banana|?}}}
+
{{YeastCell|border-right=1|border-bottom=1|value={{{Banana|?}}}}}
|style = 'padding: 0.2em; text-align: center; border-right: 1px solid #888' | {{{Cherry|?}}}
+
{{YeastCell|border-right=1|border-bottom=1|value={{{Cherry|?}}}}}
|style = 'padding: 0.2em; text-align: center; border-right: 1px solid #888' | {{{Date|?}}}
+
{{YeastCell|border-right=1|border-bottom=1|value={{{Date|?}}}}}
|style = 'padding: 0.2em; text-align: center; border-right: 1px solid #888' | {{{Honey|?}}}
+
{{YeastCell|border-right=1|border-bottom=1|value={{{Honey|?}}}}}
|style = 'padding: 0.2em; text-align: center; border-right: 1px solid #888' | {{{Nutmeg|?}}}
+
{{YeastCell|border-right=1|border-bottom=1|value={{{Nutmeg|?}}}}}
{{KasTest|border-right=1|value={{{Cinnamon|?}}}}}
+
{{YeastCell|border-right=1|border-bottom=1|value={{{Cinnamon|?}}}}}
{{KasTest|border-right=1|value={{{Grassy|?}}}}}
+
{{YeastCell|border-right=1|border-bottom=1|value={{{Grassy|?}}}}}
|style = 'padding: 0.2em; text-align: center; border-right: 1px solid #888' | {{{Nasty|?}}}
+
{{YeastCell|border-right=1|border-bottom=1|value={{{Nasty|?}}}}}
|style = 'padding: 0.2em; text-align: center' | {{{Comments|?}}}
+
|style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888;' |  
 
  |-
 
  |-
 +
{{YeastCell|border-right=1|border-bottom=1|header=Bread}}
 +
{{YeastCell|border-right=1|border-bottom=1|header=Grapefruit}}
 +
{{YeastCell|border-right=1|border-bottom=1|header=Pear}}
 +
{{YeastCell|border-right=1|border-bottom=1|header=Blackberry}}
 +
{{YeastCell|border-right=1|border-bottom=1|header=Prune}}
 +
{{YeastCell|border-right=1|border-bottom=1|header=Jasmine}}
 +
{{YeastCell|border-right=1|border-bottom=1|header=Clove}}
 +
{{YeastCell|border-right=1|border-bottom=1|header=Vanilla}}
 +
{{YeastCell|border-bottom=1|header=Herbal}}
 +
|-
 +
{{YeastCell|border-right=1|value={{{Bread|?}}}}}
 +
{{YeastCell|border-right=1|value={{{Grapefruit|?}}}}}
 +
{{YeastCell|border-right=1|value={{{Pear|?}}}}}
 +
{{YeastCell|border-right=1|value={{{Blackberry|?}}}}}
 +
{{YeastCell|border-right=1|value={{{Prune|?}}}}}
 +
{{YeastCell|border-right=1|value={{{Jasmine|?}}}}}
 +
{{YeastCell|border-right=1|value={{{Clove|?}}}}}
 +
{{YeastCell|border-right=1|value={{{Vanilla|?}}}}}
 +
{{YeastCell|border-right=1|value={{{Herbal|?}}}}}
 +
{{#ifeq: {{{Comments|}}} | {{{Comments|-}}}|
 +
{{!}}-
 +
{{!}} colspan = '10' style = 'width: 16%; height: 0.25em; border-top: 1px solid black; border-bottom: 1px solid #888; border-right: 1px solid #888; background: #bdf' {{!}}
 +
{{!}}-
 +
{{!}} colspan='10' style = 'padding: 0.2em; text-align: center; border-bottom: 1px solid #888' {{!}} Comments
 +
{{!}}-
 +
{{!}} colspan = '10' style = 'padding: 0.2em;' {{!}} {{{Comments|None}}}
 +
{{!}}-
 +
}}
 +
|-
 
| colspan = '10' style = 'width: 16%; height: 0.25em; border-top: 1px solid black; border-bottom: 1px solid #888; border-right: 1px solid #888; background: #bdf' |  
 
| colspan = '10' style = 'width: 16%; height: 0.25em; border-top: 1px solid black; border-bottom: 1px solid #888; border-right: 1px solid #888; background: #bdf' |  
 
|-
 
|-
 
|}
 
|}
{{KasTest|border-right=1|value={{{Grassy|?}}}}}
+
{{#set:AlcCeiling={{{AlcCeiling}}}}}
 +
{{#set:MFlavours={{{Orange|0}}};{{{Banana|0}}};{{{Cherry|0}}};{{{Date|0}}};{{{Honey|0}}};{{{Nutmeg|0}}};{{{Cinnamon|0}}};{{{Grassy|0}}};{{{Nasty|0}}};{{{Bread|0}}};{{{Grapefruit|0}}};{{{Pear|0}}};{{{Blackberry|0}}};{{{Prune|0}}};{{{Jasmine|0}}};{{{Clove|0}}};{{{Vanilla|0}}};{{{Herbal|0}}}}}
 +
 
 +
[[Category: Yeast]]
 
<NOINCLUDE>[[Category: Template]]  {{DEFAULTSORT:{{PAGENAME}}}}</noinclude>
 
<NOINCLUDE>[[Category: Template]]  {{DEFAULTSORT:{{PAGENAME}}}}</noinclude>

Latest revision as of 13:52, 3 August 2011

This template exists to provide a simple uniform markup for all yeast test pages. It will need to be adjusted for shards when a second T5 shard comes online.

To use this template create a page with the name of the yeast (eg Y57) and copy the template text below to it. Once you have filled in the template parameters the yeast will automatically be categorised and added to the main yeast page.

{{Yeast|Microbe=
|AlcCeiling=
|GlucoseFloor=
|MaltFloor=
|VitFloor=
|VitCons=
|Orange=
|Banana=
|Cherry=
|Date=
|Honey=
|Nutmeg=
|Cinnamon=
|Grassy=
|Nasty=
|Bread=
|Grapefruit=
|Pear=
|Blackberry=
|Prune=
|Jasmine=
|Clove=
|Vanilla=
|Herbal=
|Comments=
}}

It should be noted that a number of other templates are used within this template, and that it is still under active development.

Back to yeast page Microbe Alcohol Ceiling Glucose Floor Maltose Floor Vitamin Floor Vitamin Ratio Locations
? ? ? ? ?
Orange Banana Cherry Date Honey Nutmeg Cinnamon Grassy Nasty
? ? ? ? ? ? ? ? ?
Bread Grapefruit Pear Blackberry Prune Jasmine Clove Vanilla Herbal
? ? ? ? ? ? ? ? ?

"{{{AlcCeiling}}}" is not a number.