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|}}}
|1=[[:Category:Edible|Yes]]
|Yes=[[:Category:Edible|Yes]]
|0=No}}{{#if:{{{edible_details|}}}|, {{{edible_details}}} }} {{#ifeq:{{{edible|}}}|Yes|[[Category:Edible]]}}
|No=No}}{{#if:{{{edible_details|}}}|, {{{edible_details}}} }} {{#ifeq:{{{edible|}}}|Yes|[[Category:Edible]]}}
<br>
<br>
Medicinal: {{#switch:{{{medicinal|}}}
Medicinal: {{#switch:{{{medicinal|}}}
|1=[[:Category:Medicinal|Yes]]
|Yes=[[:Category:Medicinal|Yes]]
|0=No}}{{#if:{{{medicinal_details|}}}|, {{{medicinal_details}}} }} {{#ifeq:{{{medicinal|}}}|Yes|[[Category:Medicinal]]}}
|No=No}}{{#if:{{{medicinal_details|}}}|, {{{medicinal_details}}} }} {{#ifeq:{{{medicinal|}}}|Yes|[[Category:Medicinal]]}}
<br>
<br>
Other uses: {{{other_uses|}}}
Other uses: {{{other_uses|}}}
Line 22: Line 22:
"params": {
"params": {
"edible": {
"edible": {
"label": "Is it edible? Choose: 0 (no), or 1 (yes)."
"label": "Is the species edible? Write: Yes, or No."
},
},
"edible_details": {
"edible_details": {
Line 28: Line 28:
},
},
"medicinal": {
"medicinal": {
"label": "Is it medicinal? Choose: 0 (no), or 1 (yes)."
"label": "Is the species medicinal? Write: Yes, or No."
},
},
"medicinal_details": {
"medicinal_details": {
"label": "Explain the medicinal features or leave empty. You can cite references using <ref> ... </ref>."
"label": "Explain the medicinal features, or leave empty. You can cite references using <ref> ... </ref>."
},
},
"other_uses": {
"other_uses": {
Line 37: Line 37:
},
},
"toxicity": {
"toxicity": {
"label": "Is it poisonous? Choose: Non-poisonous, Mildly poisonous, or Highly poisonous."
"label": "Is the species poisonous? Write: Non-poisonous, Mildly poisonous, or Highly poisonous."
},
},
"toxicity_details": {
"toxicity_details": {
"label": "Give details about the toxicity or leave empty. You can cite references using <ref> ... </ref>."
"label": "Give details about the toxicity, or leave empty. You can cite references using <ref> ... </ref>."
}
}
},
},

Latest revision as of 13:25, 27 June 2026


No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Is the species edible? Write: Yes, or No.edible

no description

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

no description

Unknownoptional
Is the species medicinal? Write: Yes, or No.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 the species poisonous? Write: 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