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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(un-invert wikipedia logic for plants (Template talk:Plantlookup/aux))
 
(35 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
{{#if:{{{pref|}}}|{{infopref|{{{pref}}}}}}}
 
{{#if:{{{pref|}}}|{{infopref|{{{pref}}}}}}}
 
{{#if:{{{seed|}}}|{{infoheader|Seed}}
 
{{#if:{{{seed|}}}|{{infoheader|Seed}}
{{infocell|{{Raw Tile|·|{{{seed_color|{{{color}}}}}}}} {{{seed|{{{name}}} seed}}}}}}}
+
{{infocell|{{Raw Tile|·|{{{seed_color|{{{color}}}}}}}} {{#if:{{{seedimage|}}}| / [[File:{{{seedimage}}}]]|}} {{{seed|{{{name}}} seed}}}}}}}
 +
{{infoheader|Graphic}}
 +
{{infocell|{{#if:{{{graphic|}}}|[[File:{{{graphic}}}|center]]|No graphic}}}}
 
{{infoheader|Seasons}}
 
{{infoheader|Seasons}}
 
{{infocell|{{seasons|{{{spring|}}}|{{{summer|}}}|{{{autumn|}}}|{{{winter|}}}}}}}
 
{{infocell|{{seasons|{{{spring|}}}|{{{summer|}}}|{{{autumn|}}}|{{{winter|}}}}}}}
Line 12: Line 14:
 
{{infocell|{{{alignment}}}|style=text-align:center}}}}}}
 
{{infocell|{{{alignment}}}|style=text-align:center}}}}}}
 
{{infoheader|Products}}
 
{{infoheader|Products}}
 +
{{#if:{{{alcohol|}}}|{{inforow|[[Alcohol]]|{{{alcohol}}}{{Category|Brewable}}|}}|{{!-}}}}
 +
{{#if:{{{bud|}}}|{{inforow|[[Flower|Bud]]|{{{bud}}}}}{{Category|Flowers}}|{{!-}}}}
 +
{{#if:{{{bulb|}}}|{{inforow|[[Bulb]]|{{{bulb}}}}}{{Category|Bulbs}}|{{!-}}}}
 +
{{#if:{{{extract|}}}|{{inforow|[[Extract]]|[[{{{extract}}}]]}}{{Category|Extractable}}|{{!-}}}}
 +
{{#if:{{{flower|}}}|{{inforow|[[Flower]]|{{{flower}}}}}{{Category|Flowers}}|{{!-}}}}
 
{{#if:{{{fruit|}}}|{{inforow|[[Fruit]]|{{{fruit}}}}}{{Category|Fruit}}|{{!-}}}}
 
{{#if:{{{fruit|}}}|{{inforow|[[Fruit]]|{{{fruit}}}}}{{Category|Fruit}}|{{!-}}}}
 +
{{#if:{{{heart|}}}|{{inforow|[[Flower|Heart]]|{{{heart}}}}}{{Category|Flowers}}|{{!-}}}}
 
{{#if:{{{leaf|}}}|{{inforow|[[Leaf]]|{{{leaf}}}}}{{Category|Leaves}}|{{!-}}}}
 
{{#if:{{{leaf|}}}|{{inforow|[[Leaf]]|{{{leaf}}}}}{{Category|Leaves}}|{{!-}}}}
{{#if:{{{flower|}}}|{{inforow|[[Flower]]|{{{flower}}}}}{{Category|Flowers}}|{{!-}}}}
+
{{#if:{{{oil|}}}|{{inforow|[[Oil]]|{{{oil}}}}}{{Category|Pressable}}|{{!-}}}}
 +
{{#if:{{{paper|}}}|{{inforow|[[Paper]]|{{{paper}}}}}{{Category|Papers}}|{{!-}}}}
 
{{#if:{{{pod|}}}|{{inforow|[[Pod]]|{{{pod}}}}}{{Category|Pods}}|{{!-}}}}
 
{{#if:{{{pod|}}}|{{inforow|[[Pod]]|{{{pod}}}}}{{Category|Pods}}|{{!-}}}}
{{#if:{{{alcohol|}}}|{{inforow|[[Alcohol]]|{{{alcohol}}}{{Category|Brewable}}|}}|{{!-}}}}
 
 
{{#if:{{{mill|}}}|{{inforow|[[Powder]]|{{{mill}}}|}}{{Category|Millable}}|{{!-}}}}
 
{{#if:{{{mill|}}}|{{inforow|[[Powder]]|{{{mill}}}|}}{{Category|Millable}}|{{!-}}}}
{{#if:{{{oil|}}}|{{inforow|[[Oil]]|{{{oil}}}}}{{Category|Pressable}}|{{!-}}}}
 
{{#if:{{{extract|}}}|{{inforow|[[Extract]]|[[{{{extract}}}]]}}{{Category|Extractable}}|{{!-}}}}
 
 
{{#if:{{{process|}}}|{{inforow|[[Thresher|Processed to]]|[[{{{process}}}]]|}}{{Category|Processable}}|{{!-}}}}
 
{{#if:{{{process|}}}|{{inforow|[[Thresher|Processed to]]|[[{{{process}}}]]|}}{{Category|Processable}}|{{!-}}}}
 
{{#if:{{{other_products|}}}|{{infocell|{{{other_products}}}}}{{Category|Other products}}|{{!-}}}}
 
{{#if:{{{other_products|}}}|{{infocell|{{{other_products}}}}}{{Category|Other products}}|{{!-}}}}
Line 32: Line 38:
 
{{#if:{{{flower_edible|}}}|{{inforow|[[Food|Edible]]|{{{flower_edible}}}}}}}
 
{{#if:{{{flower_edible|}}}|{{inforow|[[Food|Edible]]|{{{flower_edible}}}}}}}
 
{{#if:{{{flower_cookable|}}}|{{inforow|[[Kitchen|Cookable]]|{{{flower_cookable}}}}}}}|{{!-}}}}
 
{{#if:{{{flower_cookable|}}}|{{inforow|[[Kitchen|Cookable]]|{{{flower_cookable}}}}}}}|{{!-}}}}
 +
{{#if:{{{bud|}}}|{{infoheader|Bud Properties}}
 +
{{#if:{{{bud_edible|}}}|{{inforow|[[Food|Edible]]|{{{bud_edible}}}}}}}
 +
{{#if:{{{bud_cookable|}}}|{{inforow|[[Kitchen|Cookable]]|{{{bud_cookable}}}}}}}|{{!-}}}}
 +
{{#if:{{{bulb|}}}|{{infoheader|Bulb Properties}}
 +
{{#if:{{{bulb_edible|}}}|{{inforow|[[Food|Edible]]|{{{bulb_edible}}}}}}}
 +
{{#if:{{{bulb_cookable|}}}|{{inforow|[[Kitchen|Cookable]]|{{{bulb_cookable}}}}}}}|{{!-}}}}
 
{{#if:{{{fruit|}}}|{{infoheader|Fruit Properties}}
 
{{#if:{{{fruit|}}}|{{infoheader|Fruit Properties}}
 
{{#if:{{{fruit_edible|}}}|{{inforow|[[Food|Edible]]|{{{fruit_edible}}}}}}}
 
{{#if:{{{fruit_edible|}}}|{{inforow|[[Food|Edible]]|{{{fruit_edible}}}}}}}
 
{{#if:{{{fruit_cookable|}}}|{{inforow|[[Kitchen|Cookable]]|{{{fruit_cookable}}}}}}}|{{!-}}}}
 
{{#if:{{{fruit_cookable|}}}|{{inforow|[[Kitchen|Cookable]]|{{{fruit_cookable}}}}}}}|{{!-}}}}
 +
{{#if:{{{heart|}}}|{{infoheader|Heart Properties}}
 +
{{#if:{{{heart_edible|}}}|{{inforow|[[Food|Edible]]|{{{heart_edible}}}}}}}
 +
{{#if:{{{heart_cookable|}}}|{{inforow|[[Kitchen|Cookable]]|{{{heart_cookable}}}}}}}|{{!-}}}}
 
{{#if:{{{seed|}}}|{{infoheader|Seed Properties}}
 
{{#if:{{{seed|}}}|{{infoheader|Seed Properties}}
 
{{#if:{{{seed_edible|}}}|{{inforow|[[Food|Edible]]|{{{seed_edible}}}}}}}
 
{{#if:{{{seed_edible|}}}|{{inforow|[[Food|Edible]]|{{{seed_edible}}}}}}}

Latest revision as of 10:28, 28 April 2024