Jump to content

Template talk:Infobox park

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

How to get a map?

[edit]

Vinmont Veteran Park and Bronx Skate Park both have similar uses of this template, but only the former is generating a map. Why? -- RoySmith (talk) 13:39, 27 August 2020 (UTC)[reply]

The short answer is that the skate park is not in Wikidata yet. As soon as it is (with coordinates), the map will appear automatically. I added a pushpin map t the article instead for now. MB 14:23, 27 August 2020 (UTC)[reply]
MB, Ah, deep magic! I'll go add it to wikidata. Thanks. -- RoySmith (talk) 15:55, 27 August 2020 (UTC)[reply]

Why is the TemplateData commented out?

[edit]

I'd like to delete the comment so that this template can be easily used in the VisualEditor again, but I'm not sure if there is a reason it was commented out a couple years ago. Does anyone know of a reason that I shouldn't do this? — Preceding unsigned comment added by Coooohen (talkcontribs)

@Trialpears: Do you remember why you commented it out? Was it because I updated a bunch of parameters? — hike395 (talk) 20:45, 19 May 2021 (UTC)[reply]
Hike395 Coooohen Sorry for that. Clearly I forgot to finish something back in 2019. It had a bunch of JSON errors, which I have now fixed. Thanks for pinging me! --Trialpears (talk) 20:59, 19 May 2021 (UTC)[reply]
Hi Hike395 and Trialpears- Thanks for the quick response and help! Coooohen (talk) 06:36, 20 May 2021 (UTC)[reply]

Mapframe creates small blue map

[edit]

I am using mapframe in Villa Borghese gardens like this: |mapframe_zoom=12 |mapframe_caption=Click on the map to see marker |mapframe_marker=garden The thumbnail picture shown is just blue. If you click on it, the fullscreen map is absolutely great. What is the problem? Ruedi33a (talk) 18:19, 17 October 2021 (UTC)[reply]

I see a map of Rome in the thumbnail? — hike395 (talk) 18:48, 17 October 2021 (UTC)[reply]
This is usually just a caching problem that will resolve itself. The map looks fine to me now. MB 18:54, 17 October 2021 (UTC)[reply]

Thanks for your answer, the problem is indeed a caching problem. Ruedi33a (talk) 20:05, 17 October 2021 (UTC)[reply]

Recent edits

[edit]

A few articles are showing "Lua error in Module:Mapframe at line 384: attempt to perform arithmetic on local 'lat_d' (a nil value)." It's a shame that module doesn't give a better error message but regardless of that, perhaps someone here can work out whether the articles need fixing or this template needs a tweak. Current articles with a problem:

Johnuniq (talk) 02:14, 16 March 2022 (UTC)[reply]

@: Do you know what is causing the errors? Johnuniq (talk) 09:52, 17 March 2022 (UTC)[reply]
According to the error message, mapframe is confused by how the coordinates are put in, and I am too! I haven't seen this form of input, some plainly in, some in parentheses. I suggest, as the template recommends, using {{Coord}} for your coordinates. ɱ (talk) 15:46, 17 March 2022 (UTC)[reply]

Map display in infobox park

[edit]
Map
Map
Map
Map
Map

Hi there. With infobox park, I can't figure out how to implement the map properly. I'm looking at the immaculate example of Central Park, to use maplink and coords templates, to build Swope Park and Kaw Point, both of which have a map displayed twice and it isn't zoomed in to any meaningful scale. If anyone would like to kindly fix these then I'd learn from it. Thanks. — Smuckola(talk) 02:43, 9 April 2022 (UTC)[reply]

