வார்ப்புரு:OSM Location map/Labelitem
&quot;lat&quot;: {{{mark-lat|0}}}, &quot;lon&quot;: {{{mark-lon|0}}}, 
 {{#switch:{{{shape|}}}
 |circle| square| cross| diamond| triangle-up| triangle-down=
  &quot;size&quot;: &quot;{{#ifexpr:{{{mark-size|10}}}&gt;2|{{#expr:{{{mark-size}}}-2}} }}0&quot;, 
  {{#if:{{{shape-color|}}}|&quot;color&quot;: &quot;{{{shape-color}}}&quot;,|}} 
  {{#ifeq:{{{numbered|}}}|0|{{#if:{{{shape-outline|}}}|&quot;strokeColor&quot;: &quot;{{{shape-outline}}}&quot;,|}} |&quot;strokeColor&quot;: &quot;{{{shape-color|}}}&quot;,}}
  &quot;shape&quot;: &quot;{{{shape|}}}&quot;, 
 |{{#ifexpr:{{{mark-size|10}}}=0
   |&quot;size&quot;: &quot;0&quot;, 
   | &quot;img&quot;: &quot;wikirawupload:{{filepath:{{#if:{{{mark|}}}|{{{mark}}}|Red pog.svg}}|{{#expr:trunc({{{mark-size|10}}}*{{{mark-dim|1}}}) }} }}&quot;, &quot;height&quot;: {{{mark-size|10}}}, &quot;width&quot;: {{#expr:trunc({{{mark-size|10}}}*{{{mark-dim|1}}}) }}, }}
 }}
 &quot;text&quot;: &quot;{{{label|}}}&quot;, {{#if:{{{label-angle|}}}|&quot;textAngle&quot;: {{{label-angle|0}}}, |}}
 &quot;textAlign&quot;: &quot;{{#switch:{{{label-pos|}}}
 |left=right|right=left|top=center|bottom=center|right}}&quot;, &quot;textBaseline&quot;: &quot;{{#switch:{{{label-pos|}}}
 |left=middle|right=middle|top=bottom|bottom=top|middle}}&quot;, &quot;textDx&quot;: {{#switch:{{{label-pos|}}} &lt;!-- higher Dx pushes label to the right --&gt;
 |left={{#expr:trunc(0-{{{mark-size|10}}}/2*{{{mark-dim|1}}})-2+{{#if:{{{label-offset-x|}}}|{{{label-offset-x}}}|0}}+{{#ifeq:{{{shape|}}}|image|0|-1}} }}
 |right={{#expr:trunc({{{mark-size|10}}}/2*{{{mark-dim|1}}})+2+{{#if:{{{label-offset-x|}}}|{{{label-offset-x}}}|0}}+{{#ifeq:{{{shape|}}}|image|0|-3}} }}
 |top|bottom={{{label-offset-x|0}}}
 |0}}, &quot;textDy&quot;: {{#switch:{{{label-pos|}}} &lt;!-- higher Dy pushes label down the map --&gt;
 |left|right={{#expr:{{#if:{{{label-offset-y}}}|{{{label-offset-y|0}}}|0}}+1}}
 |top={{#expr:trunc(0-{{{mark-size|10}}}/2)-2+{{{label-offset-y|0}}}{{#if:{{{labela|}}}|-{{{label-size|10}}}-1}}{{#if:{{{labelb|}}}|-{{{label-size|9}}}-1}} }}
 |bottom={{#expr:trunc({{{mark-size|10}}}/2)+2+{{#if:{{{label-offset-y|}}}|{{{label-offset-y}}}|0}} }}
 |1}}, 
 &quot;textFontSize&quot;: {{{label-size|12}}}{{#if:{{{label-color|}}}|, &quot;textColor&quot;: &quot;{{{label-color}}}&quot; |}}
 {{#if:{{{labela|}}}|},
 {
 &quot;lat&quot;: {{{mark-lat|0}}}, &quot;lon&quot;: {{{mark-lon|0}}}, 
  &quot;shape&quot;: &quot;circle&quot;, 
  &quot;size&quot;: &quot;0&quot;, 
  &quot;text&quot;: &quot;{{{labela|}}}&quot;, {{#if:{{{label-angle|}}}|&quot;textAngle&quot;: {{{label-angle|0}}}, |}}
 &quot;textAlign&quot;: &quot;{{#switch:{{{label-pos|}}}
 |left=right|right=left|top=center|bottom=center|right}}&quot;, &quot;textBaseline&quot;: &quot;{{#switch:{{{label-pos|}}}
 |left=middle|right=middle|top=bottom|bottom=top|middle}}&quot;, &quot;textDx&quot;: {{#switch:{{{label-pos|}}} &lt;!-- higher Dx pushes label to the right --&gt;
 |left={{#expr:trunc(0-{{{mark-size|10}}}/2*{{{mark-dim|1}}})-2+{{#if:{{{label-offset-x|}}}|{{{label-offset-x}}}|0}}+{{#ifeq:{{{shape|}}}|image|0|-1}} }}
 |right={{#expr:trunc({{{mark-size|10}}}/2*{{{mark-dim|1}}})+2+{{#if:{{{label-offset-x|}}}|{{{label-offset-x}}}|0}}+{{#ifeq:{{{shape|}}}|image|0|-3}} }}
 |top|bottom={{{label-offset-x|0}}}
 |0}}, &quot;textDy&quot;: {{#switch:{{{label-pos|}}} &lt;!-- higher Dy pushes label down the map --&gt;
 |left|right={{#expr:{{{label-offset-y|0}}}+1+{{{label-size|10}}}+1}}
 |top={{#expr:trunc(0-{{{mark-size|10}}}/2)-2+{{{label-offset-y|0}}}{{#if:{{{labelb|}}}|-{{{label-size|10}}}-1}} }}
 |bottom={{#expr:trunc({{{mark-size|10}}}/2)+2+{{{label-offset-y}}}+{{{label-size|10}}}+1}}
 |1}}, 
 &quot;textFontSize&quot;: {{{label-size|12}}}{{#if:{{{label-color|}}}|, &quot;textColor&quot;: &quot;{{{label-color}}}&quot; |}}
 }}
 {{#if:{{{labelb|}}}|},
 {
 &quot;lat&quot;: {{{mark-lat|0}}}, &quot;lon&quot;: {{{mark-lon|0}}}, 
  &quot;shape&quot;: &quot;circle&quot;, 
  &quot;size&quot;: &quot;0&quot;, 
  &quot;text&quot;: &quot;{{{labelb|}}}&quot;, {{#if:{{{label-angle|}}}|&quot;textAngle&quot;: {{{label-angle|0}}}, |}}
 &quot;textAlign&quot;: &quot;{{#switch:{{{label-pos|}}}
 |left=right|right=left|top=center|bottom=center|right}}&quot;, &quot;textBaseline&quot;: &quot;{{#switch:{{{label-pos|}}}
 |left=middle|right=middle|top=bottom|bottom=top|middle}}&quot;, &quot;textDx&quot;: {{#switch:{{{label-pos|}}} &lt;!-- higher Dx pushes label to the right --&gt;
 |left={{#expr:trunc(0-{{{mark-size|10}}}/2*{{{mark-dim|1}}})-2+{{#if:{{{label-offset-x|}}}|{{{label-offset-x}}}|0}}+{{#ifeq:{{{shape|}}}|image|0|-1}} }}
 |right={{#expr:trunc({{{mark-size|10}}}/2*{{{mark-dim|1}}})+2+{{#if:{{{label-offset-x|}}}|{{{label-offset-x}}}|0}}+{{#ifeq:{{{shape|}}}|image|0|-3}} }}
 |top|bottom={{{label-offset-x|0}}}
 |0}}, &quot;textDy&quot;: {{#switch:{{{label-pos|}}} &lt;!-- higher Dy pushes label down the map --&gt;
 |left|right={{#expr:{{{label-offset-y|0}}}+1+{{{label-size|10}}}+1+{{{label-size|10}}}+1}}
 |top={{#expr:trunc(0-{{{mark-size|10}}}/2)-2+{{{label-offset-y|0}}} }}
 |bottom={{#expr:trunc({{{mark-size|10}}}/2)+2+{{{label-offset-y}}}+{{{label-size|10}}}+1+{{{label-size|10}}}+1}}
 |1}}, 
 &quot;textFontSize&quot;: {{{label-size|12}}}{{#if:{{{label-color|}}}|, &quot;textColor&quot;: &quot;{{{label-color}}}&quot; |}}
 }}
 {{#ifeq:{{{mark-size|0}}}|0||{{#if:{{{numbered|}}}|{{#switch:{{{numbered|}}}|0=| },
 {
 &quot;lat&quot;: {{{mark-lat|0}}}, &quot;lon&quot;: {{{mark-lon|0}}}, 
  &quot;shape&quot;: &quot;circle&quot;, 
  &quot;size&quot;: &quot;0&quot;, 
  &quot;text&quot;: &quot;{{{numbered|}}}&quot;, 
 &quot;textAlign&quot;: &quot;center&quot;, &quot;textBaseline&quot;: &quot;bottom&quot;, &quot;textDx&quot;: 0, &quot;textDy&quot;: {{#expr:trunc({{{mark-size|10}}}/2.2)-2}},
 &quot;textFontSize&quot;: {{#expr:trunc({{{mark-size|10}}}*0.65)}}{{#if:{{{shape-outline|}}}|, &quot;textFontWeight&quot;: &quot;bold&quot;, &quot;textColor&quot;: &quot;{{{shape-outline}}}&quot; |}}