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
m (updated internal template links)
(Now that DF includes real plants, add a wikipedia link, cloned from Template:CreatureInfo v0.40)
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{infostart|{{{name}}}}}
{| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 17em"
+
{{infocell|{{Shrub/picture|character={{{character|"}}}|color={{{color}}}}}}}
|+ style="font-weight: bold" | {{Raw Tile|{{{character}}}|{{{color}}}|white}} {{{name}}}
+
{{#if:{{{pref|}}}|{{infopref|{{{pref}}}}}}}
|-
+
{{infoheader|Seasons}}
| colspan="2" |  
+
{{infocell|{{seasons|{{{spring|}}}|{{{summer|}}}|{{{autumn|}}}|{{{winter|}}}}}}}
{| style="border-spacing: 0; background: black; padding: 0.2em; border: 1px solid white; margin: 0.5em auto"
+
{{#if:{{{biome|}}}|{{infoheader|Biome}}
|-
+
{{infocell|{{{biome|}}}}}
|style="padding: 0"|{{Raw Tile|&#x3D;|#444|black}}
+
{{infocell|{{wetdry|{{{wet|}}}|{{{dry|}}}}}}}
|style="padding: 0"|{{Raw Tile|{{{character|"}}}|{{{color|{{color|2|0}}}}}|black}}
+
{{#if:{{{alignment|}}}|{{infoheader|Alignment}}
|style="padding: 0"|{{Raw Tile|{{{character|"}}}|{{{color|{{color|2|0}}}}}|black}}
+
{{infocell|{{{alignment}}}|style=text-align:center}}}}}}
|style="padding: 0"|{{Raw Tile|.|{{color|2|0}}|black}}
+
{{infoheader|Properties}}
|style="padding: 0"|{{Raw Tile|`|{{color|2|0}}|black}}
+
{{#if:{{{habitat|}}}|{{inforow|[[Biome|Habitat]]|{{{habitat}}}}}}}
|style="padding: 0"|{{Raw Tile|`|{{color|2|0}}|black}}
+
{{inforow|[[Food|Edible]]|{{{edible|No}}}}}
|style="padding: 0"|{{Raw Tile|`|{{color|2|1}}|black}}
+
{{inforow|[[Kitchen|Cookable]]|{{{cookable|No}}}}}
|-
+
{{inforow|[[Still|Alcohol]]|{{{alcohol|None}}}}}
|style="padding: 0"|{{Raw Tile|&#x3D;|#444|black}}
+
{{#if:{{{uses|}}}|{{infoheader|Uses}}
|style="padding: 0"|{{Raw Tile|{{{character|"}}}|{{{color|{{color|2|0}}}}}|black}}
+
{{infocell|{{{uses|}}}}}}}
|style="padding: 0"|{{Raw Tile|&#x3D;|#444|black}}
+
{{#if:{{{other_products|}}}|{{infoheader|Other products}}
|style="padding: 0"|{{Raw Tile|&#x27;|{{color|2|0}}|black}}
+
{{infocell|{{{other_products}}}}}}}
|style="padding: 0"|{{Raw Tile|.|{{color|2|0}}|black}}
+
{{#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]]}}|{{!-}}}}
|style="padding: 0"|{{Raw Tile|`|{{color|2|1}}|black}}
+
{{infoend}}{{#switch:{{NAMESPACE}}|#default|23a|40d|v0.31|DF2012=
|style="padding: 0"|{{Raw Tile|&#x27;|{{color|2|1}}|black}}
+
{{Category|Crops}}
|-
+
{{#switch:{{NAMESPACE}}|#default|23a|40d|v0.31|DF2012={{Category|Seedless plants}}|23a={{Category|Outdoor plants}}}}
|style="padding: 0"|{{Raw Tile|{{{character|"}}}|{{{color|{{color|2|0}}}}}|black}}
+
{{#ifeq:{{{edible|!}}}{{{cookable|!}}}|!!|{{Category|Inedible plants}}}}
|style="padding: 0"|{{Raw Tile|{{{character|"}}}|{{{color|{{color|2|0}}}}}|black}}
+
{{#ifeq:{{{alcohol|!}}}|!|{{Category|Non-brewable plants}}}}
|style="padding: 0"|{{Raw Tile|&#x3D;|#444|black}}
+
|Template=}}</includeonly><noinclude>
|style="padding: 0"|{{Raw Tile|,|{{color|2|1}}|black}}
 
|style="padding: 0"|{{Raw Tile|"|{{color|2|0}}|black}}
 
|style="padding: 0"|{{Raw Tile|`|{{color|2|1}}|black}}
 
|style="padding: 0"|{{Raw Tile|"|{{color|2|0}}|black}}
 
|-
 
|style="padding: 0"|{{Raw Tile|`|{{color|2|0}}|black}}
 
|style="padding: 0"|{{Raw Tile|"|{{color|2|0}}|black}}
 
|style="padding: 0"|{{Raw Tile|.|{{color|2|1}}|black}}
 
|style="padding: 0"|{{Raw Tile|.|{{color|2|1}}|black}}
 
|style="padding: 0"|{{Raw Tile|.|{{color|2|0}}|black}}
 
|style="padding: 0"|{{Raw Tile|,|{{color|2|1}}|black}}
 
|style="padding: 0"|{{Raw Tile|,|{{color|2|1}}|black}}
 
|-
 
|style="padding: 0"|{{Raw Tile|.|{{color|2|1}}|black}}
 
|style="padding: 0"|{{Raw Tile|.|{{color|2|1}}|black}}
 
|style="padding: 0"|{{Raw Tile|,|{{color|2|0}}|black}}
 
|style="padding: 0"|{{Raw Tile|.|{{color|2|0}}|black}}
 
|style="padding: 0"|{{Raw Tile|τ|{{color|2|0}}|black}}
 
|style="padding: 0"|{{Raw Tile|,|{{color|2|1}}|black}}
 
|style="padding: 0"|{{Raw Tile|,|{{color|2|1}}|black}}
 
|}
 
|-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Seasons
 
|-
 
| colspan="2" |{{seasons|{{{spring|}}}|{{{summer|}}}|{{{autumn|}}}|{{{winter|}}}}}
 
|-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Properties
 
|-
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{L|Biome|Habitat}}
 
| style="text-align: right; padding: 0.1em 0.25em" | {{{habitat}}}
 
|-
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{L|Food|Edible}}
 
| style="text-align: right; padding: 0.1em 0.25em" | {{{edible|No}}}
 
|-
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{L|Kitchen|Cookable}}
 
| style="text-align: right; padding: 0.1em 0.25em" | {{{cookable|No}}}
 
|-
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{L|Still|Alcohol}}
 
| style="text-align: right; padding: 0.1em 0.25em" | {{{alcohol|None}}}
 
{{#if: {{{uses|}}}|
 
{{!}}-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" {{!}} Uses
 
{{!}}-
 
{{!}} colspan="2" style="padding: 0.25em" {{!}}
 
{{{uses}}} |}}
 
{{#if: {{{other_products|}}}|
 
{{!}}-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" {{!}} Other products
 
{{!}}-
 
{{!}} colspan="2" style="padding: 0.25em" {{!}}
 
{{{other_products}}} |}}
 
|}</includeonly><noinclude>
 
 
 
  
 
Usage:
 
Usage:
 
<pre><nowiki>
 
<pre><nowiki>
{{Shrub|color={{color|0|1}}|character=&#x3C4;|name=Muck root|edible=Yes|cookable=Yes|alcohol=[[Swamp whiskey]]|spring=1|summer=1|autumn=1|winter=1|habitat=Wetland (Wet)|uses=
+
{{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]]
 
* [[Food]]
 
* [[Alcohol]]
 
* [[Alcohol]]
Line 87: Line 34:
 
</nowiki></pre>
 
</nowiki></pre>
  
{{Shrub|color={{color|0|1}}|character=&#x3C4;|name=Muck root|edible=Yes|cookable=Yes|alcohol=[[Swamp whiskey]]|spring=1|summer=1|autumn=1|winter=1|habitat=Wetland (Wet)|uses=
+
{{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]]
 
* [[Food]]
 
* [[Alcohol]]
 
* [[Alcohol]]

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