Template:Iemap: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
Created page with '{{#vardefine:zoom|{{#ifeq:{{part-BI|{{#var:shire}}}}|Northern Ireland|1|3}}{{#vardefine:halve|{{#expr:({{#len:{{{1}}}}}-1)/2}}{{#vardefine:N1|{{#sub:{{{1}}}|1|{{#var:halve}} }} }…'
 
RB (talk | contribs)
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:zoom|{{#ifeq:{{part-BI|{{#var:shire}}}}|Northern Ireland|1|3}}{{#vardefine:halve|{{#expr:({{#len:{{{1}}}}}-1)/2}}{{#vardefine:N1|{{#sub:{{{1}}}|1|{{#var:halve}} }} }}{{#vardefine:N2|{{#sub:{{{1}}}|{{#expr:{{#var:halve}}+1}}|{{#var:halve}} }} }}[http://maps.osi.ie/publicviewer/#V1,{{iegridL1|{{{1}}}}}{{#var:N1}},{{iegridL2|{{{1}}}}}{{#var:N2}},{{#var:zoom}},1 {{{1}}}]<noinclude>[[Category:Map templates]]
<!--{{#vardefine:zoom|{{#ifeq:{{part-BI|{{#var:shire}} }}|Northern Ireland|1|3}} }}{{#vardefine:halve|{{#expr:({{#len:{{{1}}}}}-1)/2}} }}{{#vardefine:pack|{{#switch:{{#var:halve}}
|1=0000
|2=000
|3=00
|4=0
|}}}}{{#vardefine:N1|{{#sub:{{{1}}}|1|{{#var:halve}} }}{{#var:pack}} }}{{#vardefine:N2|{{#sub:{{{1}}}|{{#expr:{{#var:halve}}+1}}|{{#var:halve}} }}{{#var:pack}} }}http://maps.osi.ie/publicviewer/#V1,{{iegridL1|{{{1}}}}}{{#var:N1}},{{iegridL2|{{{1}}}}}{{#var:N2}},{{#var:zoom}},3--><noinclude>[[Category:Map templates|Iemap]] [[Category:Irish map templates|Iemap]]

Latest revision as of 11:29, 8 January 2020