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
(convert this)
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}}}|{{#ifeq:{{{color}}}|#fff|black|white}}}} {{{name}}}
+
{{infoheader|Seed}}
|-
+
{{inforow|{{{seed|{{{name}}} seed}}}|{{Raw Tile|·|{{{seed_color|{{{color}}}}}}}}}}
| colspan="2" | {{Crop/picture|character={{{character|?}}}|color={{{color}}}|seed_color={{{seed_color|{{{color}}}}}}}}
+
{{infoheader|Seasons}}
|-
+
{{infocell|{{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" | Seed
+
{{infoheader|Properties}}
|-
+
{{inforow|{{L|Biome|Habitat}}|{{{habitat}}}}}
| colspan="2" style="padding: 0.25em" | <span style="float: right">{{Raw Tile|·|{{{seed_color|{{{color}}}}}}}}</span> {{{seed|{{{name}}} seed}}}
+
{{inforow|{{L|Food|Edible}}|{{{edible|No}}}}}
|-
+
{{inforow|{{L|Kitchen|Cookable}}|{{{cookable|No}}}}}
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Seasons
+
{{inforow|{{L|Still|Alcohol}}|{{{alcohol|None}}}}}
|-
+
{{#if:{{{uses|}}}|{{infoheader|Uses}}
| colspan="2" |{{seasons|{{{spring|}}}|{{{summer|}}}|{{{autumn|}}}|{{{winter|}}}}}
+
{{infocell|{{{uses|}}}}}}}
|-
+
{{infoheader|Other products}}
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Properties
+
{{infocell|{{{other_products|<div style="text-align: center">''None''</div>}}}}}
|-
+
{{infoend}}{{#switch:{{NAMESPACE}}|#default|23a|40d|DF2010=
! 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}}} |}}
 
{{!}}-
 
! 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|<div style="text-align: center">''None''</div>}}}
 
|}
 
{{#switch:{{NAMESPACE}}|#default|23a|40d|DF2010=
 
 
{{Category|Crops}}
 
{{Category|Crops}}
 
{{#if:{{{spring|}}}|{{Category|Spring crops}}}}
 
{{#if:{{{spring|}}}|{{Category|Spring crops}}}}
Line 48: Line 24:
 
{{#ifeq:{{{edible|!}}}{{{cookable|!}}}|!!|{{Category|Inedible plants}}}}
 
{{#ifeq:{{{edible|!}}}{{{cookable|!}}}|!!|{{Category|Inedible plants}}}}
 
{{#ifeq:{{{alcohol|!}}}|!|{{Category|Non-brewable plants}}}}
 
{{#ifeq:{{{alcohol|!}}}|!|{{Category|Non-brewable plants}}}}
|Template=}}
+
|Template=}}</includeonly><noinclude>
</includeonly><noinclude>
 
  
 
{{Crop|color=5:0|seed_color=4:1|character=♠|name=Plump Helmet|seed=Plump Helmet Spawn
 
{{Crop|color=5:0|seed_color=4:1|character=♠|name=Plump Helmet|seed=Plump Helmet Spawn

Revision as of 17:46, 21 May 2010


Plump Helmet
· ·
· ·
· =
= =
. .
Seed
Plump Helmet Spawn ·
Seasons
Spring Summer Autumn Winter
Properties
Template:L Subterranean
Template:L Yes
Template:L Yes
Template:L Dwarven wine
Uses
Other products
None

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]]
}}