Talk:Maó

From Wikivoyage
Jump to navigation Jump to search

Reorganizing this article[edit]

This article now covers the town of Mao, the surrounding municipality of Mao, and some sites in neighbouring municipalities (El Castell and San Lluis) that are accessible from the town. This makes the map not function very well. I attempted to sort this out by moving everything outside the town (10 listings) into a "Nearby" section with its own map, but that map can't have different coloured markers for see, do, eat, drink sleep listings.

I have two ideas for making this easier for readers:

  • A. Find a better way of separating listings between the two maps so that both have colour-coded markers; or
  • B. Create a new article, Eastern Menorca, for the listings outside of the town of Mao. This would require reworking the municipalities map on the Menorca article.

Comments? Ground Zero (talk) 15:12, 18 December 2021 (UTC)[reply]

Support Proposal B. I don't think it's possible to do proposal A from a technical perspective, but there might be a way that I'm not thinking of. SHB2000 (talk | contribs | meta.wikimedia) 20:45, 18 December 2021 (UTC)[reply]
Thanks for the feedback. I'll do this unless anyone else has ideas in the next few days. Ground Zero (talk) 12:23, 20 December 2021 (UTC)[reply]
On further thought, this might be able to be solved by creating a new template, specifically for this article. The only problem is that Wikivoyage's template policy would mean waiting a good two months for that template to be "approved", and why doing proposal B might be more efficient. We could still try proposal A though. SHB2000 (talk | contribs | meta.wikimedia) 12:45, 20 December 2021 (UTC)[reply]
Why do you think templates have to be created, when you can simply edit a page in plain text? Ikan Kekek (talk) 12:48, 20 December 2021 (UTC)[reply]
Is there a way of separating listings between two maps (with coloured markers) in plain text? I don't know how to do that. Ground Zero (talk) 12:55, 20 December 2021 (UTC)[reply]
Not that I know of, as the show parameter can't be manipulated. Unless there's a way I'm not thinking of because my 00:07 brain can't think properly.
However, even if there was a way, it may be harder for future editors who are not so technically advanced to edit the page. The maplegend in Mungo National Park is an example of one that I had to do. SHB2000 (talk | contribs | meta.wikimedia) 13:09, 20 December 2021 (UTC)[reply]
You can't use plain text and still manipulate the |show= parameter at the same time. SHB2000 (talk | contribs | meta.wikimedia) 13:03, 20 December 2021 (UTC)[reply]
What's unique in this situation that existing code can't handle? Ikan Kekek (talk) 13:20, 20 December 2021 (UTC)[reply]
When a map is created, it picks up every listing in the article that has Wikidata or coordinates. (See this version.) This article covers the town of Mao and sites that are within a reasonable excursion journey. But that means that the map is useless for finding things in the town because it coversva large area.
Having two maps -- one for the town and one for the region -- would provide the information in a more useful way for readers. There is a way of doing it-- see Lac-aux-Sables, in which places close to the town are on one map, and the Go Next places are on a separate map -- but the second map (using the mapgroup template) shows all of the places with the same colour marker. That's fine for Go Next markers, but in this case, there are see, do, eat, drink, and sleep listings outside of the town. They would appear all in the same color using mapgroup.
In Wine Regions of Ontario, I "forced" separate maps using location and zoom parameters, but that would not work here. It would be useful to have more options for creating maps.
Splitting this article in two is workable, but a second-best solution. Ground Zero (talk) 14:26, 20 December 2021 (UTC)[reply]
Alright, if a new template is needed for that, I'd approve it. SHB2000, why don't you make a proposal on the appropriate page and point to this thread? Ikan Kekek (talk) 20:20, 20 December 2021 (UTC)[reply]
sigh... after having a look at the template's mechanism, it doesn't seem there's a way to do the new template based on the mechanism of {{listing}}. It would be possible thru {{marker}} though, which has more flexibilities with the color, but marker doesn't take phone numbers, urls, emails etc.. SHB2000 (talk | contribs | meta.wikimedia) 02:49, 21 December 2021 (UTC)[reply]
I've just finished the template. I cannot seem to find any bugs in it, but the map doesn't seem to work properly. I think maybe option B seems the only option left :-( SHB2000 (talk | contribs | meta.wikimedia) 03:26, 21 December 2021 (UTC)[reply]
The map mostly works, except the Do listings do not appear, and the names of some of the listings have disappeared. Ground Zero (talk) 04:17, 21 December 2021 (UTC)[reply]
Last option, break down the template. Have done that for see and do, and it seems a success. SHB2000 (talk | contribs | meta.wikimedia) 04:25, 21 December 2021 (UTC)[reply]
Have finished breaking down the template. Seemed like using {{marker}} was the solution rather than using {{listing}}. SHB2000 (talk | contribs | meta.wikimedia) 04:36, 21 December 2021 (UTC)[reply]

──────────────────────────────────────────────────────────────────────────────────────────────────── that formatting works. Thanks @SHB2000:. The question now is whether the non-standard formatting for the article is okay with others, i.e., having see, do, eat, drink, sleep subsections in the Nearby section. Ground Zero (talk) 13:24, 21 December 2021 (UTC)[reply]

I'm ok with it, as it seems the only solution to me, but I'm not sure how some others might feel about this structure. SHB2000 (talk | contribs | meta.wikimedia) 20:53, 21 December 2021 (UTC)[reply]