Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Taxobox/species: Difference between revisions

Template page
Content deleted Content added
restrict invalid category to main namespace
handle no recognised system in module (just links a few statuses)
 
Line 52: Line 52:
* No status system *
* No status system *
********************
********************
-->| {{#switch:{{{2}}}
-->|{{#invoke:Conservation status|status|{{{1}}}|{{{2}}}|{{{3}}}}}<!-- {{#switch:{{{2}}}
| EX
| EX
| ex = [[Extinction|Extinct]]{{#switch:{{{extinction_date|}}}|y|yes|true|=|&nbsp;({{{extinction_date}}})}}
| ex = [[Extinction|Extinct]]{{#switch:{{{extinction_date|}}}|y|yes|true|=|&nbsp;({{{extinction_date}}})}}
Line 60: Line 60:
| en = [[Endangered species|Endangered]]
| en = [[Endangered species|Endangered]]
| {{{2}}}
| {{{2}}}
}}<small>&nbsp;({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|{{{1}}}}}){{{3|}}}</small> {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes with an unrecognised status system]]|}}
}}<small>&nbsp;({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|{{{1}}}}}){{{3|}}}</small> {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes with an unrecognised status system]]|}}-->
}}
}}
| {{#switch:{{{2}}}
| {{#switch:{{{2}}}

Latest revision as of 12:59, 9 April 2026