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
(rm: raw box)
(why remove the raws entirely? better for them to be out of place than entirely absent)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 +
{{sidebar|
 
{| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 17em"
 
{| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 17em"
 
|+ style="font-weight: bold" | {{Raw Tile|{{{character}}}|{{{color}}}|{{#ifeq:{{{color}}}|#fff|black|white}}}} {{{name}}}
 
|+ style="font-weight: bold" | {{Raw Tile|{{{character}}}|{{{color}}}|{{#ifeq:{{{color}}}|#fff|black|white}}}} {{{name}}}
Line 79: Line 80:
 
{{!}} colspan="2" style="padding: 0.25em" {{!}}
 
{{!}} colspan="2" style="padding: 0.25em" {{!}}
 
{{{other_products|<div style="text-align: center">''None''</div>}}}
 
{{{other_products|<div style="text-align: center">''None''</div>}}}
|}
+
|}{{#switch:{{NAMESPACE}}|23a|40d={{Matgloss raw|{{{name}}}}}|DF2010={{Plant raw|{{{name}}}}}}}{{#switch:{{NAMESPACE}}|#default|23a|40d|DF2010=
{{#switch:{{NAMESPACE}}|#default|23a|40d|DF2010=
 
 
{{Category|Crops}}
 
{{Category|Crops}}
 
{{#if:{{{spring|}}}|{{Category|Spring crops}}}}
 
{{#if:{{{spring|}}}|{{Category|Spring crops}}}}
Line 90: Line 90:
 
{{#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>
  

Revision as of 14:01, 5 May 2010


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