Hello! I can fix the double map display. Zoom level is up to the editor, so feel free to adjust to your liking. Mapping the location of a park is easy; more complex things like mapping the park's boundaries usually require a bit more work. See Wikipedia:Creating shape maps from OpenStreetMap data. ɱ (talk) 03:03, 9 April 2022 (UTC)[reply]
@: Well aren't you just a delight? Yes, last year, I gave up after a few days when attempting to draw boundaries for Swope Park, but someone said they'd write a better howto because it was just about impossible. I'm really trying to learn this for real. I'll check your link, thanks. The only alternative sometimes is when you have a smaller duller area like Salina, Kansas where a screenshot of a much more detailed map is much more interesting and useful than just a blob on OpenStreetMaps, lol, but then it's not navigable. So I guess there would probably still be a way to autogenerate a link from the infobox to an OSM map, right? By the way, did I choose the correct infobox on Kaw Point? If the article is named Kaw Point then that's the land feature, but I guess when a land feature is superseded by all the human activity and becomes a national park, then we should rename the article after the park and make the land feature into a section thereof. Should I do that? Or I guess I can have an infobox about the land feature if the article can be expanded about only that geography along with the Lewis and Clark history thereof, and have a park section with its own infobox. — Smuckola(talk) 05:03, 9 April 2022 (UTC)[reply]
Thanks! Park infobox is fine there. And let me know if you have questions with my tutorial, it's still new and definitely not entry-level. ɱ (talk) 14:58, 9 April 2022 (UTC)[reply]
@: Ok cool. Did you have any thought on what I said about a screenshot map plus a link to OSM in the infobox at Salina, Kansas? It is optimal to have the screenshot on that boring spot, isn't it? For example, New York City has the OSM but its outline is a signature feature in itself and its terrain is more varied and interesting, and there's no way to have detailed features inside such a vast region because it's basically a thumbnail. Not so with a small town, huh? Thanks. — Smuckola(talk) 20:03, 9 April 2022 (UTC)[reply]
The KDOT map is cool, but maplink is fine too, people won't expect Kansas to be full of forests and parks and suburban developments. You could always edit OSM to add more features, if you think anything is lacking? There are no requirements for which map you choose, so whichever you choose/whichever the article's editors agree upon is valid. ɱ (talk) 20:25, 9 April 2022 (UTC)[reply]

One map good, two maps better?

[edit]

I've noticed that this infobox now shows two different maps, an explicit one based on the map= parameter, and one based on the Infobox mapframe, which seems a bit overkill to me. I've discovered that it is possible to switch off the mapframe one by adding a mapframe=no parameter, and presumably removing the map= parameter will switch off the explicit map. However my reading of both the documentation for this template and previous comments suggest this should not be necessary.

The documentation says the default for mapframe= is no. If that were the case, then explicitly setting mapframe=no ought to have no effect and we ought only to see the mapframe map if mapframe=yes is explicitly set. This is clearly not the case.

Further up this talk page, I've found this statement from @Jc86035: I've added {{Infobox mapframe}} to the sandbox; it displays if there are coordinates but no other map.

This is also clearly not true, or maybe never made it out of the sandbox, as it displays even if there is another map. For an example, see Christchurch Meadows, Reading. Obviously something has changed; I cannot see any discussion so I don't know if this is deliberate or accidental. Do we really want two maps as the norm?. -- chris_j_wood (talk) 10:17, 29 June 2022 (UTC)[reply]

@Chris j wood: Sorry, this was my bad. In standardizing the parameters and functions, some incorrect code was used; this is now fixed. ɱ (talk) 15:55, 29 June 2022 (UTC)[reply]
@: No problem. Thanks for fixing it. chris_j_wood (talk) 16:17, 29 June 2022 (UTC)[reply]

Template-protected edit request on 19 August 2022

[edit]

In Zinda Park article. I used "alt_name" and "native_name". But the page only shows Alternative name. Please fix this issue. Mehedi Abedin 18:23, 19 August 2022 (UTC)[reply]

 Done * Pppery * it has begun... 20:20, 19 August 2022 (UTC)[reply]

How to not display the map?

[edit]

Can someone please tell me how to make Template:Coord not put a map into this infobox? I am at my wits' end. Surtsicna (talk) 22:20, 3 December 2023 (UTC)[reply]

You want no map whatsoever? It looks like the template always inserts a mapframe whenever |map= or |map_image= is not supplied. Is there a specific article where you don't want a map? — hike395 (talk) 01:07, 4 December 2023 (UTC)[reply]
Surtsicna have you tried |mapframe = no? Stefen Towers among the rest! GabGruntwerk 23:28, 27 March 2024 (UTC)[reply]
I had not! Thank you, StefanTower. The ayout at Sichtungsgarten Weihenstephan looks much better now, I think. Surtsicna (talk) 23:27, 3 August 2024 (UTC)[reply]

Show an associated entity with its own boundary in the interactive map

[edit]

I have parks in my city that have golf courses as features but are represented separately in OpenStreetMap. Given that I create Wikidata items to represent the golf courses, how do I show them in the map, in addition to the park proper (each having their own boundary)? And for extra credit, is there a way to set a label in the map for both the park proper and the golf course? I've read through the documentation, but I don't see what I can use for this purpose. Stefen Towers among the rest! GabGruntwerk 23:22, 27 March 2024 (UTC)[reply]

Difference between coords and coordinates

[edit]

As can be seen in the map diff1 and diff2, calling the field (parameter?) coords displays the red outline, but calling it coordinates doesn't. Abductive (reasoning) 07:30, 27 June 2024 (UTC)[reply]