Template:Taxobox/species: Difference between revisions
Template page
More actions
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|=| ({{{extinction_date}}})}} |
| ex = [[Extinction|Extinct]]{{#switch:{{{extinction_date|}}}|y|yes|true|=| ({{{extinction_date}}})}} |
||
| Line 60: | Line 60: | ||
| en = [[Endangered species|Endangered]] |
| en = [[Endangered species|Endangered]] |
||
| {{{2}}} |
| {{{2}}} |
||
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|{{{1}}}}}){{{3|}}}</small> {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes with an unrecognised status system]]|}} |
}}<small> ({{#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}}} |
||