Template:Uses & Toxicity: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
|} | |} | ||
Edible: {{#switch:{{{edible|}}} | Edible: {{#switch:{{{edible|}}} | ||
| | |1=[[:Category:Edible|Yes]] | ||
| | |0=No}}{{#if:{{{edible_details|}}}|, {{{edible_details}}} }} {{#ifeq:{{{edible|}}}|Yes|[[Category:Edible]]}} | ||
<br> | <br> | ||
Medicinal: {{#switch:{{{medicinal|}}} | Medicinal: {{#switch:{{{medicinal|}}} | ||
| | |1=[[:Category:Medicinal|Yes]] | ||
| | |0=No}}{{#if:{{{medicinal_details|}}}|, {{{medicinal_details}}} }} {{#ifeq:{{{medicinal|}}}|Yes|[[Category:Medicinal]]}} | ||
<br> | <br> | ||
Other uses: {{{other_uses|}}} | Other uses: {{{other_uses|}}} | ||
<br> | <br> | ||
Toxicity: [[:Category:{{{toxicity}}}|{{{toxicity}}}]]{{#if:{{{toxicity_details|}}}|, {{{toxicity_details}}} }} [[Category:{{{toxicity}}}]]</includeonly><noinclude> | Toxicity: [[:Category:{{{toxicity}}}|{{{toxicity}}}]]{{#if:{{{toxicity_details|}}}|, {{{toxicity_details}}} }} [[Category:{{{toxicity}}}]] | ||
</includeonly> | |||
<noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"edible": { | "edible": { | ||
"label": "Is it edible? | "label": "Is it edible? Choose: 0 (no), or 1 (yes)." | ||
}, | }, | ||
"edible_details": { | "edible_details": { | ||
"label": "Explain the edible features or leave empty | "label": "Explain the edible features, or leave empty. You can cite references using <ref> ... </ref>." | ||
}, | }, | ||
"medicinal": { | "medicinal": { | ||
"label": "Is it medicinal? | "label": "Is it medicinal? Choose: 0 (no), or 1 (yes)." | ||
}, | }, | ||
"medicinal_details": { | "medicinal_details": { | ||
"label": "Explain the medicinal features or leave empty | "label": "Explain the medicinal features or leave empty. You can cite references using <ref> ... </ref>." | ||
}, | }, | ||
"other_uses": { | "other_uses": { | ||
"label": " | "label": "List and explain other uses, or write \"None\". You can cite references using <ref> ... </ref>." | ||
}, | }, | ||
"toxicity": { | "toxicity": { | ||
"label": "Is it poisonous? | "label": "Is it poisonous? Choose: Non-poisonous, Mildly poisonous, or Highly poisonous." | ||
}, | }, | ||
"toxicity_details": { | "toxicity_details": { | ||
"label": "Give details about the toxicity or leave empty | "label": "Give details about the toxicity or leave empty. You can cite references using <ref> ... </ref>." | ||
} | } | ||
}, | }, | ||
Revision as of 13:03, 27 June 2026
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Is it edible? Choose: 0 (no), or 1 (yes). | edible | no description | Unknown | optional |
| Explain the edible features, or leave empty. You can cite references using <ref> ... </ref>. | edible_details | no description | Unknown | optional |
| Is it medicinal? Choose: 0 (no), or 1 (yes). | medicinal | no description | Unknown | optional |
| Explain the medicinal features or leave empty. You can cite references using <ref> ... </ref>. | medicinal_details | no description | Unknown | optional |
| List and explain other uses, or write "None". You can cite references using <ref> ... </ref>. | other_uses | no description | Unknown | optional |
| Is it poisonous? Choose: Non-poisonous, Mildly poisonous, or Highly poisonous. | toxicity | no description | Unknown | optional |
| Give details about the toxicity or leave empty. You can cite references using <ref> ... </ref>. | toxicity_details | no description | Unknown | optional |