Template talk:Title

Latest comment: 2 years ago by Marsupium in topic More fallbacks!

Question

edit

In File:Johann Zoffany - The Tribuna of the Uffizi - WGA26000.jpg {{Title|Tribuna degli Uffizi|lang=it|en=The Tribuna of the Uffizi|fr=La Tribune des Offices}} gives:

Italian:
Tribuna degli Uffizi


The Tribuna of the Uffizi
title QS:P1476,it:"Tribuna degli Uffizi"
label QS:Lit,"Tribuna degli Uffizi"
label QS:Lfr,"La Tribune des Offices"
label QS:Len,"The Tribuna of the Uffizi"


It also adds Category:Artwork without English title. Why? --Jarekt (talk) 15:43, 2 February 2012 (UTC)Reply

I guess it is some sort of bug. Copying the title, deleting the whole page and previewing the category disappears. --Zolo (talk) 16:07, 2 February 2012 (UTC)Reply
Actually it was a typo in the notes [1]
Thanks. --Jarekt (talk) 13:32, 3 February 2012 (UTC)Reply
  This section is resolved and can be archived. If you disagree, replace this template with your comment. Jarekt (talk) 03:24, 22 February 2022 (UTC)

Teeny tiny titles

edit

If lang is not the user's language, and there is not a title in the user's language, then the title is rendered small. Perhaps it would be better Rendered like this Regardless. Most works will not have an attested title in most languages --moogsi (blah) 14:39, 14 March 2013 (UTC)Reply

Yes, it may be prettier, I'll try to see about it. --Zolo (talk) 16:16, 14 March 2013 (UTC)Reply
  Support --Marsupium (talk) 13:59, 31 March 2019 (UTC)Reply

More fallbacks!

edit

If the lang parameter is not set – at least in English – the template does not fall back to other languages. That causes the lack of any title for a lot of transclusions on pages in Category:Artwork without English title. Even the simple language templates are better then. Could we make the template fall back to what ever language is available better than not displaying any title? Perhaps beginning with languages common in titles of artworks (in Western art) like fr > it > es > de > nl. Even just those as fallbacks let show up a good bunch of titles! --Marsupium (talk) 20:06, 9 May 2017 (UTC)Reply

Marsupium, I think I might have fixed this case. Can you check? --Jarekt (talk) 03:57, 22 February 2022 (UTC)Reply
Jarekt, thanks for looking into this! It looks good, I guess this is resolved now! --Marsupium (talk) 11:30, 27 March 2022 (UTC)Reply
  This section is resolved and can be archived. If you disagree, replace this template with your comment. Jarekt (talk) 17:25, 27 March 2022 (UTC)

Pushing to title (P1476)?

edit

Hi Jarekt, thanks a lot for the new QuickStatements export functionality! Just a question: Why don't you use |opt=2 from Template:Title/QS? To me it seems to be a good idea, at least if |1= and |lang= of {{Title}} are set. Cheers, --Marsupium (talk) 14:04, 31 March 2019 (UTC)Reply

Marsupium, I stopped adding title after User:Multichill pointed out that title (P1476) was meant more for printed works than painting titles. See this discussion. I do prefer to keep painting titles in a property as oppose to a label, because you can add references to properties but not to labels, but as long as the titles are stored somewhere I am OK with it, so I retired |opt=2, which was triggering pushing painting titles to title (P1476). --Jarekt (talk) 14:41, 31 March 2019 (UTC)Reply
Jarekt, oh, ok, thank you, I didn't know about the reservation of title (P1476) for printed works and the discussion, I use it regularly … I'll have to look at it now. If we can't use P1476 we definitely need another property for that for the reasons you've mentioned! --Marsupium (talk) 14:45, 31 March 2019 (UTC)Reply
@Marsupium and Jarekt: I opened d:Property_talk:P1476#How_to_use_for_paintings? to get this sorted out. If we do go for the option everything, please hold off enabling this for a bit so I can import the data from the original art collections. Multichill (talk) 15:23, 31 March 2019 (UTC)Reply
I will check with you before turning it back on. --Jarekt (talk) 15:28, 31 March 2019 (UTC)Reply

Lua Rewrite

edit

I just rewrote this template in Lua. In case there are any issues please report them here. --Jarekt (talk) 15:03, 29 November 2019 (UTC)Reply

template is somehow broken

edit

I think this template is somehow broken. It does not give any fallback. E. g. File:Vincenz_Havlicek_-_Bildstock_bei_Rust.jpg doesn't show any title if my language is set to English. The template should always display at least SOMETHING. --Anvilaquarius (talk) 19:26, 10 June 2021 (UTC)Reply

This crappy template STILL DOESN'T SHOW ANYTHING in many cases. --Anvilaquarius (talk) 14:21, 24 November 2021 (UTC)Reply
Anvilaquarius, The documented syntax is {{title|Bildstock bei Rust|lang=de}} instead of {{title|de=Bildstock bei Rust}}. That's why the template does not work for you. That said, it was a bad design (12 years ago) for the {{title|de=Bildstock bei Rust}} to return nothing, so now it returns "German:
Bildstock bei Rust
label QS:Lde,"Bildstock bei Rust"
".
  This section is resolved and can be archived. If you disagree, replace this template with your comment. Jarekt (talk) 03:35, 22 February 2022 (UTC)

big banner

edit

@Jarekt: I think there are some problems with the template. This result for example, with the big banner, is not wanted. --Phyrexian ɸ 09:46, 17 February 2022 (UTC)Reply

Phyrexian   Fixed the issue in this file, but there is still potential of a mess for other styles of title definitions. --Jarekt (talk) 05:08, 18 February 2022 (UTC)Reply
@Jarekt: I don't know what you did, but thank you, it works. Off topic: I see you changed the image template to {{Art photo}}, but I'll switch back to {{Artwork}}, I prefer this one for bidimensional artwork pictures, it's more compact and the photograph is not so important. --Phyrexian ɸ 05:50, 18 February 2022 (UTC)Reply
  This section is resolved and can be archived. If you disagree, replace this template with your comment. Jarekt (talk) 03:25, 22 February 2022 (UTC)
Return to "Title" page.