Template:Uses & Toxicity: Difference between revisions
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | |||
{|class="wikitable" style="background-color: yellow" | {|class="wikitable" style="background-color: yellow" | ||
|- | |- | ||
Line 7: | Line 7: | ||
|Yes=[[:Category:Edible|Yes]] | |Yes=[[:Category:Edible|Yes]] | ||
|No=No}}{{#if:{{{edible_details|}}}|, {{{edible_details}}} }} {{#ifeq:{{{edible|}}}|Yes|[[Category:Edible]]}} | |No=No}}{{#if:{{{edible_details|}}}|, {{{edible_details}}} }} {{#ifeq:{{{edible|}}}|Yes|[[Category:Edible]]}} | ||
<br> | |||
Medicinal: {{#switch:{{{medicinal|}}} | Medicinal: {{#switch:{{{medicinal|}}} | ||
|Yes=[[:Category:Medicinal|Yes]] | |Yes=[[:Category:Medicinal|Yes]] | ||
|No=No}}{{#if:{{{medicinal_details|}}}|, {{{medicinal_details}}} }} {{#ifeq:{{{medicinal|}}}|Yes|[[Category:Medicinal]]}} | |No=No}}{{#if:{{{medicinal_details|}}}|, {{{medicinal_details}}} }} {{#ifeq:{{{medicinal|}}}|Yes|[[Category:Medicinal]]}} | ||
<br> | |||
Other uses: {{{other_uses| | Other uses: {{{other_uses|}}} | ||
<br> | |||
Toxicity: [[:Category:{{{toxicity}}}|{{{toxicity}}}]]{{#if:{{{toxicity_details|}}}|, {{{toxicity_details}}} }} [[Category:{{{toxicity}}}]] | Toxicity: [[:Category:{{{toxicity}}}|{{{toxicity}}}]]{{#if:{{{toxicity_details|}}}|, {{{toxicity_details}}} }} [[Category:{{{toxicity}}}]]</includeonly><noinclude> | ||
<noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"edible": {}, | "edible": { | ||
"edible_details": {}, | "label": "Is it edible?", | ||
"medicinal": {}, | "description": "Write: Yes / No" | ||
"medicinal_details": {}, | }, | ||
"other_uses": { | "edible_details": { | ||
"label": "Explain the edible features or leave empty", | |||
"toxicity": {}, | "description": "You can cite references with <ref> ... </ref>" | ||
"toxicity_details": {} | }, | ||
"medicinal": { | |||
"label": "Is it medicinal?", | |||
"description": "Write: Yes / No" | |||
}, | |||
"medicinal_details": { | |||
"label": "Explain the medicinal features or leave empty", | |||
"description": "You can cite references with <ref> ... </ref>" | |||
}, | |||
"other_uses": { | |||
"label": "Cite and explain other uses or write \"None\"", | |||
"description": "You can cite references with <ref> ... </ref>" | |||
}, | |||
"toxicity": { | |||
"label": "Is it poisonous?", | |||
"description": "Write: Non-poisonous / Mildly poisonous / Highly poisonous" | |||
}, | |||
"toxicity_details": { | |||
"label": "Give details about the toxicity or leave empty", | |||
"description": "You can cite references with <ref> ... </ref>" | |||
} | |||
}, | }, | ||
"format": "block" | "format": "block" |
Latest revision as of 19:59, 8 June 2024
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Is it edible? | edible | Write: Yes / No | Unknown | optional |
Explain the edible features or leave empty | edible_details | You can cite references with <ref> ... </ref> | Unknown | optional |
Is it medicinal? | medicinal | Write: Yes / No | Unknown | optional |
Explain the medicinal features or leave empty | medicinal_details | You can cite references with <ref> ... </ref> | Unknown | optional |
Cite and explain other uses or write "None" | other_uses | You can cite references with <ref> ... </ref> | Unknown | optional |
Is it poisonous? | toxicity | Write: Non-poisonous / Mildly poisonous / Highly poisonous | Unknown | optional |
Give details about the toxicity or leave empty | toxicity_details | You can cite references with <ref> ... </ref> | Unknown | optional |