Template talk:Object location
Do not reserve 100% of the width
Hello, at some categories, for instance Category:Chapel of the Virgin Mary (Karlovy Vary), the page looks really weird, there is ton of blank content. Can we just remove width: 100% from this template, so it will have as much widht as it really needs it? --Martin Urbanec (talk) 16:12, 22 April 2020 (UTC)
- I fixed Category:Chapel of the Virgin Mary (Karlovy Vary). --Jarekt (talk) 17:57, 22 April 2020 (UTC)
View all coordinates using: OpenStreetMap "lands" off Africa instead of in Germany
I used template {{Object location dec|52.5450|13.8480|region:DE-BB}} for the first time. With "Map with all coordinates: OpenStreetMap" I "land" off Africa ( https://tools.wmflabs.org/osm4wiki/cgi-bin/wiki/wiki-osm.pl?project=Commons&article=Category:M%C3%A4rchenwald_Strausberg_Vorstadt&l=1 ) instead of Germany. This is also here https://commons.wikimedia.org/wiki/Category:Chapel_of_the_Virgin_Mary_(Karlovy_Vary) ( https://tools.wmflabs.org/osm4wiki/cgi-bin/wiki/wiki-osm.pl?project=Commons&article=Category:Chapel_of_the_Virgin_Mary_(Karlovy_Vary)&l=1 ) so. Am I doing something wrong?
In Deutsch: Ich habe das erste Mal die Vorlage {{Object location dec|52.5450|13.8480|region:DE-BB}} verwendet. Mit „Karte mit allen Koordinaten: OpenStreetMap“ „lande“ ich vor Afrika ( https://tools.wmflabs.org/osm4wiki/cgi-bin/wiki/wiki-osm.pl?project=Commons&article=Category:M%C3%A4rchenwald_Strausberg_Vorstadt&l=1 ) statt in Deutschland. Dies ist auch hier https://commons.wikimedia.org/wiki/Category:Chapel_of_the_Virgin_Mary_(Karlovy_Vary) ( https://tools.wmflabs.org/osm4wiki/cgi-bin/wiki/wiki-osm.pl?project=Commons&article=Category:Chapel_of_the_Virgin_Mary_(Karlovy_Vary)&l=1 ) so. Mache ich etwas falsch?
Lua Error if Wikidata Info is missing
Hi, i've encountered a Lua error thrown by Module:Coordinates if there's no Link to Wikidata. The error is: "Lua error in Module:Coordinates at line 168: attempt to index local 'entity' (a nil value)." This happens if the template is added to a commons category that has no link to wikidata (e.g. using the Wikidata infobox Template). Adding a wikidata item removes the error. This may affect a lot of commons categories lacking a wikidata link. Is there a way to solve this issue? Fl.schmitt (talk) 08:30, 30 June 2022 (UTC)
- Since it seems to be a Module:Coordinates issue, i've posed a question on Module_talk:Coordinates... Fl.schmitt (talk) 08:53, 30 June 2022 (UTC)
Multiple object locations
For a ten minute video filmed from an airplane, mention how to tag each of the landmarks we filmed (multiple object locations.) And also what about the camera location? We were moving.
Also a still picture with two famous mountain peaks. Mention how to add two object location tags. Jidanni (talk) 08:25, 30 March 2023 (UTC)
Tracking empty use
Please add an if-clause for empty arguments {{{1}}} and {{{2}}}, and a tracking category to catch these uses. -- Tuválkin ✉ ✇ 11:40, 26 November 2023 (UTC)
Space under the box
Currently the template is used as the top of categories. There is no real space between the bottom of the box and the next line - can we add some padding? - Chris.sherlock2 (talk) 14:56, 6 February 2024 (UTC)
What more to add?
In this file File:Greater_Lincolnshire_Map.svg (and many others) I use {{Object location|53.31|-0.40|dim:40km}}
, and in Structured data I add "coordinates of depicted place" with "53.31, -0.40". But when saved this hidden category Category:Files_with_coordinates_missing_SDC_location_of_creation_(53°_N,_1°_W) is added.
I don't understand what more I'm supposed to add, I have added both in Information and Structured data? --please ping me-- Goran tek-en (talk) 15:29, 26 February 2025 (UTC)
- Wait a few hours. Synching SD is not immediate. (Yes, I think so too.) -- Tuválkin ✉ ✇ 01:33, 27 February 2025 (UTC)
- @Tuvalkin Thanks, but it's about 24 hours now and this file File:Map of the regions of Arabia.svg was uploaded 23 februari and still has this category added so I think there is another thing going on here. --please ping me-- Goran tek-en (talk) 14:17, 27 February 2025 (UTC)
- On a closer look, it seems that somehow Wikidata expects this file to have a “location of creation”, not just coordinates of depicted place. One may say that this doesn’t make sense for an SVG file… (I for one do my curation work in Wikimedia Commons as if Sctuctured Data and Wikidata itself didn’t exist, 99% of the time.) -- Tuválkin ✉ ✇ 15:24, 27 February 2025 (UTC)
- @Tuvalkin Thanks, would you know if it is possible to add "coordinates of depicted place" as a valid way to put out this information as well as “location of creation”.
- Like it works now it just add stuff to the category which actually are correct in a general sense. --please ping me-- Goran tek-en (talk) 15:33, 27 February 2025 (UTC)
- @Tuvalkin Forget about that above, when I do a quick search in wikidata there are many different items for giving a location so I think it can't just be expected to be one item “location of creation”, it should be all with gps information. See if I can find someone who work with this, not easy. --please ping me-- Goran tek-en (talk) 15:46, 27 February 2025 (UTC)
- On a closer look, it seems that somehow Wikidata expects this file to have a “location of creation”, not just coordinates of depicted place. One may say that this doesn’t make sense for an SVG file… (I for one do my curation work in Wikimedia Commons as if Sctuctured Data and Wikidata itself didn’t exist, 99% of the time.) -- Tuválkin ✉ ✇ 15:24, 27 February 2025 (UTC)
- @Tuvalkin Thanks, but it's about 24 hours now and this file File:Map of the regions of Arabia.svg was uploaded 23 februari and still has this category added so I think there is another thing going on here. --please ping me-- Goran tek-en (talk) 14:17, 27 February 2025 (UTC)