Difference between revisions of "Template:IegridNum"

From Wikishire
Jump to: navigation, search
(Created page with "{{#switch:{{uc:{{{2}}}}} |E={{#switch:{{uc:{{#sub:{{{1}}}|0|1}}}} |A |F |L |Q |V=0 |B |G |M |R |W=1 |C |H |N |S |X=2 |D |J |O |T |Y=3 |E |K |P |U |Z=4 |'''''error''''' }}|N={{...")
 
 
(2 intermediate revisions by the same user not shown)
Line 27: Line 27:
 
|Z=4
 
|Z=4
 
|'''''error'''''
 
|'''''error'''''
}}|N={{#switch:{{uc:{{#sub:{{{1}}}|0|1}}}}
+
}}{{#sub:{{{1}}}|1|{{#expr:({{#len:{{{1}}}}}-1)/2}}}}
 +
|N={{#switch:{{uc:{{#sub:{{{1}}}|0|1}}}}
 
|A
 
|A
 
|B
 
|B
Line 54: Line 55:
 
|Z=0
 
|Z=0
 
|'''''error'''''
 
|'''''error'''''
}}
+
}}{{#sub:{{{1}}}|{{#expr:({{#len:{{{1}}}}}+1)/2}}|{{#expr:({{#len:{{{1}}}}}-1)/2}}}}
 
}}<noinclude>[[Category:Irish map templates|IegridNum]]
 
}}<noinclude>[[Category:Irish map templates|IegridNum]]

Latest revision as of 22:32, 21 February 2020