Template:Dungeon Summary: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>An Adventurer
(removing corner rounding)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|cellpadding=6 style="width:100%; border:1px solid #aaaaaa; background:#f9f9f9;"
<includeonly>__NOTOC__
|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]] <font color=#f9f9f9>___</font>|}} {{#ifeq:{{lc:{{{Link Images|false}}}}}|true|[[{{PAGENAME}}#Images|Images]] <font color=#f9f9f9>___</font>|}}
{|class="contentsbar"
|[[#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]]
|}
|}
 
{|class="location-infobox columnstop"
{|border=0 cellpadding=5 cellspacing=3 style=width:100%
!colspan="2" class="worldbgc"|{{{Name|{{BASEPAGENAME}}}}}
|-valign=top
|-
|
| '''Quests'''
{|style="width:350px; border:1px solid #e5e5e5; background:#F9F9F9; vertical-align:top;"
| {{#if:{{{Related Quests|}}}|{{{Related Quests|}}}|??}}
|colspan=2|
|-
{|style="width:100%;margin:0; background:#d1f2ce; border:1px solid #a3b0bf; text-align:left; color:#000;"
| '''Restrictions'''
|<big>'''Dungeon Location'''</big>
| {{#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}}
|}
|-
|-valign=top
| '''Coordinates'''
|align=center width=120px| '''Coordinates:'''
| {{#if:{{{Coordinates|}}}|{{{Coordinates|}}}|??}}<br>{{#if:{{{Nearest Town|}}}|near [[{{{Nearest Town}}}]]}}
| {{#ifeq:{{{Coordinates|}}}||??|{{{Coordinates|??}}} }}
|-
|-valign=top
| '''Nearest LS'''
|align=center|'''Map Files:'''
| {{#if:{{{Nearest LS|}}}|{{{Nearest LS|}}}|??}}
| {{#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|}}}|||[http://www.acmaps.com/map.php?id={{{ACmaps.com ID}}} 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
| '''Route'''
|align=center| '''Nearest Town:'''
| {{#if:{{{Route|}}}|{{{Route|}}}|??}}
| {{#ifeq:{{{Nearest Town|}}}||??|{{{Nearest Town|??}}} }}
|-
|-valign=top
| '''Map Files:'''
|align=center| {{#ifeq:{{{Nearest LS|}}}|||'''Nearest LS:'''}}
| {{#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]]}}}}
| {{#ifeq:{{{Nearest LS|}}}|||{{{Nearest LS|??}}} }}
|-valign=top
|align=center| '''Route:'''
| {{#ifeq:{{{Route|}}}||??|{{{Route|??}}} }}
|-valign=top
|colspan=2|
{|style="width:100%;margin:0; background:#f2cece; border:1px solid #a3b0bf; text-align:left; color:#000;"
|<big>'''Dungeon Restrictions'''</big>
|}
|-valign=top
|align=center| '''Level Restrictions:'''
| {{#ifeq:{{{Level Restrictions|}}}||??|{{{Level Restrictions|??}}} }}
|-valign=top
|align=center|'''Portal Restrictions:'''
| {{#ifeq:{{lc:{{{Tieable|}}} }}|false|Cannot Tie<br> |}} {{#ifeq:{{lc:{{{Recallable|}}} }}|false|Cannot Recall<br> |}} {{#ifeq:{{lc:{{{Summonable|}}} }}|false|Cannot Summon<br> |}}  {{#ifeq:{{lc:{{{Lifestone if Log|}}} }}|true|Sent to Lifestone if Log |}}{{#ifeq:{{lc:{{{Tieable|}}} }}|true|{{#ifeq:{{lc:{{{Recallable|}}} }}|true|{{#ifeq:{{lc:{{{Summonable|}}} }}|true|{{#ifeq:{{lc:{{{Lifestone if Log|}}} }}|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| {{#ifeq:{{{Updated|}}}|||'''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]]
  }}
}}
|}
__NOTOC__
[[Category:Dungeon]]</includeonly><noinclude>
{{Related|Wiki Templates|Dungeon Template}}
== Syntax ==
<pre>
{{Dungeon Summary
|  Patch Introduced = [[Patch]]
|            Updated = [[Patch]]<br>[[Patch]]
|    Related Quests = [[Quest]]<br>[[Quest]]
|      Wiki Map File = ####.gif
|       Wiki Map Two = ####.gif
|      ACmaps.com ID = ####
|         Other Map = http://www.address.com/map.jpg
|
|       Coordinates = ##.#N ##.#W
|      Nearest Town = [[Town]]
|        Nearest LS = ##.#N ##.#W
|              Route =
|   
| Level Restrictions = 1+
|            Tieable = False
|        Recallable = False
|        Summonable = False
|  Lifestone if Log = 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 [[Dungeon Template]] for details on usage and an example.
 
</noinclude>

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