Template talk:Taxobox/Archive 4

message: As Locke Cole and I were discussing I've gone through and made some changes to the way this template works. The results displayed should not change and the CSS hack is not used, so it will work on all browsers. However, I've added new sub-templates to make the template more efficient. Since 'if defined call1' (and 'call2' / 'call3' also) nested in both the 'if defined call' and 'void' templates, each conditional section of this template was calling three other templates. Making the 'authority' lines under each of the classifications (Genus, Species, Order, et cetera) a separate call also meant three nested template calls for each of those. I have changed it so that each conditional element uses a single nested template and the 'authority' lines are all included in the same condition as the element they are an authority for (reducing six template calls to one for each of the thirty-two classification options). Thus the number of nested template calls has been greatly reduced. This also resulted in reducing the total length of the template. You can probably figure out the logic of the new format by inspection, but let me know if there are questions. I'll put some instructions on the new sub-templates later. Also let me know if anything breaks... I tested it with alot of different pages before updating, but there are always special conditions. --CBD ☎ ✉ 03:05, 24 January 2006 (UTC)
thread_title:  Update 

message: How does one go about finding the autority for a species? Any good sites? Google isn't helping much... -Ravedave 05:48, 26 January 2006 (UTC)
replies: text: The IUCN Redlist is a good place to start for animals: http://redlist.org - UtherSRG (talk) 12:08, 26 January 2006 (UTC)

text: The IPNI is an excelent database for plants :   JoJan 13:34, 26 January 2006 (UTC)
thread_title:  Authority 

message: The text size of the conservation status section is so small as to be unreadable. Can we make it slightly bigger? In the final source it ends up rendering the text inside a double set of  tags. I believe one set would be adequate. Unfortunately the template is so convoluted I can't figure out how to edit it myself. Kaldari 01:55, 30 January 2006 (UTC)
replies: text: Yeah, can someone make it be the same size as how it looks on Template:Taxobox begin? --Khoikhoi 02:03, 30 January 2006 (UTC)
replies: text: Better? --CBD ☎ ✉ 17:28, 30 January 2006 (UTC)
thread_title:  Conservation status text size 

message: Taxoboxes with unranked entries in the classification section cannot at present be represented using this template. You can see at Special:Whatlinkshere/Template:Taxobox norank entry that there are quite a few (mostly among the extinct reptiles). You can see that Deinonychus and Archosaur contain three adjacent unranked entries.
There are various options, none altogether palatable:
# Abandon Linnaean classification for some taxa.
# Use intermediate ranks for the unranked taxa (e.g. sn2000 gives Archosauria the rank of division )
# Remove unranked taxa as far as possible in the taxoboxes.
# Extend the taxobox template to allow unranked taxa to appear. Perhaps one unranked taxon per rank would be adequate for most purposes.
Gdr 15:29, 30 January 2006 (UTC)
replies: text: I recall seeing a taxobox which handled this issue by putting the code for the 'unranked' item(s) in the preceding entry. For instance, on Deinonychus you could set, '|subordo = Theropoda(unranked)Coelurosauria(unranked)Maniraptora(unranked)Deinonychosauria'. Not the prettiest methodology, but it should work. The problem with implementing this directly into the template is that you would have to list an 'unranked' parameter under each level (unranked-ordo, unranked-subordo, et cetera) to be able to determine where to place them. If it would be ok to put all the unranked items at the end that could be accomplished easily. --CBD ☎ ✉ 17:15, 30 January 2006 (UTC)

text: I found the page I recalled which does this. See Primate for an example of unranked entries in the existing taxobox. Rather than adding lots of new parameters I might suggest another template. Something like |subordo = Theropoda. The 'unranked' template would then convert however many parameters passed to it into HTML to add the extra rows under subordo. Only problem with this is that the 'subordo_authority' (if set) would end up under the last unranked entry. Though that could be avoided by setting the 'unranked' in the authority line. --CBD ☎ ✉ 18:01, 30 January 2006 (UTC)
thread_title:  Unranked entries 

