Template:Test: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk's Bot
(New page: <includeonly> {{#switch:{{uc:{{{2}}}}} | N = {{#switch:{{uc:{{{Map|All}}}}} | ALL = {{#expr: {{128-{{{1}}}/102.8*128 round 0}} | NE = {{#expr: {{256-{{{1}}}/102.8*256 r...)
 
imported>Tlosk
No edit summary
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>|align=left| {{#ifeq:{{{Dungeon|}}}|| -- |[[{{{Dungeon}}}]] }}
{{#switch:{{uc:{{{2}}}}}
|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}}}}
        }}
== Syntax ==
| S = {{#switch:{{uc:{{{Map|All}}}}}
<pre>
        | ALL = {{#expr: {{128-{{{1}}}/102.8*128 round 0}}
{{Dungeon Maps
        | NE  = 0
|        Dungeon =
        | SE  = {{#expr: {{{{{1}}}/102.8*256 round 0}}
|    Coordinates =
        | NW  = 0
|  Wiki Map File =
        | SW  = {{#expr: {{{{{1}}}/102.8*256 round 0}}
|      ACmaps ID =
        | 0
| Other Site Name =
        }}
| Other Site Link =
  | 0
  | Related Quests =
}}
}}
{{{Map}}}
</pre>


{{{1}}}
== Usage ==
Used as a single row within a table, see [[Template:Dungeon Table]] for more details.


{{{2}}}
[[Category:Wiki Template]]
 
</noinclude>
</includeonly
<noinclude>
{{Test|Map=All|100|N}}
</noinclude

Latest revision as of 08: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.