Template:Test: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk's Bot
No edit summary
imported>Tlosk's Bot
No edit summary
Line 2: Line 2:
{{#switch:{{uc:{{{2|N}}}}}
{{#switch:{{uc:{{{2|N}}}}}
  | N = {{#switch:{{uc:{{{Map|All}}}}}
  | N = {{#switch:{{uc:{{{Map|All}}}}}
         | ALL = {{#expr: 128 + {{{1}}} / 102 * 128 round 0}}
         | ALL = {{#expr: 128 - {{{1}}} / 102.8 * 128 round 0}}
         | NE  = n ne
         | NE  = {{#expr: 256 - {{{1}}} / 102.8 * 256 round 0}}
         | SE  = n se
         | SE  = 0
         | NW  = n nw
         | NW  = {{#expr: 256 - {{{1}}} / 102.8 * 256 round 0}}
         | SW  = n sw
         | SW  = 0
         }}
         }}
  | S = {{#switch:{{uc:{{{Map|All}}}}}
  | S = {{#switch:{{uc:{{{Map|All}}}}}
         | ALL = {{#expr: 128 + {{{1}}} / 102 * 128 round 0}}
         | ALL = {{#expr: 128 + {{{1}}} / 102.8 * 128 round 0}}
         | NE  = s ne
         | NE  = 0
         | SE  = s se
         | SE  = {{#expr: {{{1}}} / 102.8 * 256 round 0}}
         | NW  = s nw
         | NW  = 0
         | SW  = s sw
         | SW  = {{#expr: {{{1}}} / 102.8 * 256 round 0}}
         }}
         }}
}}
}}

Revision as of 13:05, 18 January 2009



15


All

90.5

N



249


SE

100

S