Difference between revisions of "Template:Anglicise rank"

From Eat Every Plant
Jump to navigation Jump to search
m (1 revision: Suaeda)
 
m (1 revision: Nauclea)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude><!--Note that #titleparts: is used to replace underscores by spaces before other processing.
 
<noinclude><!--Note that #titleparts: is used to replace underscores by spaces before other processing.
--></noinclude><includeonly>{{#ifeq:{{str_left|{{lc:{{{1}}}}}|8}}|unranked|(unranked)|{{#switch:{{lc:{{#titleparts:{{{1}}}|1}} }}|
+
--></noinclude><includeonly>{{#ifeq:{{str_left|{{lc:{{{1}}}}}|8}}|unranked|(unranked)|{{#switch:{{lc:{{#titleparts:{{{1}}}|1}} }}<!--
<!--Special cases, alphabetic order-->
+
--Special cases, alphabetic order-->
 
|alliance=''Alliance''
 
|alliance=''Alliance''
 
|basic shell type=''Basic shell type''
 
|basic shell type=''Basic shell type''
Line 12: Line 12:
 
|node=''Node''
 
|node=''Node''
 
|possible clade=''Clade?''
 
|possible clade=''Clade?''
 +
|realm=''Realm''
 
|species complex=''Species complex''
 
|species complex=''Species complex''
 
|species group=''Species group''
 
|species group=''Species group''
 
|species subgroup=''Species subgroup''
 
|species subgroup=''Species subgroup''
 
|stem group=''Stem group''
 
|stem group=''Stem group''
 +
|total group=''Total group''
 +
<!--Virus ranks below species-->
 +
|serotype=Serotype
 
|strain=Strain
 
|strain=Strain
|total group=''Total group''
 
 
|virus=Virus
 
|virus=Virus
 
|virus group=Group
 
|virus group=Group
Line 120: Line 123:
 
|oosuperordo=Oosuperorder
 
|oosuperordo=Oosuperorder
 
<!--default is to capitalize first letter and then put calling page in error category-->
 
<!--default is to capitalize first letter and then put calling page in error category-->
|#default={{#ifeq:{{{check|no}}}|yes|<span style="background-color:#F99">}}{{ucfirst:{{#titleparts:{{{1}}}|1}} }}{{#ifeq:{{{check|no}}}|yes|{{#ifeq:{{#titleparts:{{PAGENAME}}|1}}|Taxonomy|[[Category:Taxonomy templates using unrecognized rank parameters]]}}}}{{#ifeq:{{{check|no}}}|yes|</span>}}
+
|#default={{#ifeq:{{{check|no}}}|yes|<span style="background-color:#F99">}}{{ucfirst:{{#titleparts:{{{1}}}|1}}}}{{#ifeq:{{{check|no}}}|yes|</span>{{#ifeq:{{#titleparts:{{PAGENAME}}|1}}|Taxonomy|[[Category:Taxonomy templates using unrecognized rank parameters]]}}}}
}}}}</includeonly><noinclude>{{documentation}}</noinclude>
+
}}{{#ifeq:{{{check|no}}}|yes|{{#ifeq:{{lcfirst:{{{1}}}}}|{{{1}}}||{{#ifeq:{{#titleparts:{{PAGENAME}}|1}}|Taxonomy|[[Category:Taxonomy templates using capitalized rank parameters]]}}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 23:20, 23 March 2019

Template documentation[create]