Template:OSM Location map/Labelitem

{{#ifexpr:{{{shape-halo|0}}}>0| "lat":, "lon": , "size": "{{#expr:trunc(+({{{shape-halo|0}}}*1.8))}}0", {{#ifexpr:{{Str len| }}<8|"color": "{{{shape-color|#AA1056}}}30", "strokeColor": "{{{shape-color|#AA1056}}}06"| "color": "#{{Str sub new|{{{shape-color|AA1056}}}|2|7}}01", "strokeColor": "#{{Str sub new|{{{shape-color|#AA1056}}}|2|7}}70"}}, "shape": "{{#switch:|circle| square| cross| diamond| triangle-up| triangle-down=|circle}}"}, { }} "lat":, "lon": , {{#switch: "size": "{{#ifexpr:>2| }}0", {{#if:|"color": "",|}} {{#ifeq:|0| |"strokeColor": "{{{shape-color|}}}",}} "shape": "", |"size": "0", | "img": "wikirawupload:{{filepath:| }}", "height":, "width": {{#expr:trunc(*) }}, }} }} "text": "", "textAlign": "", "textBaseline": "", "textDx":, "textDy": {{#switch: "textFontSize": {{#if:|}, { "lat":, "lon": , "shape": "circle", "size": "0", "text": "", "textAlign": "", "textBaseline": "", "textDx":, "textDy": {{#switch: "textFontSize": }} {{#if:|}, { "lat":, "lon": , "shape": "circle", "size": "0", "text": "", "textAlign": "", "textBaseline": "", "textDx": {{#switch: "textFontSize": }} {{#ifeq:|0||{{#if:|{{#switch:|0=| }, { "lat":, "lon": , "shape": "circle", "size": "0", "text": "{{{numbered|}}}", "textAlign": "center", "textBaseline": "bottom", "textDx": 0, "textDy": {{#expr:trunc(/2.2)-2}}, "textFontSize": {{#expr:trunc({{{mark-size|10}}}*0.65)}} }} }} }}
 * circle| square| cross| diamond| triangle-up| triangle-down=
 * {{#ifexpr:=0
 * left|right=
 * top=
 * bottom={{#expr:trunc(/2)+2+ }}
 * 1}},
 * left|right=
 * top=
 * bottom={{#expr:trunc(/2)+2+++1}}
 * 1}},
 * left={{#expr:trunc(0-/2*)-2++{{#ifeq:{{{shape|}}}|image|0|-1}} }}
 * right={{#expr:trunc(/2*)+2++{{#ifeq:{{{shape|}}}|image|0|-3}} }}
 * top|bottom=
 * 0}}, "textDy": {{#switch:
 * left|right=
 * top={{#expr:trunc(0-/2)-2+ }}
 * bottom={{#expr:trunc(/2)+2+++1++1}}
 * 1}},