Template:Dungeon Summary: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
No edit summary
imported>Arkalor
mNo edit summary
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|cellpadding=6 style="width:100%; border:1px solid #aaaaaa; background:#f9f9f9;"
<includeonly>{|cellpadding=6 style="width:100%; border:1px solid #aaaaaa; background:#f9f9f9;"
|align=center| {{#ifeq:{{lc:{{{Link Map|false}}}}}|true|[[{{PAGENAME}}#Map|Map]] <font color=#f9f9f9>___</font>|}}{{#ifeq:{{lc:{{{Link NPCs|false}}}}}|true|[[{{PAGENAME}}#NPCs|NPCs]] <font color=#f9f9f9>___</font>|}}{{#ifeq:{{lc:{{{Link Creatures|false}}}}}|true|[[{{PAGENAME}}#Creatures|Creatures]]|}}{{#ifeq:{{lc:{{{Link Images|false}}}}}|true|[[{{PAGENAME}}#Images|Images]] <font color=#f9f9f9>___</font>|}}
|align=center| [[#Maps|Maps]] &nbsp;&nbsp;&nbsp;[[#NPCs|NPCs]] &nbsp;&nbsp;&nbsp;[[#Creatures|Creatures]] &nbsp;&nbsp;&nbsp;[[#Items_and_Objects|Items and Objects]] &nbsp;&nbsp;&nbsp;[[#Portals|Portals]]  &nbsp;&nbsp;&nbsp;[[#Images|Images]] &nbsp;&nbsp;&nbsp;[[#Update History|Update History]]
|}
|}


{|border=0 cellpadding=5 cellspacing=3 style=width:100%
{|border=0 cellpadding=5 cellspacing=3 style="background:transparent"
|-valign=top
|-valign=top
|
|
Line 9: Line 9:
|colspan=2|
|colspan=2|
{|style="width:100%;margin:0; background:#d1f2ce; border:1px solid #a3b0bf; text-align:left; color:#000;"
{|style="width:100%;margin:0; background:#d1f2ce; border:1px solid #a3b0bf; text-align:left; color:#000;"
|[[Image:Portal Icon.png]] <big>'''Dungeon Location'''</big>
|align=left|<big>'''Dungeon Location'''</big>
|align=right|<big>{{#ifeq:{{{Landblock|}}}|||[[Landblock|<font color=black>{{{Landblock|}}}]]</font>}}</big>
|}
|}
|-valign=top
|-valign=top
|align=center width=120px| '''Coordinates:'''
|align=center width=120px| '''Coordinates:'''
| {{#ifeq:{{{Coordinates|}}}||??|{{{Coordinates|??}}} }}
| {{#ifeq:{{{Coordinates|}}}||??|'''{{{Coordinates|??}}}'''}}
|-valign=top
|-valign=top
|align=center|'''Map Files:'''
|align=center|'''Map Files:'''
| {{#ifeq:{{{Wiki Map File|}}}|||[[Media:{{{Wiki Map File}}}|Wiki Map]]<br> }}{{#ifeq:{{{ACmaps.com ID|}}}|||[http://www.acmaps.com/map.php?id={{{ACmaps.com ID}}} ACmaps.com] }}{{#ifeq:{{{Wiki Map File|}}}||{{#ifeq:{{{ACmaps.com ID|}}}||None Available|}}|}}
| {{#ifeq:{{lc:{{{Wiki Map File|}}}}}|see below|''[[#Map|See Below]]''|{{#ifeq:{{{Wiki Map File|}}}|||[[Media:{{{Wiki Map File}}}|Wiki Map]]<br> }}}}{{#ifeq:{{{Wiki Map File Two|}}}|||[[Media:{{{Wiki Map File Two}}}|Wiki Map Two]]<br> }}{{#ifeq:{{{ACmaps.com ID|}}}|||[[Media:{{{ACmaps.com ID}}}.gif|ACmaps.com]]<br> }}{{#ifeq:{{{Other Map|}}}|||[{{{Other Map}}} Map Link] }}{{#ifeq:{{{Wiki Map File|}}}||{{#ifeq:{{{ACmaps.com ID|}}}||{{#ifeq:{{{Other Map|}}}||None Available|}}|}}|}}
|-valign=top
|-valign=top
|align=center| '''Nearest Town:'''
|align=center| '''Nearest Town:'''
Line 29: Line 30:
|colspan=2|
|colspan=2|
{|style="width:100%;margin:0; background:#f2cece; border:1px solid #a3b0bf; text-align:left; color:#000;"
{|style="width:100%;margin:0; background:#f2cece; border:1px solid #a3b0bf; text-align:left; color:#000;"
|<big>'''Dungeon Restrictions'''</big> [[Image:Transparent Icon.png]]
|<big>'''Dungeon Restrictions'''</big>
|}
|}
|-valign=top
|-valign=top
Line 36: Line 37:
|-valign=top
|-valign=top
|align=center|'''Portal Restrictions:'''
|align=center|'''Portal Restrictions:'''
| {{#ifeq:{{lc:{{{Tieable|}}} }}|false|Cannot Tie<br> |}} {{#ifeq:{{lc:{{{Recallable|}}} }}|false|Cannot Recall<br> |}} {{#ifeq:{{lc:{{{Summonable|}}} }}|false|Cannot Summon |}}{{#ifeq:{{lc:{{{Tieable|}}} }}|true|{{#ifeq:{{lc:{{{Recallable|}}} }}|true|{{#ifeq:{{lc:{{{Summonable|}}} }}|true|None|}}|}}|}}
| {{#switch:{{lc:{{{Tieable|}}}}}|false=Cannot Tie<br>|true=Able to Tie<br>|Tieable: ??<br>}} {{#switch:{{lc:{{{Recallable|}}}}}|false=Cannot Recall<br>|true=Able to Recall<br>|Recallable: ??<br>}} {{#switch:{{lc:{{{Summonable|}}}}}|false=Cannot Summon<br>|true=Able to Summon<br>|Summonable: ??<br>}} {{#ifeq:{{lc:{{{Lifestone if Log|}}} }}|true|Sent to Lifestone if Log |}}
|-valign=top
|-valign=top
|align=center|'''Quest Flag:'''
|align=center|'''Quest Flag:'''
Line 43: Line 44:
|colspan=2|
|colspan=2|
{|style="width:100%;margin:0; background:#cedff2; border:1px solid #a3b0bf; text-align:left; color:#000;"
{|style="width:100%;margin:0; background:#cedff2; border:1px solid #a3b0bf; text-align:left; color:#000;"
|<big>'''Related Articles'''</big> [[Image:Transparent Icon.png]]
|<big>'''Related Articles'''</big>
|}
|}
|-valign=top
|-valign=top
Line 56: Line 57:
|-
|-
|}
|}
|width=20|
|width=10|
|
|
{{#ifeq:{{{Live Image|Live.jpg}}}
{{#ifeq:{{{Live Image|Live.jpg}}}
Line 64: Line 65:
     |  
     |  
     |  
     |  
     | [[Image:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}|right]]
     | [[File:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}|left]]
   }}
   }}
}}
}}
|
{{#ifeq:{{{Dereth Map|}}}|||{{#ifeq:{{{Dereth Map|}}}|{{Map Point||||}}||{{{Dereth Map|}}}}}}}
|}
|}
__NOTOC__
__NOTOC__
[[Category:Dungeon]]</includeonly><noinclude>
[[Category:Dungeon]]</includeonly><noinclude>
{{Related|Wiki Templates|Individual Dungeon Template}}
{{Documentation}}
== Syntax ==
[[Category:Wiki Template]][[Category:Summary Template]]
<pre>
{{Dungeon Summary
|  Patch Introduced = [[Patch]]
|            Updated = [[Patch]]<br>[[Patch]]
|    Related Quests = [[Quest]]<br>[[Quest]]
|      Wiki Map File = ####.gif
|      ACmaps.com ID = ####
|
|        Coordinates = ##.#N ##.#W
|      Nearest Town = [[Town]]
|        Nearest LS = ##.#N ##.#W
|              Route =
|   
| Level Restrictions = 1+
|            Tieable = False
|        Recallable = False
|        Summonable = False
|        Quest Flag =
|
|        Live Image = Live.jpg
| Live Image Caption =
|
|          Link Map = True
|          Link NPCs = False
|    Link Creatures = True
|        Link Images = False
}}
</pre>
 
== Usage ==
This is a component template that is part of a [[Page Template]]. See [[Individual Dungeon Template]] for details on usage and an example.
 
</noinclude>
</noinclude>

Latest revision as of 20:02, 13 February 2013

Template Documentation: Edit Documentation

Related topics: Wiki Templates, Dungeon Template

Syntax

{{Dungeon Summary
 |   Patch Introduced = [[Patch]]
 |            Updated = [[Patch]]<br>[[Patch]]
 |     Related Quests = [[Quest]]<br>[[Quest]]
 | 
 |         Live Image = Live.jpg
 | Live Image Caption = 
 |
 |      Wiki Map File = ####.png 
 |       Wiki Map Two = ####.gif
 |      ACmaps.com ID = ####
 |          Other Map = http://www.address.com/map.jpg
 |
 |        Coordinates = ##.#N ##.#W
 |          Landblock = ####
 |         Dereth Map = {{Map Point|||||Marker=Dungeon}}
 |       Nearest Town = [[Town]]
 |         Nearest LS = ##.#N ##.#W
 |              Route = 
 |     
 | Level Restrictions = 1+
 |            Tieable = False
 |         Recallable = False
 |         Summonable = False
 |   Lifestone if Log = False
 |         Quest Flag = 
}}

Usage

This is a component template that is part of a Page Template. See Dungeon Template for details on usage and an example.