Jump to content

Template talk:Infobox ancient site

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Undocumented Wikidata image behavior - broken[edit]

There's some sort of an image 'FETCH_WIKIDATA' feature being used here, that I only noticed when I added a skeleton version of this template at Vučedol. Wikidata there seems to reference two image files, and then this gets a comma-separated list of these, and instead of generating two image thumbnails, it generates a broken upload link. Can someone fix it please? --Joy [shallot] (talk) 18:50, 15 June 2022 (UTC)[reply]

History indicates this was added in this 2017 edit by Capankajsmilyo, and didn't get changed since. In the meantime I noticed that module is marked as deprecated, and Module:WikidataIB#Limiting the returned values seems to deal with this kind of an issue, so it looks like a conversion is in order. --Joy [shallot] (talk) 19:02, 15 June 2022 (UTC)[reply]

I tried to reproduce/convert this at Template:Infobox ancient site/testcases#Test 6 but the issue doesn't seem to be happening there...? --Joy [shallot] (talk) 19:23, 15 June 2022 (UTC)[reply]

 Fixed. – Jonesey95 (talk) 13:31, 17 June 2022 (UTC)[reply]
Thanks! So, the draft testcase didn't work because of that 'qid' missing? Was the rank=best change necessary or just a quality of life change? --Joy [shallot] (talk) 14:16, 21 June 2022 (UTC)[reply]
Yes to the qid testcase question. I am not sure about the rank=best change; I copied it from a known working template that was trying to do the same sort of thing. – Jonesey95 (talk) 14:39, 21 June 2022 (UTC)[reply]

Country linking[edit]

The examples in parameters, |Location= have the country linked. Paraphrasing MOS:OVERLINK, says that countries should generally not be linked. Can this be changed? Sciencefish (talk) 08:27, 26 August 2022 (UTC)[reply]

Turning off default thumbnail display[edit]

For some sites an image is placed above the map in the infobox which I am assuming comes from wikidata. How do I turn that off? Seems like the editor should be able to decide whether to lead with the map or not. I read the infobox ancient site template page and am still clueless. An example would be Khafajah. Thanks. :-) Ploversegg (talk) 15:36, 12 November 2022 (UTC)[reply]

Ok, I looked at the template source. So I can't prevent an image from being displayed but I CAN replace it with another image using the "image=X" entry. Well, half a loaf is better than none.Ploversegg (talk) 15:57, 15 November 2022 (UTC)[reply]