Jump to content

Module:Taxobox ranks/doc

From Wikipedia, the free encyclopedia

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 acceptable and the way they are displayed in English.

Usage

[edit]

{{Anglicise rank}} uses this module by invoking the function angliciseRank(). From Lua, use the function doAngliciseRank(rankName, check). See the documentation of {{Anglicise rank}} for details of how the function behaves.

A table containing all the ranks defined in the module can be displayed via {{#invoke:Taxobox ranks|showRanks}}.

To add a new rank

[edit]

To add a new rank, edit the table that defines the local variable ranks in this module. 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.