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:Plantlookup/DF2014"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(+leaves, flowers, pods & seeds)
(don't define seed if not found)
Line 6: Line 6:
 
name={{ucfirst:{{tagvalue|{{{1}}}|NAME|notfound={{tagvalue|{{{1}}}|ALL_NAMES}}}}}}|
 
name={{ucfirst:{{tagvalue|{{{1}}}|NAME|notfound={{tagvalue|{{{1}}}|ALL_NAMES}}}}}}|
 
pref={{prefstring|{{{1}}}}}|
 
pref={{prefstring|{{{1}}}}}|
seed={{ucfirst:{{tagentry|{{{1}}}|SEED|2|notfound=None}}}}|
+
seed={{ucfirst:{{tagentry|{{{1}}}|SEED|2|notfound=}}}}|
 
edible={{#if:{{tag|{{#df_raw:{{{1}}}|USE_MATERIAL_TEMPLATE|STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE}}|EDIBLE_RAW}}|Yes|No}}|
 
edible={{#if:{{tag|{{#df_raw:{{{1}}}|USE_MATERIAL_TEMPLATE|STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE}}|EDIBLE_RAW}}|Yes|No}}|
 
cookable={{#if:{{tag|{{#df_raw:{{{1}}}|USE_MATERIAL_TEMPLATE|STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE}}|EDIBLE_COOKED}}|Yes|{{#if:{{tag|{{#df_raw:{{{1}}}|USE_MATERIAL_TEMPLATE|STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE}}|EDIBLE_RAW}}|Yes|No}}}}|
 
cookable={{#if:{{tag|{{#df_raw:{{{1}}}|USE_MATERIAL_TEMPLATE|STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE}}|EDIBLE_COOKED}}|Yes|{{#if:{{tag|{{#df_raw:{{{1}}}|USE_MATERIAL_TEMPLATE|STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE}}|EDIBLE_RAW}}|Yes|No}}}}|
Line 35: Line 35:
 
uses={{{uses|}}}|
 
uses={{{uses|}}}|
 
other_products={{{other_products|}}}|
 
other_products={{{other_products|}}}|
wiki={{#param:wiki|wp|wikipedia|}}}}{{interwiki|{{PAGENAME}}}}
+
wiki={{wiki|}}}}}{{interwiki|{{PAGENAME}}}}
 
{{Category|Crops}}</includeonly><noinclude>[[Category:raw templates]]</noinclude>
 
{{Category|Crops}}</includeonly><noinclude>[[Category:raw templates]]</noinclude>

Revision as of 19:52, 7 February 2015