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"
Jump to navigation
Jump to search
(fix usage cruft) |
|||
(54 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{infostart|{{{name}}}}} | <includeonly>{{infostart|{{{name}}}}} | ||
− | {{infocell|{{Crop/picture|character={{{character|?}}}|color={{{color}}}|seed_color={{{seed_color|{{{color}}}}}}}}}} | + | {{infocell|{{{{#if:{{{seed|}}}|Crop|Shrub}}/picture|character={{{character|?}}}|color={{{color}}}|seed_color={{{seed_color|{{{color}}}}}}}}}} |
{{#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 11: | Line 13: | ||
{{#if:{{{alignment|}}}|{{infoheader|Alignment}} | {{#if:{{{alignment|}}}|{{infoheader|Alignment}} | ||
{{infocell|{{{alignment}}}|style=text-align:center}}}}}} | {{infocell|{{{alignment}}}|style=text-align:center}}}}}} | ||
− | {{infoheader|Products}}{{#if:{{{fruit|}}}| | + | {{infoheader|Products}} |
− | {{inforow|[[Fruit]]|{{{fruit}}}}}}}{{#if:{{{ | + | {{#if:{{{alcohol|}}}|{{inforow|[[Alcohol]]|{{{alcohol}}}{{Category|Brewable}}|}}|{{!-}}}} |
− | {{inforow|[[ | + | {{#if:{{{bud|}}}|{{inforow|[[Flower|Bud]]|{{{bud}}}}}{{Category|Flowers}}|{{!-}}}} |
− | {{inforow|[[ | + | {{#if:{{{bulb|}}}|{{inforow|[[Bulb]]|{{{bulb}}}}}{{Category|Bulbs}}|{{!-}}}} |
− | {{inforow|[[ | + | {{#if:{{{extract|}}}|{{inforow|[[Extract]]|[[{{{extract}}}]]}}{{Category|Extractable}}|{{!-}}}} |
− | {{inforow|[[Thresher|Processed to]]|[[{{{process}}}]]|}}}}{{#if:{{{other_products|}}}| | + | {{#if:{{{flower|}}}|{{inforow|[[Flower]]|{{{flower}}}}}{{Category|Flowers}}|{{!-}}}} |
− | {{infocell|{{{other_products}}}}}}} | + | {{#if:{{{fruit|}}}|{{inforow|[[Fruit]]|{{{fruit}}}}}{{Category|Fruit}}|{{!-}}}} |
+ | {{#if:{{{heart|}}}|{{inforow|[[Flower|Heart]]|{{{heart}}}}}{{Category|Flowers}}|{{!-}}}} | ||
+ | {{#if:{{{leaf|}}}|{{inforow|[[Leaf]]|{{{leaf}}}}}{{Category|Leaves}}|{{!-}}}} | ||
+ | {{#if:{{{oil|}}}|{{inforow|[[Oil]]|{{{oil}}}}}{{Category|Pressable}}|{{!-}}}} | ||
+ | {{#if:{{{paper|}}}|{{inforow|[[Paper]]|{{{paper}}}}}{{Category|Papers}}|{{!-}}}} | ||
+ | {{#if:{{{pod|}}}|{{inforow|[[Pod]]|{{{pod}}}}}{{Category|Pods}}|{{!-}}}} | ||
+ | {{#if:{{{mill|}}}|{{inforow|[[Powder]]|{{{mill}}}|}}{{Category|Millable}}|{{!-}}}} | ||
+ | {{#if:{{{process|}}}|{{inforow|[[Thresher|Processed to]]|[[{{{process}}}]]|}}{{Category|Processable}}|{{!-}}}} | ||
+ | {{#if:{{{other_products|}}}|{{infocell|{{{other_products}}}}}{{Category|Other products}}|{{!-}}}} | ||
{{infoheader|Plant Properties}} | {{infoheader|Plant Properties}} | ||
{{#if:{{{habitat|}}}|{{inforow|[[Biome|Habitat]]|{{{habitat}}}}}}} | {{#if:{{{habitat|}}}|{{inforow|[[Biome|Habitat]]|{{{habitat}}}}}}} | ||
{{inforow|[[Food|Edible]]|{{{edible|No}}}}} | {{inforow|[[Food|Edible]]|{{{edible|No}}}}} | ||
{{#if:{{{cookable|}}}|{{inforow|[[Kitchen|Cookable]]|{{{cookable|No}}}}}}} | {{#if:{{{cookable|}}}|{{inforow|[[Kitchen|Cookable]]|{{{cookable|No}}}}}}} | ||
+ | {{#if:{{{leaf|}}}|{{infoheader|Leaf Properties}} | ||
+ | {{#if:{{{leaf_edible|}}}|{{inforow|[[Food|Edible]]|{{{leaf_edible}}}}}}} | ||
+ | {{#if:{{{leaf_cookable|}}}|{{inforow|[[Kitchen|Cookable]]|{{{leaf_cookable}}}}}}}|{{!-}}}} | ||
+ | {{#if:{{{flower|}}}|{{infoheader|Flower Properties}} | ||
+ | {{#if:{{{flower_edible|}}}|{{inforow|[[Food|Edible]]|{{{flower_edible}}}}}}} | ||
+ | {{#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_edible|}}}|{{inforow|[[Food|Edible]]|{{{seed_edible}}}}}}} | ||
+ | {{#if:{{{seed_cookable|}}}|{{inforow|[[Kitchen|Cookable]]|{{{seed_cookable}}}}}}}|{{!-}}}} | ||
{{#if:{{{uses|}}}|{{infoheader|Uses}} | {{#if:{{{uses|}}}|{{infoheader|Uses}} | ||
{{infocell|{{{uses}}}}}}} | {{infocell|{{{uses}}}}}}} | ||
− | {{# | + | {{#ifeq:{{{wiki|}}}|no|{{!-}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1=[[wikipedia:{{#if:{{{wiki|}}}|{{{wiki|}}}|{{{name}}}}}|Wikipedia article]]}}|{{!-}}}} |
− | {{infoend}}{{# | + | {{infoend}} |
− | {{Category| | + | {{#if:{{{seed|}}}|{{Category|Crops}}|{{Category|Shrubs}}}} |
− | {{#if:{{{spring|}}}|{{Category|Spring | + | {{#if:{{{spring|}}}|{{Category|Spring plants}}}} |
− | {{#if:{{{summer|}}}|{{Category|Summer | + | {{#if:{{{summer|}}}|{{Category|Summer plants}}}} |
− | {{#if:{{{autumn|}}}|{{Category|Autumn | + | {{#if:{{{autumn|}}}|{{Category|Autumn plants}}}} |
− | {{#if:{{{winter|}}}|{{Category|Winter | + | {{#if:{{{winter|}}}|{{Category|Winter plants}}}} |
− | {{# | + | {{#if:{{{underground|}}}|{{Category|Subterranean plants}}|{{Category|Surface plants}}}} |
− | + | </includeonly><noinclude> | |
− | + | [[Category:Infobox templates]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[Category: | ||
</noinclude> | </noinclude> |
Latest revision as of 10:28, 28 April 2024