Jump to content

Module:Autotaxobox/doc

From Simple English Wikipedia, the free encyclopedia
Revision as of 10:43, 8 December 2016 by Peter coxhead (talk | changes) (clarify language)

This is the documentation page for Module:Autotaxobox


{{[[Module:{{{1}}}|#invoke:{{{1}}}]]|function}}

This module is still under development.

Its purpose is to provide support for automated taxobox templates (such as {{Automatic taxobox}} or {{Speciesbox}}), avoiding Mediawiki template expansion depth errors in the traversal of the taxonomic hierarchies encoded in taxonomy templates.

taxoboxColour

Given a taxon name, this function determines the correct colour of an automated taxobox for that taxon.

Usage:

{{#invoke:Autotaxobox|taxoboxColour|taxon_name}}

Parameters:

The unnamed parameter should be the name of a taxon for which "Template:Taxonomy/taxon_name" exists.