Template talk:Generic:Map Features:leisure

From OpenStreetMap Wiki
Jump to navigation Jump to search

Spa

I think this table is missing the spa leisure. See Tag:amenity=spa --Valeriobozz (talk) 19:16, 27 June 2021 (UTC)

See Tag:bath:type=thermal Something B (talk) 09:08, 17 June 2023 (UTC)

Sunbathing

I'm trying to add sunbathing but my row has error "Data item not found. Check your spelling".

I've read the documentation and I do not understand anything sorry :) :)

Code:

{| class="wikitable"
| {{ keylink | leisure }}
| {{ valuelink | leisure | sunbathing }}
| {{IconNode}} {{IconArea}}
| {{{sunbathing:desc|A designated outdoor place for sunbathing. Not to be confused with an indoor tanning salon.}}}
| {{{sunbathing:render|}}}
| {{{sunbathing:photo|[[File:Rio Othon Palace - rooftop pool.jpg|100px|center]]}}}
|}

Render:

leisure sunbathing node area A designated outdoor place for sunbathing. Not to be confused with an indoor tanning salon.

I think the discussion should be moved to Template talk:Valuelink. I will leave the stub here. --Valeriobozz (talk) 08:29, 18 August 2025 (UTC)

Valuelink uses data items, which not exist for leisure=sunbathing. Something B (talk) 09:26, 18 August 2025 (UTC)
@Something B: Thanks. What do you think about this? Do you somehow agree that the error message can be improved? :) Template_talk:Valuelink#Creation of data item --Valeriobozz (talk) 09:36, 18 August 2025 (UTC)
In the meanwhile, I personally think the template:valuelink is expensive for no sufficient reasons and can be easily replaced with the Template:Tag in this and other cases. I will adopt that and I recommend to do the same in other entries. --Valeriobozz (talk) 09:44, 18 August 2025 (UTC)