Jump to content

Template:Uses & Toxicity: Difference between revisions

Open-access database
No edit summary
No edit summary
Line 5: Line 5:
|}
|}
Edible: {{#switch:{{{edible|}}}
Edible: {{#switch:{{{edible|}}}
|Yes=[[:Category:Edible|Yes]]
|1=[[:Category:Edible|Yes]]
|No=No}}{{#if:{{{edible_details|}}}|, {{{edible_details}}} }} {{#ifeq:{{{edible|}}}|Yes|[[Category:Edible]]}}
|0=No}}{{#if:{{{edible_details|}}}|, {{{edible_details}}} }} {{#ifeq:{{{edible|}}}|Yes|[[Category:Edible]]}}
<br>
<br>
Medicinal: {{#switch:{{{medicinal|}}}
Medicinal: {{#switch:{{{medicinal|}}}
|Yes=[[:Category:Medicinal|Yes]]
|1=[[:Category:Medicinal|Yes]]
|No=No}}{{#if:{{{medicinal_details|}}}|, {{{medicinal_details}}} }} {{#ifeq:{{{medicinal|}}}|Yes|[[Category:Medicinal]]}}
|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)."
"description": "Write: Yes / No"
},
},
"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>."
"description": "You can cite references with <ref> ... </ref>"
},
},
"medicinal": {
"medicinal": {
"label": "Is it medicinal?",
"label": "Is it medicinal? Choose: 0 (no), or 1 (yes)."
"description": "Write: Yes / No"
},
},
"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>."
"description": "You can cite references with <ref> ... </ref>"
},
},
"other_uses": {
"other_uses": {
"label": "Cite and explain other uses or write \"None\"",
"label": "List and explain other uses, or write \"None\". You can cite references using <ref> ... </ref>."
"description": "You can cite references with <ref> ... </ref>"
},
},
"toxicity": {
"toxicity": {
"label": "Is it poisonous?",
"label": "Is it poisonous? Choose: Non-poisonous, Mildly poisonous, or Highly poisonous."
"description": "Write: Non-poisonous / Mildly poisonous / 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>."
"description": "You can cite references with <ref> ... </ref>"
}
}
},
},

Revision as of 13:03, 27 June 2026


No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Is it edible? Choose: 0 (no), or 1 (yes).edible

no description

Unknownoptional
Explain the edible features, or leave empty. You can cite references using <ref> ... </ref>.edible_details

no description

Unknownoptional
Is it medicinal? Choose: 0 (no), or 1 (yes).medicinal

no description

Unknownoptional
Explain the medicinal features or leave empty. You can cite references using <ref> ... </ref>.medicinal_details

no description

Unknownoptional
List and explain other uses, or write "None". You can cite references using <ref> ... </ref>.other_uses

no description

Unknownoptional
Is it poisonous? Choose: Non-poisonous, Mildly poisonous, or Highly poisonous.toxicity

no description

Unknownoptional
Give details about the toxicity or leave empty. You can cite references using <ref> ... </ref>.toxicity_details

no description

Unknownoptional