Template:Test: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk's Bot
No edit summary
imported>Tlosk
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>|align=left| {{#ifeq:{{{Dungeon|}}}|| -- |[[{{{Dungeon}}}]] }}
{{#switch:{{uc:{{{2|N}}}}}
|align=center| {{#ifeq:{{{Coordinates|}}}|| -- | {{{Coordinates|}}} }}
| N = {{#switch:{{uc:{{{Map|All}}}}}
|align=center| {{#ifeq:{{{Wiki Map File|}}}|| -- |[[Image:{{{Wiki Map File}}}|20x20px]] [[:File:{{{Wiki Map File}}}{{!}}{{{Wiki Map File}}}]] }}
        | ALL = {{#expr: 128 - {{{1}}} / 102.8 * 128 round 0}}
|align=center| {{#ifeq:{{{ACmaps ID|}}}|| -- |[[Media:{{{ACmaps ID}}}.gif|{{{ACmaps ID}}}]] }}
        | NE  = {{#expr: 256 - {{{1}}} / 102.8 * 256 round 0}}
|align=center| {{#ifeq:{{{Other Site Link|}}}|| -- |[{{{Other Site Link}}} {{{Other Site Name|{{{Other Site Link}}}}}}] }}
        | SE  = 0
|align=center| {{#ifeq:{{{Related Quests|}}}|| -- | {{{Related Quests|}}} }}
        | NW  = {{#expr: 256 - {{{1}}} / 102.8 * 256 round 0}}
|-</includeonly><noinclude>
        | SW  = 0
{{Related|Wiki Templates|{{mtl|Dungeon Table}}}}
        | 0
== Syntax ==
        }}
<pre>
| S = {{#switch:{{uc:{{{Map|All}}}}}
{{Dungeon Maps
        | ALL = {{#expr: 128 + {{{1}}} / 102.8 * 128 round 0}}
|        Dungeon =
        | NE  = 0
|    Coordinates =
        | SE  = {{#expr: {{{1}}} / 102.8 * 256 round 0}}
|  Wiki Map File =
        | NW  = 0
|      ACmaps ID =
        | SW  = {{#expr: {{{1}}} / 102.8 * 256 round 0}}
| Other Site Name =
        | 0
| Other Site Link =
        }}
| Related Quests =
| 0
}}
}}
</pre>


</includeonly>
== Usage ==
<noinclude>
Used as a single row within a table, see [[Template:Dungeon Table]] for more details.


{{Test|Map=All|90.5|N}}
[[Category:Wiki Template]]
{{Test|Map=NE|90.5|N}}
{{Test|Map=SE|50|S}}
</noinclude>
</noinclude>

Latest revision as of 09:41, 22 November 2011

Related topics: Wiki Templates, {{Dungeon Table}}

Syntax

{{Dungeon Maps
 |         Dungeon = 
 |     Coordinates = 
 |   Wiki Map File = 
 |       ACmaps ID = 
 | Other Site Name = 
 | Other Site Link =
 |  Related Quests = 
}}

Usage

Used as a single row within a table, see Template:Dungeon Table for more details.