வார்ப்புரு:Automatic taxobox/doc/Step-by-step
{{Automatic_taxobox/doc/nav/boxed}}
 
 &lt;div style=&quot;padding:1em;border:1px solid black&quot;&gt;'''Are you trying to set up an automatic taxobox for a species, subspecies or variety?'''
 *'''Yes → This template should not be used for species''': go to [[Template:Speciesbox/doc]] for a species; [[Template:Subspeciesbox/doc]] for an animal subspecies; [[Template:Infraspeciesbox/doc]] for a plant subspecies or variety.
 *'''No → You are setting up an automatic taxobox for a genus, family, or higher ranked taxon. Are you converting an existing manual taxobox (i.e. the article already contains &lt;tt&gt;&lt;nowiki&gt;{{taxobox ... }}&lt;/nowiki&gt;&lt;/tt&gt; or are you writing a new one?'''
 **'''Converting''' – see [[Template:Automatic taxobox/doc/convert]].
 **'''Writing a new one''' – read this guide.
 &lt;/div&gt;
 If this is your first time making an automatic taxobox, you'll probably find this guide indispensable. There's definitely a learning curve involved, but once you get the hang of it, you'll be able to figure out even the weirdest problems. This guide should walk you through a typical automatic taxobox setup.
 
 Many automatic taxoboxes are very quick to set up; others require much more work. However, the advantage to all the work pays off when a taxonomy gets revised down the road – rather than updating thousands of taxoboxes, only one or at most a few templates must be altered in order to fix the whole thing.
 
 Every automatic taxobox should contain the following general layout, often with many additional parameters:
 
 '''For zoological taxa:'''
 &lt;pre&gt;{{automatic taxobox
 |taxon=Canis
 |authority=[[கரோலஸ் லின்னேயஸ்|Linnaeus]], 1758
 }}&lt;/pre&gt;
 
 '''For botanical&lt;ref name=&quot;botanical&quot;&gt;Funguses and protists are classically treated as botanical subjects&lt;/ref&gt; taxa:'''
 &lt;pre&gt;{{automatic taxobox
 |taxon=Nepenthes
 |authority=[[கரோலஸ் லின்னேயஸ்|L.]]
 }}&lt;/pre&gt;
 
 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]].
 
 '''Never save the page until you've checked for and resolved all issues with the automatic taxobox first!!!'''
 
 Hit &quot;preview&quot;. If it looks correct, you're done. Save your changes.
 
 Chances are, though, it's not perfect. The table of contents below should answer many of your questions on what to do next. As you follow instructions in this guide, you may be instructed to add a parameter to the template. To do this, just move the closing braces to a new line, and stick the parameter somewhere before the closing braces.
 
 At the end of this guide is a list of all parameters available as well as definitions for all the parameters introduced by the {{tl|automatic taxobox}}. Most parameters from the manual {{tl|taxobox}} are valid in the {{tl|automatic taxobox}}, and for descriptions of those parameters, see the documentation for that template.
 
 ==Creating and manipulating==
 ===&quot;Taxonomy not available for...&quot;===
 No, you didn't mess up. This error is actually normal. There are two reasons this error might show up. Firstly, it's rare the taxon you're addressing has already been entered into the taxon template database. Secondly, the Wikipedia cache lags a little bit.
 
 If you're seeing the red error, here is a simple [[dichotomous key]] to help you figure out what to do about it:
 
 1. Is the page you're working on an article page?
 
 1A. Yes, it's an article page (2)
 
 1B. No, it's a Template:Taxonomy/ page (3)
 
 2. [[#Creating the taxonomy template|Create the taxon template]] for the taxon. Is there an error on that template's page when you're finished?
 
 2A. Yes (3)
 
 2B. No. Click the blue link next to &quot;Category listings out of date?&quot; to refresh the cache for the page, and you're finished.
 
 3. One red error or two?
 
 3A. One, and it's the current taxon. Click the blue link next to &quot;Category listings out of date?&quot; to refresh the cache for the page, and you're finished.
 
 3B. One, and it's the parent taxon. Repeat #2 with respect to the parent taxon of the one you just worked on.
 
 3C. Two. Repeat #2 with respect to the parent taxon of the one you just worked on. When finished, be sure to click the blue link next to &quot;Category listings out of date?&quot; on each template page you've worked on to refresh the caches for those pages.
 
 ====Creating the taxonomy template====
 To begin resolving this ugly red error, right-click the &quot;create&quot; 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.
 
 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
 &lt;!--*species [This template shouldn't be used for species (normally)]
 --&gt;*clade
 *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 [[Template talk:Automatic taxobox]] is for.
 
 You'll see {{para|link}} is already filled in for you with &lt;pre&gt;{{subst:#titleparts:{{subst:PAGENAME}}|2|2}}&lt;/pre&gt;
 
 which happens to be wikisyntax for &quot;the part of the title of the page that comes after &quot;Template:Taxonomy/&quot;. In other words, it will be the name of the taxon. Using the table below, you should be able to figure out what to enter:
 
 {| class=&quot;wikitable&quot;
 |-
 ! Taxon name !! The article for this taxon can be found at !! The text that should display in the taxobox !! What to type
 |-
 | Elephantidae || Elephantidae || Elephantidae || &lt;pre&gt;{{subst:#titleparts:{{subst:PAGENAME}}|2|2}}&lt;/pre&gt;
 |-
 | Spheniscidae || Penguin || Spheniscidae || &lt;pre&gt;Penguin|{{subst:#titleparts:{{subst:PAGENAME}}|2|2}}&lt;/pre&gt;
 |}
 
 (If there's a pattern missing here, either add it or explain the issue on the talk page.)
 
 Next, we have the {{para|parent}} parameter. All that you need to type here is the name of the immediate parent taxon, beginning with a capital letter. Use the {{para|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 III system|APG III]] for flowering plants.)
 
 If it's an extinct taxon, fill in the {{para|extinct}} parameter with &lt;pre&gt;true&lt;/pre&gt; or &lt;pre&gt;yes&lt;/pre&gt;. If it's extant, or if you're not sure, leave it blank.
 
 Save the taxonomy template page and close it. Go back to the automatic taxobox we were making. Press &quot;preview&quot; again.
 
 The odds are good that you'll get to perform this step a second time, maybe a third, fourth, or even twentieth time, depending on how much of the taxonomy you're working on has already been filled in by other editors. Continue previewing and creating taxonomies for the ancestor taxa until the &quot;taxonomy missing&quot; errors cease.
 
 ===Special instructions for species===
 
 Species articles should not normally use this template but should instead use [[Template:Speciesbox]]. See that page and its documentation.
 
 :The reason is that whenever {{tl|Automatic taxobox}} is used with {{para|taxon|''taxon-name''}}, a template named &quot;Template:Taxonomy/''taxon-name''&quot; 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 &quot;Template:Taxonomy/''genus-name''&quot;. So using {{tl|Speciesbox}} considerably reduces the number of taxonomy templates needed and avoids there being different taxonomies for different species in a genus.
 &lt;!-- OLD DOCUMENTATION: For a species such as ''Anatoma regia'':
 
 On the template page, include the following:
 
 &lt;code&gt;&lt;nowiki&gt;|link={{subst:#titleparts:{{subst:PAGENAME}}|2|2}}|A. regia&lt;/nowiki&gt;&lt;/code&gt;
 
 On the article page, include the following:
 
 &lt;code&gt;&lt;nowiki&gt;|taxon=Anatoma regia&lt;/nowiki&gt;&lt;/code&gt;&lt;br/&gt;
 &lt;code&gt;&lt;nowiki&gt;|binomial=''Anatoma regia''&lt;/nowiki&gt;&lt;/code&gt;&lt;br/&gt;
 &lt;code&gt;&lt;nowiki&gt;|binomial_authority= (Mestayer, 1916)&lt;/nowiki&gt;&lt;/code&gt;
 --&gt;
 
 ===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 {{para|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 &quot;Taxonomy/''taxon-name''&quot;:
 * if ''taxon-name'' and ''article-title'' are the same, you should see {{para|link| ''taxon-name''}}
 * if ''taxon-name'' and ''article-title'' are different, you should see {{para|link}}&lt;tt&gt; ''article-title''|''taxon-name''&lt;/tt&gt;.
 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 the value of the &lt;code&gt;taxon&lt;/code&gt; parameter, and it will automatically be italicized if it's a genus (this template, {{tl|automatic taxobox}}, shouldn't be used for species).
 
 If you want a different header (e.g. the common name of the taxon), then specify {{para|name}}.
 
 :In the unlikely event that you want this different header to be italicized use {{para|italic_name}}. Do not use formatting markup to try to italicize the header, as this will cause errors.
 
 ===Add an image===
 Use the {{para|image}} and {{para|image_caption}} parameters just like you would with the {{tl|taxobox}}.
 
 If you want a second image, add {{para|image2}} and {{para|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 taxon:
 &lt;pre&gt;|synonyms=
 *''Genius'' &lt;small&gt;[[Baggins]] 1934&lt;/small&gt;
 *''Geniosus'' &lt;small&gt;[[Harvey]] 1734&lt;/small&gt;&lt;/pre&gt;
 
 ===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 &quot;Template:Taxonomy/&quot; followed by the name of the taxon. In the case of Theropoda, the link would be &quot;Template:Taxonomy/Theropoda&quot;. Add the code {{para|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 &quot;Scientific classification&quot;. That link should give you access to a full listing of that taxon's taxonomy.
 
 From there, you may edit a taxon by clicking &quot;Edit&quot; 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 &quot;display always&quot; 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===
 &lt;code&gt;&lt;nowiki&gt;{{automatic taxobox&lt;/nowiki&gt;&lt;/code&gt;
 
 [[#Parameter %7Ctaxon=|{{para|taxon}}]]
 
 [[#Parameter %7Cname=|{{para|name}}]]
 
 [[#Parameter %7Cauthority=|{{para|authority}}]]
 
 [[#Parameter %7Cdisplay_parents=|{{para|display_parents}}]]
 
 [[#Parameter %7Citalic_name=|{{para|italic_name}}]]
 
 [[#Parameter %7Cedit_link=|{{para|edit_link}}]]
 
 [[#Parameter %7Cfossil_range=|{{para|fossil_range}}]]
 
 [[#Parameter %7Coldest_fossil=|{{para|oldest_fossil}}]]
 
 [[#Parameter %7Cyoungest_fossil=|{{para|youngest_fossil}}]]
 
 [[#Parameter %7Cdisplay_parents=|{{para|display_parents}}]]
 
 [[#Parameter %7Cparent_authority=, etc.|{{para|parent_authority}}]]
 
 [[#Parameter %7Cparent_authority=, etc.|{{para|grandparent_authority}}]]
 
 [[#Parameter %7Cparent_authority=, etc.|{{para|greatgrandparent_authority}}]]
 
 [[#Parameter %7Cparent_authority=, etc.|{{para|greatgreatgrandparent_authority}}]]
 
 {{para|color}}
 
 {{para|status}}
 
 {{para|status_system}}
 
 {{para|status_ref}}
 
 {{para|status2}}
 
 {{para|status2_system}}
 
 {{para|status2_ref}}
 
 {{para|image}}
 
 {{para|image_width}}
 
 {{para|image_alt}}
 
 {{para|image_caption}}
 
 {{para|image2}}
 
 {{para|image2_width}}
 
 {{para|image2_alt}}
 
 {{para|image2_caption}}
 
 {{para|classification_status}}
 
 {{para|diversity}}
 
 {{para|diversity_link}}
 
 {{para|binomial}}
 
 {{para|binomial_authority}}
 
 {{para|trinomial}}
 
 {{para|trinomial_authority}}
 
 {{para|type_genus}}
 
 {{para|type_genus_authority}}
 
 {{para|type_species}}
 
 {{para|type_species_authority}}
 
 {{para|subdivision}}
 
 {{para|subdivision_ranks}}
 
 [[#Parameter %7Cedit_link=|{{para|display_children}}]]
 
 {{para|type_strain}}
 
 {{para|range_map}}
 
 {{para|range_map_width}}
 
 {{para|range_map_alt}}
 
 {{para|range_map_caption}}
 
 {{para|binomial2}}
 
 {{para|binomial2_authority}}
 
 {{para|range_map2}}
 
 {{para|range_map2_width}}
 
 {{para|range_map2_alt}}
 
 {{para|range_map2_caption}}
 
 {{para|binomial3}}
 
 {{para|binomial3_authority}}
 
 {{para|range_map3}}
 
 {{para|range_map3_width}}
 
 {{para|range_map3_alt}}
 
 {{para|range_map3_caption}}
 
 {{para|binomial4}}
 
 {{para|binomial4_authority}}
 
 {{para|range_map4}}
 
 {{para|range_map4_width}}
 
 {{para|range_map4_alt}}
 
 {{para|range_map4_caption}}
 
 {{para|synonyms}}
 
 {{para|synonyms_ref}}
 
 &lt;code&gt;&lt;nowiki&gt;}}&lt;/nowiki&gt;&lt;/code&gt;
 
 ===Parameters unique to {{tl|automatic taxobox}}===
 In the following sections, parameters used by {{tl|taxobox}} will not be covered. Usage for those parameters has not changed.
 
 ====Parameter {{para|taxon}}====
 The name of the taxon the article is about. In the {{tl|taxobox}}, this parameter is the one that is bolded. To bold multiple taxa, see [[#Making the links bold]].
 
 When moving an article to another title, always check to see that the taxon parameter is present, to ensure the taxonomy continues to display properly. Additionally, you will need to update the display link on the taxonomy template. See [[#Making the links bold]] for instructions on how to do this.
 
 ====Parameter {{para|name}}====
 If the title of the taxobox should be different from the value entered in the taxon parameter, enter it here. This is most commonly used for common names. If, for whatever reason, the title should be italicized, do '''not''' use {{para|name}}. Instead, use {{para|italic_name}}.
 
 ====Parameter {{para|italic_name}}====
 This parameter duplicates the functionality of {{para|name}} except that it italicizes the title. This parameter should never be used in conjunction with {{para|name}}.
 
 ====Parameter {{para|authority}}====
 This parameter is similar to the authority parameters in the {{tl|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 {{para|taxon}} parameter.
 
 ====Parameter {{para|fossil_range}}====
 The new features for the fossil range are currently under development. Please use it the same as you would with the {{tl|taxobox}}.
 
 ====Parameter {{para|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 &quot;e&quot;. This is the &quot;edit taxonomy&quot; link which allows readers to easily access the taxonomy for quick, universal edits.
 
 ====Parameter {{para|oldest_fossil}}====
 This untested feature is currently being developed. Please do not use it yet.
 
 ====Parameter {{para|youngest_fossil}}====
 This untested feature is currently being developed. Please do not use it yet.
 
 ====Parameter {{para|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 {{para|parent_authority}}, etc.====
 ;Parameter {{para|parent_authority}}
 ;Parameter {{para|grandparent_authority}}
 ;Parameter {{para|greatgrandparent_authority}}
 ;Parameter {{para|greatgreatgrandparent_authority}}
 
 These function just like {{para|authority}}, except they match up with the parent taxon, grandparent taxon, etc.
 
 '''Warning''' The &quot;ancestor&quot; taxon is the one defined by the taxonomy templates (i.e. the various &quot;Template:Taxonomy/&lt;taxon&gt;&quot; pages, where &lt;taxon&gt; is the name of a taxon). This &quot;ancestor&quot; 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, {{para|parent_authority}} shows the authority for the family in the taxobox. If someone later adds a subfamily between the genus and the family, {{para|parent_authority}} will now refer to the subfamily, and the authority will be displayed incorrectly. These parameters should only be used if really necessary.
 
 ====Parameter {{para|display_children}}====
 This is a new feature that takes the place of the {{para|subdivision}} parameter. It displays a list of all the taxa whose taxonomy templates list the current taxon as the immediate parent. You may fill this in with '''1''', '''2''', '''3''', '''2 collapse''', or '''3 collapse'''. The &quot;collapse&quot; causes daughters past the first generation to remain hidden unless the reader clicks &quot;show&quot; next to one of the daughter taxa.
 
 ==Footnotes==
 {{reflist}}
 
 -------