Template talk:Image

Latest comment: 1 day ago by Monster Iestyn in topic Italics off for some captions


Legends edit

Can this template be made to pull in legends, for example like the one on d:Q4043977? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:14, 8 February 2017 (UTC)Reply

Italics off for some captions edit

I propose we add a new parameter with the purpose of not automatically adding italics to the captions. This would shorten the code necessary for all captions that doesn't exactly match the taxon name of a genus and/or species, e.g. author names, names of familiæ and higher taxa, images that visualise age- or gender differences between specimens of the same species, data about distribution, perhaps pictures of eggs, etc.

I propose that the parameter is named italics and/or simply i, and that the attributes no and - (i.e. "minus") are used to not automatically add italics to the caption. All other values, including leaving the parameter blank, would render the default behaviour i.e. add italics just like today.

Examples for say, the Numenius arquata and Carolus Linnaeus the Younger pages:

Code string Rendered text today Rendered text after template update
{{Image}} Numenius arquata Numenius arquata
{{Image|Forslund, Linnaeus filius.jpg}} Carolus Linnaeus the Younger Carolus Linnaeus the Younger
{{Image|Forslund, Linnaeus filius.jpg|Carolus Linnaeus the Younger}} Carolus Linnaeus the Younger Carolus Linnaeus the Younger
{{Image|Forslund, Linnaeus filius.jpg|i=no}} i=no Carolus Linnaeus the Younger

After such an addition to the template, would it be possible to use a bot in order to accommodate the changes for the approximately 74, 600 pages where the {{Image}} template is currently used? –Tommy Kronkvist (talk)‚ 12:46, 28 September 2019 (UTC).Reply

Template Images, format on author pages edit

