Template:Streetmap: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
No edit summary
Line 3: Line 3:
|O
|O
|T=5
|T=5
|0}} }}{{#vardefine:n1snip|{{#sub:{{{1}}}|2|{{#var:hlong}} }} }}{{#vardefine:n2snip|{{#sub:{{{1}}}|{{#expr:{{#var:hlong}}+2}}|{{#var:hlong}} }} }}{{#switch:{{#len:{{{1}}}}}
|0}} }}{{#vardefine:n1snip|{{#expr:{{#sub:{{{1}}}|2|{{#var:hlong}}}}*10^(5-{{#var:hlong}}) round0}}}}{{#vardefine:n2snip|{{#expr:{{#sub:{{{1}}}|{{#expr:{{#var:hlong}}+2}}|{{#var:hlong}}}}*10^(5-{{#var:hlong}}) round0}} }}{{#vardefine:zoom|{{#expr:150-{{#var:hlong}}*10}}}}http://streetmap.co.uk/grid/{{#switch:{{#sub:{{{1}}}|1|1}}
|6
|8
|10=http://www.streetmap.co.uk/map.srf?x={{#switch:{{#sub:{{{1}}}|1|1}}
|A
|A
|F
|F
Line 32: Line 29:
|U
|U
|Z=4
|Z=4
}}{{#var:n1snip}}{{#switch:{{#var:hlong}}
}}{{#var:n1snip}},{{#switch:{{#sub:{{{1}}}|0|2}}
|5=
|4=0
|3=00
|2=000
}}&y={{#switch:{{#sub:{{{1}}}|0|2}}
|HL
|HL
|HM
|HM
Line 129: Line 121:
|TV
|TV
|TW=0
|TW=0
}}{{#var:n2snip}}{{#switch:{{#var:hlong}}
}}{{#var:n2snip}},{{#var:zoom}}<noinclude>[[Category:Map templates|Streetmap]]
|5=
|4=0
|3=00
|2=000
}}&z=120&sv={{{1}}}&st=3&mapp=map.srf&searchp=ids.srf}}<noinclude>[[Category:Map templates|Streetmap]]

Revision as of 13:09, 22 May 2014

http://streetmap.co.uk/grid/Expression error: Unrecognized punctuation character "{".,Expression error: Unrecognized punctuation character "}".,125