Template:Test: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk's Bot
No edit summary
imported>Tlosk
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>{|border=0
{{#switch:{{uc:{{{2}}}}}
|  
| N = {{#switch:{{uc:{{{Map|All}}}}}
* {{#ifeq:{{{Dungeon|}}}|||'''Dungeon:<br>[[{{{Dungeon}}}]]'''}}
        | ALL = {{#expr: 128 - {{{1}}} / 102.8 * 128 round 0}}
|width=10|
        | NE  = {{#expr: 256 - {{{1}}} / 102.8 * 256 round 0}}
| {{#ifeq:{{{Wiki Map File|}}}||Wiki Map:<br>None|Wiki Map:<br>[[Media:{{{Wiki Map File}}}]]}}
        | SE  = 0
|width=10|
        | NW  = {{#expr: 256 - {{{1}}} / 102.8 * 256 round 0}}
| {{#ifeq:{{{AC Maps ID|}}}||ACmaps.com:<br>None|ACmaps.com:<br>[[Media:{{{AC Maps ID}}}.gif]] }}
        | SW  = 0
|width=10|
        | 0
|  
        }}
{{#ifeq:{{{Other Site|}}}||| {{{Other Site}}}:<br>[{{{Other Site Address}}} Map]
| S = {{#switch:{{uc:{{{Map|All}}}}}
        | ALL = {{#expr: 128 + {{{1}}} / 102.8 * 128 round 0}}
        | NE  = 0
        | SE  = {{#expr: {{{1}}} / 102.8 * 256 round 0}}
        | NW  = 0
        | SW  = {{#expr: {{{1}}} / 102.8 * 256 round 0}}
        | 0
        }}
| 0
}}
}}
 
|}</includeonly>
</includeonly>
<noinclude>
 
{{Test|Map=All|90.5|N}}
 
{{Test|Map=NE|65.9|N}}
 
{{Test|Map=SE|50|S}}
</noinclude>

Revision as of 09:22, 22 November 2011