v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Shrub"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Now that DF includes real plants, add a wikipedia link, cloned from Template:CreatureInfo v0.40)
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly>{{infostart|{{{name}}}}}
 
<includeonly>{{infostart|{{{name}}}}}
 
{{infocell|{{Shrub/picture|character={{{character|"}}}|color={{{color}}}}}}}
 
{{infocell|{{Shrub/picture|character={{{character|"}}}|color={{{color}}}}}}}
 +
{{#if:{{{pref|}}}|{{infopref|{{{pref}}}}}}}
 
{{infoheader|Seasons}}
 
{{infoheader|Seasons}}
 
{{infocell|{{seasons|{{{spring|}}}|{{{summer|}}}|{{{autumn|}}}|{{{winter|}}}}}}}
 
{{infocell|{{seasons|{{{spring|}}}|{{{summer|}}}|{{{autumn|}}}|{{{winter|}}}}}}}
 +
{{#if:{{{biome|}}}|{{infoheader|Biome}}
 +
{{infocell|{{{biome|}}}}}
 +
{{infocell|{{wetdry|{{{wet|}}}|{{{dry|}}}}}}}
 +
{{#if:{{{alignment|}}}|{{infoheader|Alignment}}
 +
{{infocell|{{{alignment}}}|style=text-align:center}}}}}}
 
{{infoheader|Properties}}
 
{{infoheader|Properties}}
{{inforow|{{L|Biome|Habitat}}|{{{habitat}}}}}
+
{{#if:{{{habitat|}}}|{{inforow|[[Biome|Habitat]]|{{{habitat}}}}}}}
{{inforow|{{L|Food|Edible}}|{{{edible|No}}}}}
+
{{inforow|[[Food|Edible]]|{{{edible|No}}}}}
{{inforow|{{L|Kitchen|Cookable}}|{{{cookable|No}}}}}
+
{{inforow|[[Kitchen|Cookable]]|{{{cookable|No}}}}}
{{inforow|{{L|Still|Alcohol}}|{{{alcohol|None}}}}}
+
{{inforow|[[Still|Alcohol]]|{{{alcohol|None}}}}}
 
{{#if:{{{uses|}}}|{{infoheader|Uses}}
 
{{#if:{{{uses|}}}|{{infoheader|Uses}}
 
{{infocell|{{{uses|}}}}}}}
 
{{infocell|{{{uses|}}}}}}}
{{infoheader|Other products}}
+
{{#if:{{{other_products|}}}|{{infoheader|Other products}}
{{infocell|{{{other_products|<div style="text-align: center">''None''</div>}}}}}
+
{{infocell|{{{other_products}}}}}}}
{{infoend}}{{#switch:{{NAMESPACE}}|#default|23a|40d|DF2010=
+
{{#ifexpr:{{#if:{{{wiki|}}}|1|0}} and {{#ifeq:{{{wiki|}}}|no|0|1}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1=[[wikipedia:{{#ifeq:{{{wiki|}}}|yes|{{{name}}}|{{{wiki|}}}}}|Wikipedia article]]}}|{{!-}}}}
 +
{{infoend}}{{#switch:{{NAMESPACE}}|#default|23a|40d|v0.31|DF2012=
 
{{Category|Crops}}
 
{{Category|Crops}}
{{#switch:{{NAMESPACE}}|#default|23a|40d|DF2010={{Category|Seedless plants}}|23a={{Category|Outdoor plants}}}}
+
{{#switch:{{NAMESPACE}}|#default|23a|40d|v0.31|DF2012={{Category|Seedless plants}}|23a={{Category|Outdoor plants}}}}
 
{{#ifeq:{{{edible|!}}}{{{cookable|!}}}|!!|{{Category|Inedible plants}}}}
 
{{#ifeq:{{{edible|!}}}{{{cookable|!}}}|!!|{{Category|Inedible plants}}}}
 
{{#ifeq:{{{alcohol|!}}}|!|{{Category|Non-brewable plants}}}}
 
{{#ifeq:{{{alcohol|!}}}|!|{{Category|Non-brewable plants}}}}

Latest revision as of 23:58, 19 September 2014


Usage:

{{Shrub|color=0:0:1|character=τ|name=Muck root|edible=Yes|cookable=Yes|alcohol=[[Swamp whiskey]]|spring=1|summer=1|autumn=1|winter=1|habitat=Wetland (Wet)|uses=
* [[Food]]
* [[Alcohol]]
}}


Muck root
= τ τ . ` ` `
= τ = ' . ` '
τ τ = , " ` "
` " . . . , ,
. . , . τ , ,
Seasons
Spring Summer Autumn Winter
Properties
Habitat Wetland (Wet)
Edible Yes
Cookable Yes
Alcohol Swamp whiskey
Uses