Module:Taxobox ranks/doc
| This is a documentation subpage for Module:Taxobox ranks. It may contain usage information, categories and other content that is not part of the original module page. |
| This module is rated as alpha. It is ready for limited use and third-party feedback. It may be used on a small number of pages, but should be monitored closely. Suggestions for new features or adjustments to input and output are welcome. |
UNDER DEVELOPMENT
This module provides support to the automated taxobox system – templates such as {{Automatic taxobox}} or {{Speciesbox}}. Part of it also supports manual taxoboxes.
In particular it is part of the configuration of taxoboxes and taxonomy templates, defining the rank names that are accepted and the way they are displayed in English.
{{Anglicise rank}} uses this module to find an English version of a taxon rank used in taxonomy templates and the taxoboxes.
Usage
Add a new rank
To add a new rank, edit the table that defines the local variable ranks. The rank name should be in Latin, where a Latin version exists, and should be all lower-case. The equivalent English name should be capitalised. 'Special cases' have italicized English names.
Retrieve English name
In Lua, use {{#invoke:Taxobox ranks|angliciseRank|RANKNAME|check=yes OR no}}
In template code, use {{Anglicise rank|RANKNAME|check=yes OR no}} [ONLY SANDBOX VERSION of Anglicise rank at present]