Template talk:OSM Location map/MaplinkItemtemp
Appearance
Template-protected edit request on 4 February 2024
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please could you replace the template, in its entirety, with the version shown below. The only actual change is the addition to line 5, which replaces "marker-symbol": "-number" with the string-modified 'group' parameter, (stripped of all non-alpha-numerics), to enable captions to be used as a label to ensure multiple maps all start from item 1. I need this change in place in order to do the edit to the template that calls this one.
Thanks. (And by the way, this whole template is a temporary fix while WMF decide what to do about the proper maps. Why is this one edit-forbidden? It is very frustrating and a waste of your time!)
<noinclude>{{#tag:syntaxhighlight|</noinclude>{ "type": "Feature", "properties": { "title": "{{{3|Title}}}", "description": "{{#if:{{{mark-image|}}}|[[File:{{{mark-image}}}|300px]]}}{{{mark-description|}}} [https://tools.wmflabs.org/geohack/geohack.php?params={{{1|0}}};{{{2|0}}}_dim:2000 {{{1|0}}},{{{2|0}}}]", "marker-symbol": "-number-{{#invoke:String|replace|{{{group|unnamed}}}|%W||plain=false}}", "marker-size": "small", "marker-color": "#{{#invoke:string|sub|{{{mark-color|#B80000}}}|2|7}}" }, "geometry": {"type": "Point", "coordinates": [{{{2|0}}},{{{1|0}}}] } }<noinclude>|lang=json}} {{Documentation|content=This template is part of [[../]].}}</noinclude>