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 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)
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 Module:Mapframe (called from 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.
The wikis Listed below have some version of Template:Maplink (Q27882107) and/or Module:Mapframe (Q52554979). Those that are ticked are able to display point features, and extract coordinates from Wikidata.
Original task description
Based on our testing and conversation 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 Template:Maplink and Template:Mapbox.
Unfortunately, there are a large number of 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