మూస:Automatic taxobox/doc
This is a documentation subpage for మూస:Automatic taxobox. It may contain usage information, categories and other content that is not part of the original మూస page. |
This template is used on approximately 81,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Taxonomy templates
Taxobox templates
- Which should be used?
- Changing the taxa displayed
- Convert a taxobox to an automated taxobox
- Glossary of automated taxobox parameters
- Automatic taxobox – mainly for genera and higher taxa
- Speciesbox – for a species
- Subspeciesbox – for an animal subspecies
- Infraspeciesbox – for a plant subspecies or variety
- Hybridbox – for an animal hybrid within a genus
- Ichnobox – for a trace fossil
- Oobox – for a fossil egg
- Virusbox – for viruses and non-cellular life
- Paraphyletic group – for concepts that do not correspond to a monophyletic clade
- Population taxobox - for notable populations of subspecies of animals
This page gives more details on using the {{Automatic taxobox}} template, one of a number of "automated taxobox templates". Please ensure that you are using the right template; see Which taxobox should I use?. In particular, articles about species should almost always use {{Speciesbox}}, not this template.
If this is your first time using any of the automated taxobox templates, the pages linked in the navigation box provide information on different parts of the system. It's a good idea to at least read the introduction.
Every automatic taxobox should contain the following general layout, often with many additional parameters:
For zoological taxa:
{{Automatic taxobox |taxon = Canis |authority = [[Carl Linnaeus|Linnaeus]], 1758 }}
For botanical[1] taxa:
{{Automatic taxobox |taxon = Nepenthes |authority = [[Carl Linnaeus|L.]] }}
The taxon is the scientific name for whatever the article is about. If you've never entered an authority, you can get help with that from the relevant WikiProject (see a directory at WP:TOL#Scope and descendant projects.
Hit "preview". If it looks correct, you're done. Save your changes. Please don't save the page until you've first checked for and resolved all issues with the automatic taxobox.
At the end of this guide is a list of all parameters available as well as definitions for all the parameters introduced by {{Automatic taxobox}}. Most parameters from the manual {{Taxobox}} template are valid in an automatic taxobox, and for descriptions of some of the parameters, see the documentation for that template.
Creating and manipulating
[మార్చు]"Missing taxonomy template"
[మార్చు]If you see the message "Missing taxonomy template (fix):", you didn't mess up the automatic taxobox. This error means that there isn't yet a taxonomy template for the value you've given |taxon=
.
Creating the taxonomy template
[మార్చు]To begin resolving this ugly red error, right-click the "fix" link and open that link in either a new tab or a new window. On the landing page, you should be editing a template corresponding to whatever taxon is at the end of the page's title. (For a complete guide to taxonomy templates, start at Introduction to taxonomy templates.)
First, fill in the rank parameter. Use the Latin name. Your options are pretty vast here (see Wikipedia:TX#Complete blank template for an extensive list of supported ranks). Some examples are as follows:
- regnum
- phylum
- classis
- ordo
- familia
- tribus
- genus
- clade or cladus
- unranked
If what you need is something extremely atypical, you can actually just type it there instead of one of the supported ranks. It might break the taxobox, but that's what Wikipedia talk:Automated taxobox system is for.
You'll see |link=
is already filled in for you with to give
link={{subst:#titleparts:{{subst:PAGENAME}}|2|2}}
which happens to be wikisyntax for "the part of the title of the page that comes after "Template:Taxonomy/". In other words, it will be the name of the taxon. You can leave it alone unless the name of the taxon isn't the name of the page it links to. For example, the taxon Spheniscidae is at Penguin. In this case, you would add Penguin|
before {{subst:#titleparts:{{subst:PAGENAME}}|2|2}}
to give
link=Penguin|{{subst:#titleparts:{{subst:PAGENAME}}|2|2}}
or you could replace what is there already to give
link=Penguin|Spheniscidae
Next, we have the |parent=
parameter. All that you need to type here is the name of the immediate parent taxon, beginning with a capital letter. Use the |refs=
parameter to cite a source which says that the taxon belongs in that parent taxon – in case someone challenges it later. (The only case in which you might consider omitting this parameter is if you're using a WikiProject approved taxonomy, e.g. APG for flowering plants.)
If it's an extinct taxon, fill in the |extinct=
parameter with yes
(or true
). If it's extant, you can delete the whole line (or leave the value blank).
Now preview the taxonomy template page. If there are no error messages, then close it. Go back to the automatic taxobox you were making. Press "preview" again and now it should be ok. If there are error messages on the taxonomy template page, it probably means you have to repeat the process to create the taxon's parent' taxonomy template. Continue previewing and creating taxonomy templates for the ancestor taxa until the "taxonomy missing" errors cease.
Special instructions for species
[మార్చు]Species articles only use this template in exceptional circumstances; instead use {{Speciesbox}}. See that page and its documentation.
- The reason is that whenever {{Automatic taxobox}} is used with
|taxon=taxon-name
, a template named "Template:Taxonomy/taxon-name" must either exist or be created in order to specify the taxonomic position of taxon-name. However, for species this is not necessary, because the taxonomic position of the species can be found by extracting the genus name from the full binomial, and then looking for "Template:Taxonomy/genus-name". So using {{Speciesbox}} considerably reduces the number of taxonomy templates needed and avoids there being different taxonomies for different species in a genus.
Making the links bold
[మార్చు]When a taxobox appears in an article, the taxon the article is about should have its name displayed in bold. For this to work, the |link=
parameter in its taxonomy template must be right. Suppose the taxon in question has the name taxon-name and the article it appears in has the title article-title. Then in the template "Taxonomy/taxon-name":
- if taxon-name and article-title are the same, you should see
|link=taxon-name
- if taxon-name and article-title are different, you should see
|link=article-title|taxon-name
.
Ensure the link is entered so that it points directly to the article on that taxon without being redirected first. If the page gets moved, the taxon template that links to that article will need to be updated in order to maintain the proper bolding.
Change the taxobox header
[మార్చు]By default the header to the taxobox will be based on the target taxon and the page title and it will automatically be italicized if it's a genus (this template, {{Automatic taxobox}}, shouldn't normally be used for species).
If you want a different header (e.g. the common name), then specify |name=
.
Add an image
[మార్చు]Use the |image=
and |image_caption=
parameters just like you would with the {{Taxobox}}.
If you want a second image, add |image2=
and |image2_caption=
.
పర్యాయపదాలు
[మార్చు]Here's an example of what to add to a taxobox where Genius and Geniosus happen to be synonyms of the named zoological taxon:
|synonyms=
* ''Genius'' {{small|[[Baggins]], 1934}}
* ''Geniosus'' {{small|[[Harvey]], 1734}}
(Dates are omitted for botanical taxa.) For long lists of synonyms, {{Genus list}} and {{Taxon list}} make entry easier. Don't forget to complete |synonyms_ref=
.
Forcing a taxon to display
[మార్చు]If there's a particularly notable taxon of a minor rank, such as Theropoda (which contains all carnivorous dinosaurs) chances are that you'd like the taxon to display in every single taxobox that it could possibly be displayed in. Navigate to that taxon's taxonomy template. The link should be "Template:Taxonomy/" followed by the name of the taxon. In the case of Theropoda, the link would be "Template:Taxonomy/Theropoda". Add the code |always_display=true
anywhere you'd like inside braces, and that should force the taxon to display all the time regardless of its rank.
Correcting a taxonomy
[మార్చు]Every automatic taxobox has an edit link on the right end of the bar that says "Scientific classification" (it was a red pencil icon as of ఏప్రిల్ 2019[update]). That link should give you access to a full listing of that taxon's taxonomy.
From there, you may edit a taxon by clicking "Edit" next to its name. Doing so allows you to access the corresponding Template:Taxonomy/ page, where you can assign a different parent, rank, display text, link, references, extinction status, or "display always" value. Any edits you make to one of these templates will affect all its descendent taxa, so keep that in mind while editing.
Available parameters and how to use them
[మార్చు]Available parameters (note that all parameters are optional, although to produce the desired results, many may be required):
All parameters
[మార్చు]{{automatic taxobox|italic_title=
|taxon=
|name=
|authority=
|display_parents=
|edit_link=
|fossil_range=
|oldest_fossil=
|youngest_fossil=
|display_parents=
|parent_authority=
|grandparent_authority=
|greatgrandparent_authority=
|greatgreatgrandparent_authority=
|color_as=
|status=
|status_system=
|status_ref=
|status2=
|status2_system=
|status2_ref=
|image=
|image_upright=
|image_alt=
|image_caption=
|image2=
|image2_upright=
|image2_alt=
|image2_caption=
|classification_status=
|diversity=
|diversity_link=
|binomial=
|binomial_authority=
|trinomial=
|trinomial_authority=
|type_genus=
|type_genus_authority=
|type_species=
|type_species_authority=
|subdivision=
|subdivision_ranks=
|type_strain=
|range_map=
|range_map_upright=
|range_map_alt=
|range_map_caption=
|binomial2=
|binomial2_authority=
|range_map2=
|range_map2_upright=
|range_map2_alt=
|range_map2_caption=
|binomial3=
|binomial3_authority=
|range_map3=
|range_map3_upright=
|range_map3_alt=
|range_map3_caption=
|binomial4=
|binomial4_authority=
|range_map4=
|range_map4_upright=
|range_map4_alt=
|range_map4_caption=
|synonyms=
|synonyms_ref=
}}
Italic title
[మార్చు]It is not usually necessary to add {{Italic title}} to an article that uses the Automatic taxobox template. If the title should be italicized, based on whether the page title matches the name of the taxon and the taxon's rank is genus or below, it will be added automatically.
In a few cases, the italicization produced by {{Italic title}} is incorrect. For example, if the article title is a subgenus formatted like "Mus (Coelomys)", the parenthesized subgenus will be treated as a disambiguation term, so that the title would appear incorrectly as "Mus (Coelomys)". In such cases:
- put
|italic_title=no
in the taxobox to prevent the automatic addition of {{Italic title}} - use {{DISPLAYTITLE:...}} to italicize the page title, e.g. {{DISPLAYTITLE:''Mus'' (''Coelomys'')}}
Parameters unique to {{Automatic taxobox}}
[మార్చు]In the following sections, parameters used by {{Taxobox}} may not be covered in detail. See its documentation.
Parameter |taxon=
[మార్చు]Generally, this is the name of the taxon the article is about. In the resulting taxobox, this parameter is the one that is bolded. (To bold multiple taxa, see #Making the links bold.)
More accurately, if |taxon=TAXON
, the system will expect there to be a page at "Template:Taxonomy/TAXON". In some circumstances, TAXON may not be the name of the taxon, e.g. if a plant and animal share the same genus name, there may be two taxonomy templates called "Template:Taxonomy/GENUS (plant)" and "Template:Taxonomy/GENUS (animal)". In such cases, something like the following is required:
{{Automatic taxobox
| taxon = GENUS (plant)
This ensures that the system links to the right taxonomy template.
If this parameter is omitted, as of డిసెంబరు 2012[update] the system will attempt to infer what its value should be from the page name. Omitting the taxon
parameter is strongly deprecated and may not be supported in future.
Parameter |name=
[మార్చు]If the title of the taxobox should be different from the default value, enter it here. This is most commonly used for common names.
Parameter |authority=
[మార్చు]This parameter is similar to the authority parameters in the {{Taxobox}}. The only difference is that you don't have to specify the rank this authority matches up with – it will pair it with the taxon listed in the |taxon=
parameter.
Parameter |fossil_range=
[మార్చు]There are two ways of using this parameter.
|fossil_range=recognized period name
, e.g.|fossil_range=Devonian
– assumes the taxon has fossils only in this period and produces a display accordingly.|fossil_range=any other value
– displays the value provided. Often this will be a use of the template {{Geological range}}, e.g.|fossil_range=
; however, it can also be plain text, e.g.{{Geological range|Devonian|Jurassic}}
|fossil_range=Probably Devonian–Jurassic
.
See also |oldest_fossil=
and |youngest_fossil=
below.
Parameter |edit_link=
[మార్చు]In most cases, there is no reason to use this parameter. If used, whatever is entered here will display in single brackets in place of the letter "e". This is the "edit taxonomy" link which allows readers to easily access the taxonomy for quick, universal edits.
Parameters |oldest_fossil=
and |youngest_fossil=
[మార్చు]These parameters are an alternative way of specifying the fossil range. If |youngest_fossil=
is omitted, its value defaults to "Recent". |oldest_fossil=Devonian
with |youngest_fossil=Jurassic
has the same effect as |fossil_range=
. If either parameter has a value that is not recognized as a period name, then plain text is output.
{{Geological range|Devonian|Jurassic}}
Parameter |display_parents=
[మార్చు]If you need to display a certain number of parent taxa, adding a number here will force that many parent taxa to appear.
Parameter |parent_authority=
, etc.
[మార్చు]- Parameter
|parent_authority=
- Parameter
|grandparent_authority=
- Parameter
|greatgrandparent_authority=
- Parameter
|greatgreatgrandparent_authority=
These function just like |authority=
, except they match up with the parent taxon, grandparent taxon, etc.
Warning The "ancestor" taxon is the one defined by the taxonomy templates (i.e. the various "Template:Taxonomy/<taxon>" pages, where <taxon> is the name of a taxon). This "ancestor" taxon may not be the taxon you expect! Further, if someone later changes the taxonomic hierarchy defined in the taxonomy templates by adding or removing a taxon, the authority can become incorrect. For example, if you are setting up a taxobox for a genus and the parent taxon is currently the family, |parent_authority=
shows the authority for the family in the taxobox. If someone later adds a subfamily between the genus and the family, |parent_authority=
will now refer to the subfamily, and the authority will be displayed incorrectly. These parameters should only be used if really necessary.
TemplateData
[మార్చు]TemplateData for Automatic taxobox
An infobox for plants, animals and other biological taxa, normally at the rank of genus and above
పరామితి | వివరణ | రకం | స్థితి | |
---|---|---|---|---|
color_as | color_as | Taxon defining the taxobox color if needed (normally not)
| స్ట్రింగు | ఐచ్చికం |
name | name | Title of the taxobox; may be the English name of the group
| స్ట్రింగు | ఐచ్చికం |
fossil_range | fossil_range | The geologic time span during which the group is generally known to have existed, given in eras; the template {{Fossil range}} is the most common method of presenting this information
| మూస | ఐచ్చికం |
oldest_fossil | oldest_fossil | The geological era of the oldest known fossil; paired with youngest_fossil, an alternative to fossil_range
| స్ట్రింగు | ఐచ్చికం |
youngest_fossil | youngest_fossil | The geological era of the youngest known fossil; paired with oldest_fossil, an alternative to fossil_range; defaults to 'Recent'
| స్ట్రింగు | ఐచ్చికం |
image | image | An image of member of the group, given without the File: or Image: prefix and without double brackets
| దస్త్రం | సూచించినవి |
image_upright | image_upright | Used to adjust the displayed size of an image with an extreme aspect ratio. Values under 1.0 decrease the size of an image (most useful for very tall, narrow images) Values over 1.0 increase the size of an image (possibly useful for short, wide images) | సంఖ్య | ఐచ్చికం |
image_alt | image_alt | వివరణ లేదు | స్ట్రింగు | ఐచ్చికం |
image_caption | image_caption | A caption for the image, if any is necessary
| స్ట్రింగు | ఐచ్చికం |
image2 | image2 | వివరణ లేదు | దస్త్రం | ఐచ్చికం |
image2_upright | image2_upright | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
image2_alt | image2_alt | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
image2_caption | image2_caption | వివరణ లేదు | స్ట్రింగు | ఐచ్చికం |
status | status | The conservation status of the taxon | తెలియనిది | వాడుకలో లేదు |
status_system | status_system | The authority assigning a conservation status
| స్ట్రింగు | వాడుకలో లేదు |
status_ref | status_ref | A citation that supports the displayed status and status_system parameters | స్ట్రింగు | వాడుకలో లేదు |
classification_status | classification_status | The status of the scientific group, usually presented as either Disputed or Accepted
| స్ట్రింగు | ఐచ్చికం |
greatgrandparent_authority | greatgrandparent_authority | The describing authority for the greatgrandparent taxon of a group. Should only be specified when the greatgrandparent, grandparent and parent taxa are monotypic | తెలియనిది | ఐచ్చికం |
grandparent_authority | grandparent_authority | The describing authority for the grandparent taxon of a group. Should only be specified when the grandparent and parent taxa are monotypic | స్ట్రింగు | ఐచ్చికం |
parent_authority | parent_authority | The describing authority for the parent taxon of a group. Should only be specified when the parent taxon is monotypic | స్ట్రింగు | ఐచ్చికం |
display_parents | display_parents | వివరణ లేదు | సంఖ్య | ఐచ్చికం |
taxon | taxon | Scientific name of group with no formatting
| స్ట్రింగు | తప్పనిసరి |
authority | authority | The desribing authority for the group in the appropriate format, which differs between nomenclature codes; presence or absence of parentheses is meaningful
| స్ట్రింగు | తప్పనిసరి |
type_species | type_species | The original name of the species that was initially used to describe a genus, without regard to its present-day nomenclature | స్ట్రింగు | ఐచ్చికం |
type_species_authority | type_species_authority | The describer of the original name of the species, so without parentheses | స్ట్రింగు | ఐచ్చికం |
type_genus | type_genus | The original name of the genus that was initially used to define a taxon at a rank above genus, without regard to its present-day nomenclature | స్ట్రింగు | ఐచ్చికం |
type_genus_authority | type_genus_authority | వివరణ లేదు | స్ట్రింగు | ఐచ్చికం |
subdivision_ranks | subdivision_ranks | వివరణ లేదు | స్ట్రింగు | సూచించినవి |
subdivision | subdivision | వివరణ లేదు | స్ట్రింగు | సూచించినవి |
diversity | diversity | వివరణ లేదు | స్ట్రింగు | ఐచ్చికం |
diversity_link | diversity_link | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
diversity_ref | diversity_ref | వివరణ లేదు | స్ట్రింగు | ఐచ్చికం |
range_map | range_map | The name of the image file, if any, showing the group's geographic habitat range, without the File: or Image: prefix and without double brackets
| దస్త్రం | ఐచ్చికం |
range_map_upright | range_map_upright | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
range_map_alt | range_map_alt | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
range_map_caption | range_map_caption | వివరణ లేదు | స్ట్రింగు | ఐచ్చికం |
range_map2 | range_map2 | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
range_map2_alt | range_map2_alt | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
range_map2_caption | range_map2_caption | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
synonyms | synonyms | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
synonyms_ref | synonyms_ref | వివరణ లేదు | స్ట్రింగు | ఐచ్చికం |
Tracking/maintenance categories
[మార్చు]Footnotes
[మార్చు]- ↑ Fungi and algae are classically treated as botanical subjects; see International Code of Nomenclature for algae, fungi, and plants.