message: In botany, "Division" is a rank below kingdom and above class.
In zoology, "Division" is a rank below order and above family. (I don't know how standard this is but it is used at SN2000 and we have some articles that use it, e.g. Heliconiinae.)
At the moment the taxobox template only implements the botanical use of "division". How can it be made to implement both? Gdr 15:33, 30 January 2006 (UTC)
replies: text: Get rid of both and use "bot_division" and "zoo_division" (or some such...) - UtherSRG (talk) 16:07, 30 January 2006 (UTC)

text: Is 'divisio' used extensively for zoological boxes? If not then it can remain as is for botanical and a new 'zoo_divisio' parameter (and associated authority) be added for zoological entries. If 'divisio' is being used alot for both currently then something could still be done where we have 'divisio' appear twice in the list, but only print it if both 'divisio' and some bot/zoo identifier parameter is set. --CBD ☎ ✉ 17:20, 30 January 2006 (UTC)
thread_title:  Ambiguous divisions 

message: Spaces after link to another article is killed in taxobox (in subtaxa part and maybe somewhere else). See Rosales (list of families) and Rosaceae (Amygdaloideaeor Prunoideae).--213.247.213.207 22:02, 1 February 2006 (UTC)
thread_title:  Whitespace, again 

message: Found this broken Taxobox. I hope someone with more experience than me can fix it: Pachyrhinosaurus Jogloran 22:15, 1 February 2006 (UTC)
replies: text: Fixed. I went back and looked at the prior multi-line taxobox... it had one line broken in the same way and that was copied over by the bot. Just an extra set of open brackets '[[' with no corresponding close. --CBD ☎ ✉ 22:25, 1 February 2006 (UTC)
thread_title:  Problem? 

message: I can't seem to transfer this template to the Irish Wikipedia - I copied and pasted but it comes out as gibberish. Any advice? EamonnPKeane 21:13, 4 March 2006 (UTC)
replies: text: I copied over some of the templates that were missing, but it still looks wrong. I'll keep looking at it and see if I can figure out what's missing, but if anyone else wants to look, check out ga:Teimpléad:Taxobox. —Locke Cole • t • c 22:12, 4 March 2006 (UTC)
replies: text: Actually nevermind, it kind of looks okay when I copied one of the examples from Wikipedia:WikiProject Tree of Life/taxobox usage (other than the images missing and everything being redlinked). I'd still appreciate it if someone took a look to make sure it looks alright to them. =) See ga:Plé teimpléid:Taxobox for the example I copied over. —Locke Cole • t • c 22:17, 4 March 2006 (UTC)
thread_title: Importing into other language versions

message: I've updated the conversation status so it takes the two-letter IUCN codes:
http://en.wikipedia.org/w/index.php?title=Tiger&diff=42564299&oldid=42505372
The new way of using it and all the new codes are on the taxobox usage page.
Wikipedia:WikiProject_Tree_of_Life/taxobox_usage#Conservation_status
If you don't like new things, you can use the old way still too. As for me, I find two letter codes easier than long-winded template names. I've made it as easy to use as possible, and stayed "backwards compatible". Enjoy!
Let me know if there's anything that acts oddly. I did do a bit of testing before I updated the template (there's quite a cache purge when you do), but let me know if anything's not right. It's moderately scary updating a template used by so many pages.
—Pengo 00:44, 7 March 2006 (UTC)
thread_title:  conservation status syntax updated 

message: Apparently new changes to the template are causing empty spaces to appear inside taxoboxes when using subdivisions and also at the top of articles. Examples Tiktaalik and Tetrapod Joelito 21:00, 18 April 2006 (UTC)
replies: text: Problems appear to be fixed now. Joelito 03:54, 20 April 2006 (UTC)
thread_title: Problems