Jump to content

Module:Taxobox ranks/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Peter coxhead (talk | contribs) at 13:05, 7 May 2025. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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]