Bản mẫu:Bảng phân loại tự động/doc

Trang này cung cấp thêm cách sử dụng Bảng phân loại tự động, một trong số các "bản mẫu Bảng phân loại tự động". Hãy chắn chắn ràng bạn đang dùng đúng bản mẫu; đọc thêm Tôi nên dùng Bảng phân loại tự động nào?. Cụ thể, với bài nói về "loài", bạn nên dùng Speciesbox, chứ không phải bản mẫu này.
Nếu đây là lần đầu bạn dùng loại Bảng phân loại tự động này, bạn có thể tham khảo danh mục hướng dẫn bên phải hoặc đọc  hướng dẫn cụ thể.
Mỗi bảng phân loại tự động sẽ có bố cục chung như dưới đây, với những tham số được bổ sung:
Phân loại động vật:
Phân loại thực vật:
Hầu hết thông số của bản mẫu nhập thủ công Bảng phân loại đều có hiệu lực với Bảng phân loại tự động. Bạn có thểm tham khảo phần tài liệu của Bảng phân loại.

**Các ví dụ cụ thể**

**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. There are many options here (see Wikipedia:Automated taxobox system/taxonomy templates#rank for a 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=
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  to give
link=Penguin|
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 exceptional cases are discussed below.
The reason is that whenever  is used with 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 taxon-name- if taxon-name and article-title are different, you should see .
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, , 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.

**Synonyms**
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 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 lc=yes). 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 descendant taxa, so keep that in mind while editing.

**Exceptional cases**
The great majority of taxa can be handled fully automatically by one of the automated taxoboxes once the necessary taxonomy templates at the rank of genus and above have been created. The automation includes italicizing the names of appropriate ranks. However, there are some exceptional cases where manual formatting of taxon names is needed; for example, the automatic formatting does not work correctly when uncertain names are indicated by surrounding them by double quotes, or for candidatus names in the International Code of Nomenclature of Prokaryotes.
For these exceptional cases, it is possible to supply the full wikitext of genus and species names.
*taxon now specifies the lowest ranked taxon that will be handled automatically via a taxonomy template
*if this taxon is not a genus, genus_text supplies the full wikitext of the genus name, complete with all required formatting including bold text if it is the lowest ranked name in the taxobox.  If not the lowest rank, a link should be included for navigation.
*species_text supplies the full wikitext of the abbreviated species name, complete with all required formatting, including bold text if it is the lowest ranked name in the taxobox; the species name should be complete with an abbreviated genus name (e.g.  to produce "C." poecilonotus)
*binomial_text supplies the full wikitext of the binomial name (the text that appears in the binomial box of a species taxobox), again complete with all the required formatting; however binomials are automatically made bold, so this element is not needed
If the article has the unusually formatted scientific name as its title, it will also be necessary to use  to format the article title and name to supply the formatted heading for the taxobox.

**Examples**
The taxonomic hierarchy from the genus Quassia upwards is obtained from taxonomy templates, starting with Template:Taxonomy/Quassia. Clicking on the red pencil icon takes you to this template.
*The wikitext for the species row and the binomial box are used exactly as supplied. (The nowrap in the species text ensures that parts of the name don't wrap onto the next line, and wouldn't be needed if an image made the taxobox wider.) 
*The taxonomic hierarchy from the family Dendrobatidae upwards is obtained from taxonomy templates, starting with Template:Taxonomy/Dendrobatidae. Clicking on the red pencil icon takes you to this template. No taxonomy template is used for the genus.
*The wikitext for the genus and species rows, plus the binomial box, are used exactly as supplied. (The &nbsp; in the species wikitext prevents the two parts of the name appearing on separate lines; it's not always necessary.)

**Available parameters and how to use them**

**All parameters**

**Italic title**
It is not usually necessary to do anything to italicize the page title and supply an italicized taxobox name if name is absent; both are normally handled automatically. Since 28 May 2021, this includes page titles that are botanical names containing a connecting term, like Banksia ser. Banksia.
The automatic italicization fails for pages whose title contains a parenthesised subgenus, such as Camponotus (Dendromyrmex), because by default parenthesised terms are treated as a disambiguators and not italicized. In this case, add taxon to force the page title to be treated as a complete taxon name.
In a very few special cases, the correct italicization has to be produced manually. In such cases:- put no in the taxobox to prevent the automatic attempt to italicize the page title and to add an italicized taxobox name- add  above the taxobox template with the fully formatted page title after the colon- put name in the taxobox with a fully formatted taxobox name.

**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, 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: