Template:Uses & Toxicity: Difference between revisions

Documenting the wildlife of Lebanon
 
(6 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 6: 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|}}}{{#if:{{{other_uses_details|}}}|, {{{other_uses_details}}} }}
Other uses: {{{other_uses|}}}
 
<br>
Toxicity: [[:Category:{{{toxicity}}}|{{{toxicity}}}]]{{#if:{{{toxicity_details|}}}|, {{{toxicity_details}}} }} [[Category:{{{toxicity}}}]]<noinclude>
Toxicity: [[:Category:{{{toxicity}}}|{{{toxicity}}}]]{{#if:{{{toxicity_details|}}}|, {{{toxicity_details}}} }} [[Category:{{{toxicity}}}]]</includeonly><noinclude>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"edible": {},
"edible": {
"edible_details": {},
"label": "Is it edible?",
"medicinal": {},
"description": "Write: Yes / No"
"medicinal_details": {},
},
"other_uses": {},
"edible_details": {
"other_uses_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 20:59, 8 June 2024

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Is it edible?edible

Write: Yes / No

Unknownoptional
Explain the edible features or leave emptyedible_details

You can cite references with <ref> ... </ref>

Unknownoptional
Is it medicinal?medicinal

Write: Yes / No

Unknownoptional
Explain the medicinal features or leave emptymedicinal_details

You can cite references with <ref> ... </ref>

Unknownoptional
Cite and explain other uses or write "None"other_uses

You can cite references with <ref> ... </ref>

Unknownoptional
Is it poisonous?toxicity

Write: Non-poisonous / Mildly poisonous / Highly poisonous

Unknownoptional
Give details about the toxicity or leave emptytoxicity_details

You can cite references with <ref> ... </ref>

Unknownoptional