Template talk:Taxobox name

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconTree of Life Template‑class
WikiProject iconThis template is within the scope of WikiProject Tree of Life, a collaborative effort to improve the coverage of taxonomy and the phylogenetic tree of life on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

{{editprotected}} request[edit]

{{editprotected}} Please replace the existing code with the following:

<includeonly>{{#switch:'''''{{PAGENAME}}'''''
|'''{{{1}}}'''=''{{PAGENAME}}''
|{{{1}}}=''{{PAGENAME}}''
|'''{{{2}}}'''=''{{PAGENAME}}''
|{{{2}}}=''{{PAGENAME}}''
|'''{{{3}}}'''=''{{PAGENAME}}''
|{{{3}}}=''{{PAGENAME}}''
|{{PAGENAME}}}}</includeonly><noinclude>
{{pp-template|small=yes}}
{{template doc}}</noinclude>

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)[reply]

Done. Cheers. --MZMcBride 17:31, 23 September 2007 (UTC)[reply]

Auto-italicisation of page name[edit]

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)[reply]

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)[reply]
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)[reply]

{{editprotected}} 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)[reply]

Done. Cheers. --MZMcBride (talk) 06:21, 17 December 2008 (UTC)[reply]
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)[reply]
 Done Black Kite 20:59, 17 January 2009 (UTC)[reply]

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

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

This feature is currently being discussed at Wikipedia:Village_pump_(technical)#Italic_titles_for_names. Calliopejen1 (talk) 20:04, 15 February 2009 (UTC)[reply]

  • 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)[reply]


Archived discussions:
archive WP:Village pump (technical)/Archive 56#Italic titles for names
archive WP:Village pump (technical)/Archive 58#Italics in article name
archive WP:Village pump (policy)/Archive 63#Italic title
archive WT:Manual of Style/Archive 108#Italic titles
--83.253.250.70 (talk) 19:23, 10 May 2009 (UTC)[reply]

{{editprotected}} 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 Somethingii (genus).

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)[reply]

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 :) — Martin (MSGJ · talk) 09:41, 14 May 2009 (UTC)[reply]
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)[reply]
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)[reply]

Slight problem[edit]

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)[reply]

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)[reply]
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)[reply]

There is a discussion about italic titles and the taxobox templates. Celefin (talk) 19:17, 29 May 2009 (UTC)[reply]

Upgrading to the next version of {{str find}}[edit]

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 (talkcontribs) 03:29, 6 February 2011 (UTC)[reply]