Jump to content

Module:Autotaxobox/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Peter coxhead (talk | contribs) at 08:39, 8 December 2016 (Created page with '{{Module rating |beta<!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call -->}} <...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)


{{[[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.

Taxobox colour

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

Usage:

{{#invoke:Autotaxobox|Taxobox colour|taxon_name}}

Parameters:

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