### Background
Various wikis have created a template that is effectively a wrapper of the <maplink> and/or <mapframe> tags, to make them easier for editors to use.
### The problem
The templates were setup to show shapes and lines from .map files on Commons, or from a Wikidata id (technically from OSM based on that id), but not for points (i.e. the coordinates specified on a Wikidata item)
### The solution
Retrieve the coordinates from the Wikidata using Lua (or from template parameter), and pass that into the <maplink> tag. This is implemented in enwiki's [[https://en.wikipedia.org/wiki/Module:Mapframe|Module:Mapframe]] (called from [[https://en.wikipedia.org/wiki/Template:Maplink|Template:Maplink]]).
### The new problems
(1) This was only fixed on enwiki, and still needs to be propagated through to other wikis, preferably with local translations (at least for the documentation, possibly for the end-user parameters). The TNT module mentioned by Yurik might be able to help with that.
(2) Not all the templates are based off the enwiki version. The fix needs to be adapted for those templates and/or their modules.
### Implementation
The wikis Listed below have some version of Template:Maplink ([[https://www.wikidata.org/wiki/Q27882107|Q27882107]]) and/or Module:Mapframe ([[https://www.wikidata.org/wiki/Q52554979|Q52554979]]). Those that are ticked are able to display point features, and extract coordinates from Wikidata.
[ ] arwiki
[ ] bnwiki
[x] enwiki
[x] fawiki
[ ] idwiki
[ ] itwiki
[ ] jawiki
[ ] kowiki
[ ] sawiki
[ ] dewikisource
[ ] enwikivoyage
[ ] hiwikivoyage
[ ] itwikivoyage
#### Original task description
Based on our testing and conversation [[ https://en.wikipedia.org/wiki/Template_talk:Maplink | here ]], we'd like to see if using latitude and longitude as a valid data entry point—along with a Wikidata Qid for a single point—can be added to the [[ https://en.wikipedia.org/wiki/Template:Maplink | `Template:Maplink` ]] and [[ https://en.wikipedia.org/wiki/Template:Mapbox | `Template:Mapbox` ]].
Unfortunately, there are a large number of [[ https://en.wikipedia.org/wiki/Special:WhatLinksHere/Template:Maplink | articles ]] that use the `Template:Maplink` but are effectively "broken" because they use a single Wikidata Qid for a simple lat/lng point object or are using the incorrect syntax (using `shape-inverse` instead of `type=shape`). This change won't help those 'broken' maps, but it would give users an alternate method in which to use when adding a `maplink` to an article.
Adding in this ability could also greatly increase the amount of articles that would have an interactive map experience, since average editors could easily add them into pages that already have coordinates (and new articles that will have coordinates in them), maybe even using this query as a starting point: https://en.wikipedia.org/wiki/Category:Coordinates_on_Wikidata or even this: https://en.wikipedia.org/wiki/Category:Coordinates_not_on_Wikidata