Template talk:Taxobox name

request
Please replace the existing code with the following:

the subst:s I used in the original did not work as expected; this more streamlined version should do the job properly! Thanks. Verisimilus  T  15:40, 23 September 2007 (UTC)
 * [[Image:Yes check.svg|20px]] Done. Cheers. --MZMcBride 17:31, 23 September 2007 (UTC)

Auto-italicisation of page name
I want to ensure that there is consensus for an edit before I request it. The Manual of Style, and scientific consensus, states that binomial names should always be italicised. This template works out whether to italicise the name when it appears in the title of the taxobox; due to recent improvements in the Mediawiki software, it is now possible to italicise the title of the page too. This version of the sandbox does this, and you can see it in action by using {Taxobox/sandbox}. (Note that you need to save the page to see the effect.) Does anyone have any comment or objection to performing this edit? Martin  (Smith609 – Talk)  14:01, 7 December 2008 (UTC)


 * So in other words, if the name appears in genus, species, or binomial in a taxobox, then the title of the page will be italicized. I guess that makes sense.  I initially had some uncertainty about whether page titles should be somehow consistent with other page titles (which would always mean non-italic, I guess), but I guess when I think about it, we italicize when linking to them, for example we might say "Ampelopsis will strangle your children" not "Ampelopsis will strangle your children", so that would seem to argue that the "true" title of the page is indeed italicized. Kingdon (talk) 03:48, 8 December 2008 (UTC)


 * I agree. To turn your consistency argument on its head, pages' names should be consistently correct - which is why wrongtitle was created; see for example The O2 and iPod, which 'break the convention' of unformatted pages with upper case first letters. Martin  (Smith609 – Talk)  04:56, 8 December 2008 (UTC)

There doesn't seem to be any disagreement here, so please copy the sandbox to the current template. Thanks, Martin  (Smith609 – Talk)  00:55, 13 December 2008 (UTC)
 * [[Image:Yes check.svg|20px]] Done. Cheers. --MZMcBride (talk) 06:21, 17 December 2008 (UTC)
 * There was a small bug in the last request, which I've fixed with extensive mainspace testing. Could you now please replace the template with this sandbox version? Thanks! Martin  (Smith609 – Talk)  03:03, 13 January 2009 (UTC)
 * ✅ Black Kite 20:59, 17 January 2009 (UTC)

Does this mean it won't be necessary anymore to write Protarum to get Protarum? --Una Smith (talk) 07:55, 22 January 2009 (UTC)


 * Unfortunately not: Only the title displayed on the page itself will be italicised. Martin  (Smith609 – Talk)  23:38, 22 January 2009 (UTC)

This feature is currently being discussed at Village_pump_(technical). Calliopejen1 (talk) 20:04, 15 February 2009 (UTC)


 * The last discussion kind of stalled and I have tried to start it up again here. I personally think the italicised titles look odd. Rambo's Revenge (talk)  17:43, 26 April 2009 (UTC)

Archived discussions: archive WP:Village pump (technical)/Archive 56 archive WP:Village pump (technical)/Archive 58 archive WP:Village pump (policy)/Archive 63 archive WT:Manual of Style/Archive 108 --83.253.250.70 (talk) 19:23, 10 May 2009 (UTC)

Please replace the template with the current sandbox.

Changes:


 * 1) More efficient code
 * 2) Automatic handling of somethingii (genus) and somethingus (alga) - example at Ionia (alga)
 * If it detects that a page name ends in (genus) or (alga), the template assumes that anything before the brackets is a generic or specific name, uses it for the taxobox title, and italicises the page title as.

I've tested the code with existing articles and in my sandbox, and have seen no unintended consequences.

Thanks, Martin  (Smith609 – Talk)  22:52, 13 May 2009 (UTC)
 * Why don't you do it yourself? Last time I looked you were an admin ... Seriously, if you've worked on it and tested it then it's better if you take responsibility for the edit in case of any mistakes because you're more likely to be able to fix them :) &mdash; Martin (MSGJ · talk) 09:41, 14 May 2009 (UTC)
 * Heh, yes. I don't see this as a controversial change either where you might be too invloved. The titles are already italicized, the way I read it, so there seems to be consensus for it. You're just fixing the qualifier. FWIW, you do know italictitle, do you? Would the more generic approach be wrong here because it italicizes every page name (sans qualifier)? Amalthea  10:29, 14 May 2009 (UTC)


 * I just wanted to make sure there was consensus - I have something of a habit of being too bold with template edits and making a mess of things. You are probably right though - perhaps the template was inappropriate.
 * I hadn't realised that ItalicTitle now handled brackets automatically. However, {Taxobox name} must avoid italicising pages above the genus level (which are unlikely to be disambiguated with brackets), and {taxobox title} is much less performance-intensive than {italictitle}, which - on such a widely transcluded template - should not be entirely ignored. Martin  (Smith609 – Talk)  13:28, 14 May 2009 (UTC)

Slight problem
I have noticed that this parameter doesn't actually work on Genera and species which Have a † in front of the name thus Australodelphis for example doesn't become italicized. Is there a way to fix this?--Kevmin (talk) 22:24, 20 May 2009 (UTC)


 * The simplest way would be to remove the †. What information does it provide that is not implicit in the fossil range? Martin  (Smith609 – Talk)  16:50, 21 May 2009 (UTC)


 * Use of the cross is standard in Wikiprojects and the wider world as a quick indicator that a taxon and all the taxons below them are extinct. At this point there are many articles without the fossil range template.--Kevmin (talk) 18:52, 21 May 2009 (UTC)

Discussion at WikiProject Tree of life
There is a discussion about italic titles and the taxobox templates. Celefin (talk) 19:17, 29 May 2009 (UTC)

Upgrading to the next version of str find
Per the recent modifications to strfind short, it has been advised this faster and more capable template take the place of str find where possible. Because PAGENAMEBASE is a structural template at the foundation of the code of this template, this edit could potentially cause havoc if not evaluated first for soundness.

I'm requesting anyone who has enough know-how to evaluate this proposed modification respond to the RfC listed at Template talk:PAGENAMEBASE. The template is being used in this template. Bob the WikipediaN (talk • contribs) 03:29, 6 February 2011 (UTC)