Template talk:Ichnobox

(Redirected from Template talk:Ichnobox/testcases)
Latest comment: 4 years ago by Peter coxhead in topic Update
03:22, 9 February 2011 (UTC)
edit

Added support for |greatgreatgrandparent_authority= to correct a glitch when the great-great grandparent displays. Bob the WikipediaN (talkcontribs) 03:22, 9 February 2011 (UTC)Reply

Consistency with Taxoboxes

edit

Is there a reason that this doesn't call Template:Taxobox/core? Martin (Smith609 – Talk) 17:03, 18 December 2010 (UTC)Reply

Only that I didn't want to intrude on it, although I think it's probably a good idea now that I've got the basics working. I finally found the bit that italicizes the genus and species names.   I'll see about adapting the {{Taxobox/core}} to handle it now. Bob the Wikipedian (talkcontribs) 20:56, 27 December 2010 (UTC)Reply
Done. So simple it was actually scary. Bob the Wikipedian (talkcontribs) 21:08, 27 December 2010 (UTC)Reply
This is a good idea, but wouldn't it be nice if the colour scheme was different from the animal taxobox? So one would see that the article is about an ichnotaxon at once. FunkMonk (talk) 09:14, 28 December 2010 (UTC)Reply
What color would you like? Here's a table of the colors currently in use:
Animalia rgb(235,235,210)
Archaea rgb(195,245,250) also Nanoarchaeota (Nanarchaeota), Korarchaeota, Thaumarchaeota, Crenarchaeota and Euryarchaeota
Archaeplastida rgb(180,250,180) also Plantae and Viridiplantae
Bacteria rgb(220,235,245)
Eukaryota rgb(245,215,255) For eukaryotes with no other colour defined, including Excavata, Amoebozoa and Opisthokonta
Fungi rgb(145,250,250)
Ichnotaxa rgb(230,222,214)
incertae sedis rgb(250,240,230)
SAR rgb(200,250,80) also Harosa, Chromalveolata
Ootaxa rgb(250,250,220)
Viruses rgb(250,250,190) also Viroids
Bob the Wikipedian (talkcontribs) 04:39, 29 December 2010 (UTC)Reply
Hmmm, I'm thinking something earthy... Brown? Grey? FunkMonk (talk) 13:50, 1 January 2011 (UTC)Reply
New color is "peru". How's it look? Bob the Wikipedian (talkcontribs) 03:49, 2 January 2011 (UTC)Reply
I've made it a little paler to improve the contrast – hope that that's okay. Martin (Smith609 – Talk) 14:07, 2 January 2011 (UTC)Reply
Looks good to me! FunkMonk (talk) 15:48, 2 January 2011 (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:27, 6 February 2011 (UTC)Reply

Italicize ichnogenera

edit

This template should automatically italicize ichnogenera. Secondplanet (talk) 22:25, 19 September 2014 (UTC)Reply

Protected edit request on 24 December 2014

edit
  1. search the template for | subdivision =
  2. remove the first one (just before the comment), since it is duplicated by the second one.

this will remove a bunch of pages from Category:Pages using duplicate arguments in template calls

alternatively, change the protection to template-editor, and I will do it. Frietjes (talk) 22:54, 24 December 2014 (UTC)Reply

  Done @Frietjes: I made the edit and unprotected it as well - there were only 7 transclusions. — Mr. Stradivarius ♪ talk ♪ 04:13, 25 December 2014 (UTC)Reply

Child rank not automatically generated

edit

See https://en.wikipedia.org/wiki/Ophiomorpha. Martin (Smith609 – Talk) 11:08, 10 January 2017 (UTC)Reply

@Smith609: I think it's good practice to explicitly specify |subdivision_ranks=. When this is omitted, the rank generated from the parent is often wrong now – the system you & Bob implemented worked well when most taxonomy templates were concerned with 'standard' Linnaean ranks, but so many are now for 'nonstandard' ranks (mirorder, parvorder, clades, etc.). Although a child rank could be generated from these, many of the newer ones are not used consistently.
However, something should appear if |subdivision_ranks= is omitted. In the case of {{Automatic taxobox}}, I'm inclined to supply something generic, like "Subdivisions".
  Done However, for {{Ichnobox}} the likely ranks are more predictable, so I've now fixed the template to generate subdivision ranks. Peter coxhead (talk) 17:22, 10 January 2017 (UTC)Reply

Merged versions

edit

Up to today, almost all articles used {{Ichnobox/short}} rather than {{Ichnobox}}. Looking at the code and testing changing articles from one to the other, I couldn't see any real difference in the output, and having two made maintenance more difficult. So I've merged them, with the "/short" version a redirect to the "normal" version. If anyone notices any problems, please post here. Peter coxhead (talk) 12:35, 15 January 2017 (UTC)Reply

@Peter coxhead: I don't know if it's a consequence of the merge, but image captions aren't displaying. My best guess after glancing at the code is that it maybe has something to do with underscores in the parameter (|image caption= vs. |image_caption=). For ichnobox articles with an image_caption, see here. BTW, I'm going to offline til Sunday evening; the template isn't protected, so I might poke around in the sandbox and see if I can fix it myself, but that's not going to happen for several days. Plantdrew (talk) 02:35, 4 May 2017 (UTC)Reply
@Plantdrew: yes, it was an inadvertent consequence of the move. Almost all articles used the original "Ichnobox/short" template, but, unlike the little-used "Ichnobox" template, it did not cater for all choices between the underscore and space versions of multiword parameters. I hadn't appreciated this when I merged them. I guess that ichno articles have few watchers or readers, so it hasn't been noticed until now. I've corrected {{Ichnobox}}; see e.g. Grallator. The change will slowly permeate through to any other affected articles.
There are some other issues with this template (e.g. it still has |image_width= rather than the newer |image_upright=). Do some of the parameters make sense for an ichno taxon, e.g. would there ever be range maps? Peter coxhead (talk) 08:11, 4 May 2017 (UTC)Reply
Automatic italicization is another issue; as with other 'minor' taxobox templates, this either doesn't work or works differently. Peter coxhead (talk) 08:50, 4 May 2017 (UTC)Reply

subdivision_ref?

edit

Seems like |subdivision_ref= wasn't added to this box. Or I screwed something else up on Protichnites. --awkwafaba (📥) 14:59, 4 March 2020 (UTC)Reply

@Awkwafaba: no, you didn't screw up, it hasn't been implemented. I thought, ok, it's a quick fix, but looking at the template, it's way out of date, and needs more work than I have time for right now. On my list if no-one else gets there first. Peter coxhead (talk) 21:29, 4 March 2020 (UTC)Reply
@Awkwafaba: now implemented and works at Protichnites. (Other changes to Ichnobox are needed, e.g. the automatic italicization of the taxobox name doesn't work correctly. However, it's so rarely used now that I don't see it as a priority. Let me know if you find any other issues.) Peter coxhead (talk) 09:44, 9 March 2020 (UTC)Reply

Update

edit

This template has now been updated to use a slight variant of the Lua code used to implement {{Automatic taxobox}}. Parameters and italicization should now work in the same way.

I'd like to change the colour of Ichnoboxes; comments please at Wikipedia talk:Automated taxobox system#Colour of Ichnoboxes. Peter coxhead (talk) 15:54, 1 October 2020 (UTC)Reply