Jump to content

Module:Autotaxobox/doc

From Simple English Wikipedia, the free encyclopedia
Revision as of 08:39, 8 December 2016 by Peter coxhead (talk | changes) (Created page with '{{Module rating |beta<!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call -->}} <...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

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".