Template:Dungeon Summary: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk's Bot
No edit summary
imported>An Adventurer
(removing corner rounding)
 
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>__NOTOC__
__NOTOC__
{|class="contentsbar"
[[Category:Dungeon]]
|[[#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]]
{|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>|}}|}
{|border=0 cellpadding=0 cellspacing=3 style=width:100%
|-valign=top
|
{|style="width:310px; border:1px solid #e5e5e5; background:#F9F9F9; vertical-align:top;"
|colspan=2|
{|style="width:100%;margin:0; background:#f2cece; border:1px solid #a3b0bf; text-align:left; color:#000;"
|[[Image:Portal Icon.png]] <big>'''Dungeon Location'''</big>
|}
|}
|-valign=top
{|class="location-infobox columnstop"
|align=center| '''Coordinates:'''
!colspan="2" class="worldbgc"|{{{Name|{{BASEPAGENAME}}}}}
| {{#ifeq:{{{Coordinates|}}}||??|[[{{{Coordinates|??}}}]]}}
|-
|-valign=top
| '''Quests'''
|align=center| '''Nearest Town:'''
| {{#if:{{{Related Quests|}}}|{{{Related Quests|}}}|??}}
| {{#ifeq:{{{Nearest Town|}}}||??|{{{Nearest Town|??}}} }}
|-
|-valign=top
| '''Restrictions'''
|align=center| '''Nearest LS:'''
| {{#if:{{{Level Restrictions|}}}|Level: {{{Level Restrictions|}}}|Level ??}}{{#if:{{{Quest Flag|}}}|<br>Quest Flagged}}{{#ifeq:{{lc:{{{Tieable|}}}}}|yes|<br>Tieable: Yes|<br>Tieable: No}}{{#ifeq:{{lc:{{{Recallable|}}}}}|yes|<br>Recallable: Yes|<br>Recallable: No}}{{#ifeq:{{lc:{{{Summonable|}}}}}|yes|<br>Summonable: Yes|<br>Summonable: No}}{{#if:{{{Lifestone if Log|}}}|<br>Lifestone on Relog: Yes}}
| {{#ifeq:{{{Nearest LS|}}}||??|{{{Nearest LS|??}}} }}
|-
|-valign=top
| '''Coordinates'''
|align=center| '''Route:'''
| {{#if:{{{Coordinates|}}}|{{{Coordinates|}}}|??}}<br>{{#if:{{{Nearest Town|}}}|near [[{{{Nearest Town}}}]]}}
| {{#ifeq:{{{Route|}}}||??|{{{Route|??}}} }}
|-
|-valign=top
| '''Nearest LS'''
|colspan=2|
| {{#if:{{{Nearest LS|}}}|{{{Nearest LS|}}}|??}}
{|style="width:100%;margin:0; background:#d1f2ce; border:1px solid #a3b0bf; text-align:left; color:#000;"
|-
|<big>'''Dungeon Restrictions'''</big>
| '''Route'''
|}
| {{#if:{{{Route|}}}|{{{Route|}}}|??}}
|-valign=top
|-
|align=center| '''Level Restrictions:'''
| '''Map Files:'''
| {{#ifeq:{{{Level Restrictions|}}}||??|{{{Level Restrictions|??}}} }}
| {{#if:{{{Wiki Map File|}}}|[[Media:{{{Wiki Map File}}}|Wiki Map]]<br>}}{{#if:{{{ACmaps.com ID|}}}|[[Media:{{{ACmaps.com ID}}}.gif|ACMaps Map]]}}{{#if:{{{Wiki Map File|}}}||{{#if:{{{ACmaps.com ID|}}}||[[:Category:Unmapped Dungeons|None Available]]}}}}
|-valign=top
|align=center|'''Portal Restrictions:'''
| {{#ifeq:{{lc:{{{Tieable|}}} }}|true|[[Image:No Tie Icon.png]] |}} {{#ifeq:{{lc:{{{Tieable|}}} }}|true|[[Image:No Recall Icon.png]] |}} {{#ifeq:{{lc:{{{Tieable|}}} }}|true|[[Image:No Summon Icon.png]] |}}{{#ifeq:{{lc:{{{Tieable|}}} }}|false|{{#ifeq:{{lc:{{{Recallable|}}} }}|false|{{#ifeq:{{lc:{{{Summonable|}}} }}|false|None|}}|}}|}}
|-valign=top
|align=center|'''Quest Flag:'''
| {{#ifeq:{{{Quest Flag|}}}||None|{{{Quest Flag|}}} }}
|-
|-
|colspan=2|
|colspan="2"|<div class="mw-collapsible mw-collapsed collapse">'''Show location on Dereth map'''<div class="mw-collapsible-content">{{#if:{{{Dereth Map|}}}|{{{Dereth Map|}}}}}</div></div>
{|style="width:100%;margin:0; background:#cedff2; border:1px solid #a3b0bf; text-align:left; color:#000;"
|<big>'''Related Articles'''</big>
|}
|-valign=top
|align=center|'''Introduced In:'''
| {{#ifeq:{{{Patch Introduced|}}} | | ?? | {{{Patch Introduced}}} }}
|-valign=top
|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] }}
|-valign=top
|align=center|'''Updated In:'''
| {{#ifeq:{{{Updated|}}} | | ?? |{{{Updated}}} }}
|-valign=top
|align=center|'''Related Quests:'''
| {{#ifeq:{{{Related Quests|}}} | | ?? |{{{Related Quests}}} }}
|-
|-
{{#if:{{{Landblock|}}}|
{{!}}colspan="2" style="text-align:center; border-top:1px solid #e5e5e5;"{{!}}{{{Landblock|}}}}}
|}
|}
|width=20|
<!-- Categories -->
|
{{#if:{{{nocat|}}} | | [[Category:Dungeon Index]]<!--
{{#ifeq:{{{Live Image|Live.jpg}}}
-->{{#if:{{{Level Restrictions|}}}|{{#ifeq:{{lc:{{{Level Restrictions|}}}}}|any|[[Category:Dungeons: No Level Restriction]]|[[Category:Dungeons: Level {{{Level Restrictions}}}]]}}}}<!--
| Live.jpg
-->{{#if:{{{Nearest Town|}}}|[[Category:Dungeons: {{{Nearest Town}}}]]}}<!--
|
-->{{#if:{{{Wiki Map File|}}}||{{#if:{{{ACmaps.com ID|}}}||[[Category:Unmapped Dungeons]]}}}}}}</includeonly><noinclude>{{Documentation}}[[Category:Wiki Templates]][[Category:Infobox Templates]]</noinclude>
| {{#ifeq:{{{Live Image|}}}
    |  
    |  
    | [[Image:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}|right]]
  }}
}}
|}</includeonly><noinclude>
{{Related|Wiki Templates|Individual Dungeon Template}}
== Syntax ==
<pre>
{{Dungeon Summary
|  Patch Introduced =
|            Updated =
|    Related Quests =
|      Wiki Map File =
|      ACmaps.com ID =
|
|       Coordinates =
|       Nearest Town =
|        Nearest LS =
|              Route =
|   
| Level Restrictions =
|            Tieable = False
|        Recallable = False
|        Summonable = False
|        Quest Flag =
|
|        Live Image =
| Live Image Caption =
|
|          Link Map = True
|          Link NPCs = True
|    Link Creatures = True
|        Link Images = True
}}
</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>

Latest revision as of 07:23, 9 June 2018

Template Documentation: Summary| |_}}/Doc?action=edit Edit Documentation

Related topics: Wiki Templates, Dungeon Template

Syntax

{{Dungeon Summary
 |     Related Quests = [[Quest]], [[Quest]]
 |      Wiki Map File = ####.png 
 |        Coordinates = ##.#N, ##.#W
 |          Landblock = ####
 |         Dereth Map = {{Map Point|||||Marker=Dungeon}}
 |       Nearest Town = [[Town]]
 |         Nearest LS = ##.#N, ##.#W
 |              Route = 
 | Level Restrictions = ##
 |         Quest Flag = 
 |            Tieable = <!-- True or leave blank -->
 |         Recallable = <!-- True or leave blank -->
 |         Summonable = <!-- True or leave blank -->
 |   Lifestone if Log = <!-- True or leave blank -->
}}

Usage

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