Difference between revisions of "Template:YeastFilteredTableData"
From A Wiki in the Desert
m |
(Fixing links and adding test/sample invocation of template) |
||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
+ | This template is used for generating an automatic list of all yeast stats. | ||
+ | ==Example== | ||
+ | {| class='wikitable sortable' border="1" cellpadding="2" cellspacing="0" | ||
+ | ! '''Yeast''' !! '''Max Alcohol''' !! '''Alcohol Threshold''' !! '''Growth Rate''' !! '''Glucose Floor''' !! '''Maltose Floor''' !! '''Vitamin Ratio''' !! '''Vitamin Threshold''' !! '''Orange''' !! '''Banana''' !! '''Cherry''' !! '''Date''' !! '''Honey''' !! '''Nutmeg''' !! '''Cinnamon''' !! '''Grassy''' !! '''Nasty''' !! '''Bread''' !! '''Grapefruit''' !! '''Pear''' !! '''Blackberry''' !! '''Prune''' !! '''Jasmine''' !! '''Clove''' !! '''Vanilla''' !! '''Herbal''' | ||
+ | {{#ask: [[Category:yeast]] | ||
+ | | Foo=?=# | ||
+ | | ?Microbe | ||
+ | | ?AlcCeiling#-n=Max Alcohol | ||
+ | | ?AlcThreshold#-n=Alcohol Threshold | ||
+ | | ?GrowthRate#-n %=Growth Rate | ||
+ | | ?GlucoseFloor=Glucose Floor | ||
+ | | ?MaltFloor=Maltose Floor | ||
+ | | ?VitCons=Vitamin Ratio | ||
+ | | ?VitFloor=Vitamin Threshold | ||
+ | | ?FlavourOrange=Orange|template=YeastCell | ||
+ | | ?FlavourBanana=Banana | ||
+ | | ?FlavourCherry=Cherry | ||
+ | | ?FlavourDate=Date | ||
+ | | ?FlavourHoney=Honey | ||
+ | | ?FlavourNutmeg=Nutmeg | ||
+ | | ?FlavourCinnamon=Cinnamon | ||
+ | | ?FlavourGrassy=Grassy | ||
+ | | ?FlavourNasty=Nasty | ||
+ | | ?FlavourBread=Bread | ||
+ | | ?FlavourGrapefruit=Grapefruit | ||
+ | | ?FlavourPear=Pear | ||
+ | | ?FlavourBlackberry=Blackberry | ||
+ | | ?FlavourPrune=Prune | ||
+ | | ?FlavourJasmine=Jasmine | ||
+ | | ?FlavourClove=Clove | ||
+ | | ?FlavourVanilla=Vanilla | ||
+ | | ?FlavourHerbal=Herbal | ||
+ | | format=template | ||
+ | | template=YeastFilteredTableData | ||
+ | |sort=Microbe | ||
+ | |order=ascending | ||
+ | |limit=2 | ||
+ | |link=none | ||
+ | }} | ||
+ | |- | ||
+ | |} | ||
+ | </noinclude> | ||
+ | <includeonly> | ||
|- style="background-color:#ffffcc;" align="center" | |- style="background-color:#ffffcc;" align="center" | ||
− | <!-- Yeast Name -->{{YeastCell|border-bottom=1|border-right=1|header=[[ | + | <!-- Yeast Name -->{{YeastCell|border-bottom=1|border-right=1|header=[[{{{1|?}}}|{{{2|?}}}]]}} |
{{#ifeq: {{{2|}}} | {{{2|-}}} | {{YeastAlcoholCell|border-bottom=1|border-right=1|value={{{3|0}}}}} |}} | {{#ifeq: {{{2|}}} | {{{2|-}}} | {{YeastAlcoholCell|border-bottom=1|border-right=1|value={{{3|0}}}}} |}} | ||
{{#ifeq: {{{3|}}} | {{{3|-}}} | {{YeastCell|border-bottom=1|border-right=1|value={{{4|0}}}}} |}} | {{#ifeq: {{{3|}}} | {{{3|-}}} | {{YeastCell|border-bottom=1|border-right=1|value={{{4|0}}}}} |}} | ||
Line 27: | Line 71: | ||
{{#ifeq: {{{20|}}} | {{{20|-}}} | {{YeastFlavorCell|border-bottom=1|value={{{27|0}}}}} |}} | {{#ifeq: {{{20|}}} | {{{20|-}}} | {{YeastFlavorCell|border-bottom=1|value={{{27|0}}}}} |}} | ||
{{#if: 0| | }} | {{#if: 0| | }} | ||
+ | </includeonly> |
Revision as of 09:26, 21 November 2019
This template is used for generating an automatic list of all yeast stats.
Example
Yeast | Max Alcohol | Alcohol Threshold | Growth Rate | Glucose Floor | Maltose Floor | Vitamin Ratio | Vitamin Threshold | Orange | Banana | Cherry | Date | Honey | Nutmeg | Cinnamon | Grassy | Nasty | Bread | Grapefruit | Pear | Blackberry | Prune | Jasmine | Clove | Vanilla | Herbal
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Y-00 | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ?
|
Y-01 | 1026 | ? | 20 | 15 | 64 | 7.33 | ? | 12 | 102 | 45 | 22 | 13 | 18 | 22 | 18 | 15 | 19 | 15 | 516 | 16 | 181 | 23 | 281 | 13 | 15 |