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:Crop"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
(Now that DF includes real plants, add a wikipedia link, cloned from Template:CreatureInfo v0.40)
 
(60 intermediate revisions by 6 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|{{Crop/picture|character={{{character|?}}}|color={{{color}}}|seed_color={{{seed_color|{{{color}}}}}}}}}}
|+ style="font-weight: bold" | {{Raw Tile|{{{character}}}|{{{color}}}|white}} {{{name}}}
+
{{#if:{{{pref|}}}|{{infopref|{{{pref}}}}}}}
|-
+
{{infoheader|Seed}}
| colspan="2" |
+
{{inforow|{{{seed|{{{name}}} seed}}}|{{Raw Tile|·|{{{seed_color|{{{color}}}}}}}}}}
{| style="border-spacing: 0; background: black; padding: 0.2em; border: 1px solid white; margin: 0.5em auto"
+
{{infoheader|Seasons}}
|-
+
{{infocell|{{seasons|{{{spring|}}}|{{{summer|}}}|{{{autumn|}}}|{{{winter|}}}}}}}
|style="padding: 0"|{{Raw Tile|≈|#880|black}}
+
{{#if:{{{biome|}}}|{{infoheader|Biome}}
|style="padding: 0"|{{Raw Tile|{{{character}}}|{{{color}}}|black}}
+
{{infocell|{{{biome|}}}}}
|style="padding: 0"|{{Raw Tile|{{{character}}}|{{{color}}}|black}}
+
{{infocell|{{wetdry|{{{wet|}}}|{{{dry|}}}}}}}
|style="padding: 0"|{{Raw Tile|═|#880|black}}
+
{{#if:{{{alignment|}}}|{{infoheader|Alignment}}
|style="padding: 0"|{{Raw Tile|≈|#880|black}}
+
{{infocell|{{{alignment}}}|style=text-align:center}}}}}}
|style="padding: 0"|{{Raw Tile|·|{{{seed_color}}}|black}}
+
{{infoheader|Properties}}
|style="padding: 0"|{{Raw Tile|·|{{{seed_color}}}|black}}
+
{{#if:{{{habitat|}}}|{{inforow|[[Biome|Habitat]]|{{{habitat}}}}}}}
|-
+
{{inforow|[[Food|Edible]]|{{{edible|No}}}}}
|style="padding: 0"|{{Raw Tile|≈|#880|black}}
+
{{inforow|[[Kitchen|Cookable]]|{{{cookable|No}}}}}
|style="padding: 0"|{{Raw Tile|{{{character}}}|{{{color}}}|black}}
+
{{inforow|[[Still|Alcohol]]|{{{alcohol|None}}}}}
|style="padding: 0"|{{Raw Tile|═|#880|black}}
+
{{#if:{{{uses|}}}|{{infoheader|Uses}}
|style="padding: 0"|{{Raw Tile|═|#880|black}}
+
{{infocell|{{{uses}}}}}}}
|style="padding: 0"|{{Raw Tile|═|#880|black}}
+
{{#if:{{{other_products|}}}|{{infoheader|Other products}}
|style="padding: 0"|{{Raw Tile|·|{{{seed_color}}}|black}}
+
{{infocell|{{{other_products}}}}}}}
|style="padding: 0"|{{Raw Tile|·|{{{seed_color}}}|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]]}}|{{!-}}}}
|-
+
{{infoend}}{{#switch:{{NAMESPACE}}|#default|23a|40d|v0.31|DF2012=
|style="padding: 0"|{{Raw Tile|{{{character}}}|{{{color}}}|black}}
+
{{Category|Crops}}
|style="padding: 0"|{{Raw Tile|{{{character}}}|{{{color}}}|black}}
+
{{#if:{{{spring|}}}|{{Category|Spring crops}}}}
|style="padding: 0"|{{Raw Tile|═|#880|black}}
+
{{#if:{{{summer|}}}|{{Category|Summer crops}}}}
|style="padding: 0"|{{Raw Tile|═|#880|black}}
+
{{#if:{{{autumn|}}}|{{Category|Autumn crops}}}}
|style="padding: 0"|{{Raw Tile|═|#880|black}}
+
{{#if:{{{winter|}}}|{{Category|Winter crops}}}}
|style="padding: 0"|{{Raw Tile|·|{{{seed_color}}}|black}}
+
{{#switch:{{NAMESPACE}}|40d|v0.31|DF2012=
|style="padding: 0"|{{Raw Tile|&#x3D;|#444|black}}
+
{{#ifeq:{{{habitat|}}}|Subterranean|{{Category|Subterranean crops}}|{{Category|Surface crops}}}}|23a={{Category|Cave crops}}}}
|-
+
{{#ifeq:{{{edible|!}}}{{{cookable|!}}}|!!|{{Category|Inedible plants}}}}
|style="padding: 0"|{{Raw Tile|{{{character}}}|{{{color}}}|black}}
+
{{#ifeq:{{{alcohol|!}}}|!|{{Category|Non-brewable plants}}}}
|style="padding: 0"|{{Raw Tile|{{{character}}}|{{{color}}}|black}}
+
|Template=}}</includeonly><noinclude>
|style="padding: 0"|{{Raw Tile|═|#880|black}}
 
|style="padding: 0"|{{Raw Tile|═|#880|black}}
 
|style="padding: 0"|{{Raw Tile|≈|#880|black}}
 
|style="padding: 0"|{{Raw Tile|&#x3D;|#444|black}}
 
|style="padding: 0"|{{Raw Tile|&#x3D;|#444|black}}
 
|-
 
|style="padding: 0"|{{Raw Tile|{{{character}}}|{{{color}}}|black}}
 
|style="padding: 0"|{{Raw Tile|═|#880|black}}
 
|style="padding: 0"|{{Raw Tile|═|#880|black}}
 
|style="padding: 0"|{{Raw Tile||#880|black}}
 
|style="padding: 0"|{{Raw Tile|≈|#880|black}}
 
|style="padding: 0"|{{Raw Tile|.|#880|black}}
 
|style="padding: 0"|{{Raw Tile|.|#880|black}}
 
|}
 
|-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Seed
 
|-
 
| colspan="2" style="padding: 0.25em" | <span style="float: right">{{Raw Tile|·|{{{seed_color}}}|white}}</span> {{{seed}}}
 
|-
 
! 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" | [[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" | [[Food|Edible]]
 
| style="text-align: right; padding: 0.1em 0.25em" | {{{edible}}}
 
|-
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Kitchen|Cookable]]
 
| style="text-align: right; padding: 0.1em 0.25em" | {{{cookable}}}
 
|-
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Still|Alcohol]]
 
| style="text-align: right; padding: 0.1em 0.25em" | {{{alcohol}}}
 
|-
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Shrubs|Rarity]]
 
| style="text-align: right; padding: 0.1em 0.25em" | {{{rarity}}}
 
|-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Uses
 
{{if: {{uses|}}|
 
|-
 
| colspan="2" style="padding: 0.25em" |
 
{{{uses}}} }}
 
|-
 
! 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>
 
  
 +
{{Crop|color=5:0|seed_color=4:1|character=♠|name=Plump Helmet|seed=Plump Helmet Spawn
 +
|edible=Yes
 +
|cookable=Yes
 +
|alcohol=[[Dwarven wine]]
 +
|rarity=Common
 +
|spring=1|summer=1|autumn=1|winter=1
 +
|habitat=Subterranean
 +
|uses=
 +
* [[Food]]
 +
* [[Alcohol]]
 +
|wiki=yes
 +
}}
 
Usage:
 
Usage:
 
<pre><nowiki>
 
<pre><nowiki>
{{Crop|color=#909|seed_color=#f00|character=♠|name=Plump Helmet|seed=Plump Helmet Spawn|edible=Yes|cookable=Yes|alcohol=[[Dwarven wine]]|rarity=Common|spring=1|summer=1|autumn=1|winter=1|habitat=Subterranean|uses=
+
{{Crop|color=5:0|seed_color=4:1|character=♠|name=Plump Helmet|seed=Plump Helmet Spawn
 +
|edible=Yes
 +
|cookable=Yes
 +
|alcohol=[[Dwarven wine]]
 +
|rarity=Common
 +
|spring=1|summer=1|autumn=1|winter=1
 +
|habitat=Subterranean
 +
|uses=
 
* [[Food]]
 
* [[Food]]
 
* [[Alcohol]]
 
* [[Alcohol]]
|other_products=
+
|wiki=yes
<div style="text-align: center">''None''</div>
 
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
  
{{Crop|color=#909|seed_color=#f00|character=♠|name=Plump Helmet|seed=Plump Helmet Spawn|edible=Yes|cookable=Yes|alcohol=[[Dwarven wine]]|rarity=Common|spring=1|summer=1|autumn=1|winter=1|habitat=Subterranean|uses=
+
[[Category:Materials templates]]
* [[Food]]
+
</noinclude>
* [[Alcohol]]
 
|other_products=
 
<div style="text-align: center">''None''</div>
 
}}</noinclude>
 

Latest revision as of 23:47, 19 September 2014


Plump Helmet
· ·
· ·
· =
= =
. .
Seed
Plump Helmet Spawn ·
Seasons
Spring Summer Autumn Winter
Properties
Habitat Subterranean
Edible Yes
Cookable Yes
Alcohol Dwarven wine
Uses

Wikipedia article

Usage:

{{Crop|color=5:0|seed_color=4:1|character=♠|name=Plump Helmet|seed=Plump Helmet Spawn
|edible=Yes
|cookable=Yes
|alcohol=[[Dwarven wine]]
|rarity=Common
|spring=1|summer=1|autumn=1|winter=1
|habitat=Subterranean
|uses=
* [[Food]]
* [[Alcohol]]
|wiki=yes
}}