Template:Test: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk's Bot
No edit summary
imported>Tlosk
No edit summary
 
(11 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-100/102.8*128 round 0}}
|align=center| {{#ifeq:{{{ACmaps ID|}}}|| -- |[[Media:{{{ACmaps ID}}}.gif|{{{ACmaps ID}}}]] }}
        | NE  = 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  = 0
|-</includeonly><noinclude>
        | SW  = 0
{{Related|Wiki Templates|{{mtl|Dungeon Table}}}}
        }}
== Syntax ==
| S = {{#switch:{{uc:{{{Map|All}}}}}
<pre>
        | ALL = 0
{{Dungeon Maps
        | NE = 0
|         Dungeon =
        | SE  = 0
  |    Coordinates =  
        | NW  = 0
|   Wiki Map File =  
        | SW  = 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]]
 
</includeonly>
<noinclude>
{{Test|Map=All|100|N}}
</noinclude>
</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.