ಟೆಂಪ್ಲೇಟು:Automatic taxobox/map
This page provides a map of the templates which act together to create a taxobox in the automatic taxobox system. It is meant to assist editors maintaining the system.
Note that it may not always be up to date.
Overview
ಬದಲಾಯಿಸಿ(Updated 19 December 2012)
Four main templates are involved in the operation of the core part of the automatic taxobox system, i.e. in displaying a taxonomic hierarchy for a target taxon by retrieving information stored in "Taxonomy/TAXON" templates.
{{Automatic taxobox}}
- Generates an automatic taxobox. It uses the parameter taxon, or the page name if this parameter is omitted, to construct the name of the taxon which is the target of the automatic taxobox. It then invokes
{{Taxobox/core}}
with|parent=target_taxon
, passing on any other taxobox-related parameters.{{Taxobox/core}}
- Generates an automatic taxobox, but only when passed the parameter parent. (Otherwise it generates a manual taxobox.) It creates the structure of a taxobox and handles all the taxobox-related parameters passed to it other than parent. To handle parent it invokes
{{Taxobox/taxonomy}}
(or{{Taxobox/virus taxonomy}}
) passing the value of parent as the 1st un-named parameter.{{Taxobox/taxonomy}}
- Outputs the hierarchy of taxa above its parameter 1, i.e. target_taxon. It does this by invoking
{{Taxobox/showtaxon}}
repeatedly to show each taxon in the hierarchy above target_taxon, retrieving the taxa from the "Taxonomy/TAXON" templates. The repetition has to be done in a complex way because the template language doesn't allow recursion;{{Taxobox/taxonomy/ex3}}
,{{Taxobox/taxonomy/ex2}}
and{{Taxobox/taxonomy/ex1}}
are used to generate up to 10 rows each in the taxobox hierarchy. As of 19 ಡಿಸೆಂಬರ್ 2012[update] the first of these hard-codes some hierarchies.{{Taxobox/showtaxon}}
- Outputs a single taxon if it is to be shown in the taxobox. The output consists of the name of the rank, the name of the taxon (italicized if required) and the authority if this was passed as a parameter. The template decides whether to display or omit a taxon based on various criteria: whether it is a "major rank", how many parents are to be displayed, and whether
|always_display=yes
is set in the taxonomy template. Setting the parameter|force=true
forces the display (important when testing the template).
Detailed map
ಬದಲಾಯಿಸಿWARNING: As of 19 ಡಿಸೆಂಬರ್ 2012[update] the information below does not reflect significant changes made during October and November 2012.
Each template in this hierarchy calls the templates below it, roughly in the order that they appear below. This list only contains templates whose primary function is the provision of automatic taxoboxes.
- Template:Automatic taxobox
- Template:Automatic taxobox/floating intro (Provides help if "Template:Taxonomy/TAXON" doesn't exist)
- Template:Taxobox/taxon
- Template:PAGENAMEBASE
- Template:Taxonomy/(taxon-name)
- Template:Taxobox/core
- Template:Taxobox/species
- Template:Edit taxonomy
- Template:Taxobox/taxonomy (generates list of taxa that appears in taxoboxes)
- Template:Taxonomy/(taxon name)
- Template:Infrataxon()
- template:taxobox/taxonomy cell
- Template:Create taxonomy (Link to add new taxon)
- Template:Taxonomy/preload
- Template:Don't edit this line (and ~_rank, ~_parent, etc)
- Template:Taxonomy/sameas
- Template:Taxonomy/preload/?
- Template:Taxon? & Template:Taxon??
- (Which one of these is preloaded is determined by Template:Taxonomy preload)
- Template:Taxonomy/preload/incertae sedis
- Template:Taxonomy/preload
- Template:Taxonomy/(taxon name)
- Template:Taxonomy (generates a cell per taxonomic rank, see below)
- Template:Create taxonomy (Link to add new taxon)
- Template:taxobox/taxonomy/1, Template:taxobox/taxonomy/2, Template:taxobox/taxonomy/3
- (as taxobox/taxonomy)
- Template:Taxonomy (generates a cell per taxonomic rank)
- Template:Taxobox name
- Template:Taxobox/italics
- Template:Taxonomy/(taxon-name)
- Template:Taxobox colour
- template:taxobox/Error colour
- Template:Get regnum()
- Template:Is reg()
- Template:t^
- Template:t^^
- Template:t^4
- Template:t^16
- (All t^ family use Template:Taxonomy/[taxon-name])
- Template:Get regnum()/1
- Template:Get regnum()/2
- (and as per Template:Get regnum() above)
- Template:Child taxa/(taxon-name)
- Auto taxon list 1/2/3 / 2 collapsible/3 collapsible (the previous display in taxoboxes; the following in template:taxonomy/ pages)
/edit(Inner list, 1 taxon deep)/edit 2(collapsible to show descendants)/edit sisters (same as edit but doesn't list current taxon, to avoid loops)
- Template:Add new taxon
- Template:nested taxon list — If
|display_children=
>1, generates the list of child taxa, nesting lists generated throughTemplate:Child taxa/taxon-name
- Template:species list/core
- Template:Collapsible taxon list
- Template:Get italic link
- Template:Taxonomy/(taxon-name)
- Template:Edit a taxon
- Template:Taxonomy/(taxon-name)
Other templates | |
---|---|
Template:Immediate children category | |
| |
|
|