ಟೆಂಪ್ಲೇಟು: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 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 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.

/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)

Other templates
Template:Immediate children category