Moved: was at [[Talk:User_talk:Estopedist1#Template_Images,_format_on_author_pages]]
Hello Estopedist1, thanks for all your contributions. On author pages, if you use a mere {{Image}}, the description of the image will be in italics, which is not wanted here. See my edit on Thomas Meehan for a possible solution. Maybe the template could be amended with a parameter for correct formatting of author pages? Kind regards, --Thiotrix (talk) 08:28, 25 August 2020 (UTC)Reply

@Thiotrix: nice catch! I understand, it disturbs. In part, related to Wikispecies:Village_Pump#"Displaytitle". Image fetching from Wikidata and captioning definitely have to be automated process (at least for taxon authorities), but removing italic-command from {{Image}} affects taxon articles as well. Maybe user:Pigsonthewing or user:Monster Iestyn have ideas?--Estopedist1 (talk) 08:49, 25 August 2020 (UTC)Reply
It would be better if you could directly control whether italics are used or not, rather than have to explicitly put in both the file name and description as a workaround. That the template automatically adds italics by default if you had neither always did bother me. Monster Iestyn (talk) 08:56, 25 August 2020 (UTC)Reply
@Thiotrix: If there is a problem with the template, please raise it on the template's talk page. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:12, 25 August 2020 (UTC) Moved, so struck. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 09:57, 27 August 2020 (UTC)Reply

the question is easy: do we want that by default image's caption is in italic or not Italic. I prefer not Italic, because then we save a lot of time and Wikidata does the job. If we prefer status quo, then everything should be done manually, except in species and genus articles and ONLY THEN, if we use {{image}} and ONLY THEN when article's name is without brackets (eg invalid rendering here: Axia (Cimeliidae)). Also notice that the whole system may be changed, when we will have possibility to get image's caption directly from Wikidata--Estopedist1 (talk) 12:49, 25 August 2020 (UTC)Reply

We have far more taxons than people, and far more taxons at lower ranks than higher. For both of these reasons the default should be to italicise. Even when we can fetch image labels from Wikidata, there will be cases where no label is set there, so we need to default to the page name. It is a pity that we do not have our people pages in a namespace such as "Author:" (as used on Wikisource), which would allow us to set the italicisation by using namespace-detection. What is needed in this case is a parameter to reverse the default, such as |italics=no; There should be no need to manually enter the entire caption to do this. This is what Tommy proposed, above. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 09:52, 27 August 2020 (UTC)Reply
I support Tommy's proposal then, I think we should definitely get that implemented asap. Monster Iestyn (talk) 10:35, 27 August 2020 (UTC)Reply
@Pigsonthewing and Monster Iestyn: no hurry here, please! Italic in authority articles is not an obvious error. I think that adding parameter |italics=no may be a mistake and just additional manual work. Usually, our images in taxon articles need some kind of explanation and blatant {{image}} is not a good solution. Almost always it is valid in genus articles, where a image needs species link. And please don't underestimate possibilities when fetching images' titles from Wikidata become reality--Estopedist1 (talk) 11:05, 27 August 2020 (UTC)Reply
"Usually, our images in taxon articles need some kind of explanation" I doubt this true; do you have any evidence to support it? And where do you think either of us "underestimates possibilities when fetching images' titles from Wikidata"? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 18:27, 27 August 2020 (UTC)Reply
it seems that this topic needs more input by other WS users to move on. But status quo situation does minimal harm. Somewhat similar is situation with Wikispecies:Village_Pump#"Displaytitle"--Estopedist1 (talk) 19:43, 28 August 2020 (UTC)Reply
No, it does a non-trivial amount of harm: we have people removing the template from Author pages due to the italics. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:12, 29 August 2020 (UTC)Reply
if you are right, then the question is acute, indeed. Could we temporarily remove these Italic tags from this template? At least the deletionist can't then delete images from authority articles. If image's caption is not in Italic in some species articles, it is may be not so harmful--Estopedist1 (talk) 18:02, 29 August 2020 (UTC)Reply
As I said above, "We have far more taxons than people, and far more taxons at lower ranks than higher. For both of these reasons the default should be to italicise.". Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 18:32, 29 August 2020 (UTC)Reply
Re "Usually, our images in taxon articles need some kind of explanation" ... I doubt this true - it is true; in general, an image is best if it names both the taxon and the location where the image was taken for very important context (see the quote at the top of my user page!). And that has to be added with the taxon name in italics, and the location in normal type. PS to @Pigsonthewing: - one taxon, two taxa; "taxons" looks plain ugly ;-) MPF (talk) 21:04, 29 August 2020 (UTC)Reply
Note the key qualifier usually, which your comment does not address. What proportion of our images have captions in the manner that you suggest? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 21:54, 29 August 2020 (UTC)Reply
I've no idea what the proportion is overall; it applies to virtually all images on pages I've edited, and if we are to maintain scientific veracity, it should apply to all photo captions - MPF (talk) 22:44, 29 August 2020 (UTC)Reply

I am totally fed up coming across the use of a bare {{Image}} on genus taxon pages leading to unlabelled species images, it should be reversed as it causes unwanted work. Andyboorman (talk) 17:50, 31 August 2020 (UTC)Reply

Here is an attempt to not display the {{PAGENAME}} in italics if the template is used on author pages. Korg (talk) 14:19, 15 October 2020 (UTC)Reply
@Korg: nice playing with these bracket stuff. At the moment, your solution is working, see eg Louis Pasteur. Thanks, Korg!--Estopedist1 (talk) 11:55, 16 October 2020 (UTC)Reply
It's a pleasure! It is an iterim solution and the template could be improved with the help of a Lua module to address special or more complex cases, like the ones raised above. Korg (talk) 13:46, 16 October 2020 (UTC)Reply
@Korg: Apologies for pinging you here a few years later, but it appears your solution unfortunately isn't working anymore. Image descriptions now display the page name in italics on author pages once more! (I don't know when this broke unfortunately, I just realised this is happening now.) Monster Iestyn (talk) 22:22, 17 April 2024 (UTC)Reply
Return to "Image" page.