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/aux"
Jump to navigation
Jump to search
(forgot, {{#df_raw}} enforces [ENTITY:ID] and will not match [ENTITY:ID:etc.] - might want to update it to support that as well) |
|||
(21 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{tag|{{{1}}}|SEED}}| | + | <includeonly>{{{{#if:{{tag|{{{1}}}|SEED}}|Crop|Shrub}}| |
− | + | color={{tagvalue|{{{1}}}|PICKED_COLOR|notfound=2:0:0}}| | |
− | color={{tagvalue|{{{1}}}|PICKED_COLOR}}| | + | pref={{prefstring|{{{1}}}}}| |
seed_color={{tagentry|{{{1}}}|SEED|3:5}}| | seed_color={{tagentry|{{{1}}}|SEED|3:5}}| | ||
− | character={{char|{{tagvalue|{{{1}}}|PICKED_TILE}}}}| | + | graphic={{{graphic|}}}| |
+ | seedimage={{{seedimage}}}| | ||
+ | character={{char|{{tagvalue|{{{1}}}|PICKED_TILE|notfound=τ}}}}| | ||
name={{ucfirst:{{tagvalue|{{{1}}}|NAME|notfound={{tagvalue|{{{1}}}|ALL_NAMES}}}}}}| | name={{ucfirst:{{tagvalue|{{{1}}}|NAME|notfound={{tagvalue|{{{1}}}|ALL_NAMES}}}}}}| | ||
− | seed={{ucfirst:{{tagentry|{{{1}}}|SEED| | + | seed={{ucfirst:{{tagentry|{{{1}}}|SEED|2}}}}| |
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|{{tag|{{#df_raw:{{{1}}}|USE_MATERIAL_TEMPLATE|STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE}}|EDIBLE_RAW}}}}| | + | 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}}}}| |
− | alcohol={{#if:{{tag|{{{1}}}|DRINK}}| | + | alcohol={{#if:{{tag|{{{1}}}|DRINK}}|[[{{ucfirst:{{#df_statedesc:{{#df_raw:{{{1}}}|USE_MATERIAL_TEMPLATE|{{tagentry|{{{1}}}|DRINK|2}}:PLANT_ALCOHOL_TEMPLATE}}|NAME|LIQUID}}}}]]|None}}| |
+ | mill={{#if:{{tag|{{{1}}}|MILL}}|{{ucfirst:{{#df_statedesc:{{#df_raw:{{{1}}}|USE_MATERIAL_TEMPLATE|{{tagentry|{{{1}}}|MILL|2}}:PLANT_POWDER_TEMPLATE}}|NAME|POWDER}}}}|None}}| | ||
spring={{tag|{{{1}}}|SPRING}}| | spring={{tag|{{{1}}}|SPRING}}| | ||
summer={{tag|{{{1}}}|SUMMER}}| | summer={{tag|{{{1}}}|SUMMER}}| | ||
Line 18: | Line 21: | ||
dry={{tag|{{{1}}}|DRY}}| | dry={{tag|{{{1}}}|DRY}}| | ||
uses={{{uses|}}}| | uses={{{uses|}}}| | ||
− | other_products={{{other_products| | + | other_products={{{other_products|}}}| |
− | + | wiki={{#param:wiki|wp|wikipedia|}}}}{{interwiki|{{PAGENAME}}}}</includeonly><noinclude>[[Category:raw templates]]</noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |