Jump to content

Module:Autotaxobox/doc

From Simple English Wikipedia, the free encyclopedia
Revision as of 08:44, 8 December 2016 by Peter coxhead (talk | changes) (correct name!)

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 the automated taxobox templates (such as {{Automatic taxobox}} or {{Speciesbox}}), and in particular to provide ways of traversing taxonomic hierarchies encoded in taxonomy templates while avoiding Mediawiki template expansion depth errors.

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 there exists "Template:Taxonomy/taxon_name".