Template talk:Object location

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Do not reserve 100% of the width

[edit]

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)[reply]

I fixed Category:Chapel of the Virgin Mary (Karlovy Vary). --Jarekt (talk) 17:57, 22 April 2020 (UTC)[reply]

View all coordinates using: OpenStreetMap "lands" off Africa instead of in Germany

[edit]

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ärchenwald_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ärchenwald_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?

--Molgreen (talk) 04:45, 25 April 2020 (UTC)[reply]

Lua Error if Wikidata Info is missing

[edit]

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)[reply]

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)[reply]

Multiple object locations

[edit]

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)[reply]

Tracking empty use

[edit]

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)[reply]

Space under the box

[edit]

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)[reply]