Template:Dungeon Summary: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>An Adventurer
(removing corner rounding)
 
(4 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| [[#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]] &nbsp;&nbsp;&nbsp;[[#Images|Images]]
{|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="background:transparent"
!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'''
|align=left|<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}}
|align=right|<big>{{#ifeq:{{{Landblock|}}}|||[[Landblock|<font color=black>{{{Landblock|}}}]]</font>}}</big>
|-
|}
| '''Coordinates'''
|-valign=top
| {{#if:{{{Coordinates|}}}|{{{Coordinates|}}}|??}}<br>{{#if:{{{Nearest Town|}}}|near [[{{{Nearest Town}}}]]}}
|align=center width=120px| '''Coordinates:'''
|-
| {{#ifeq:{{{Coordinates|}}}||??|'''{{{Coordinates|??}}}'''}}
| '''Nearest LS'''
|-valign=top
| {{#if:{{{Nearest LS|}}}|{{{Nearest LS|}}}|??}}
|align=center|'''Map Files:'''
|-
| {{#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|}}}|||[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|}}|}}|}}
| '''Route'''
|-valign=top
| {{#if:{{{Route|}}}|{{{Route|}}}|??}}
|align=center| '''Nearest Town:'''
|-
| {{#ifeq:{{{Nearest Town|}}}||??|{{{Nearest Town|??}}} }}
| '''Map Files:'''
|-valign=top
| {{#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]]}}}}
|align=center| {{#ifeq:{{{Nearest LS|}}}|||'''Nearest LS:'''}}
| {{#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:'''
| {{#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
|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=10|
<!-- 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|}}}
    |  
    |
    | [[File:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}|left]]
  }}
}}
|
{{#ifeq:{{{Dereth Map|}}}|||{{#ifeq:{{{Dereth Map|}}}|{{Map Point||||}}||{{{Dereth Map|}}}}}}}
|}
 
__NOTOC__
[[Category:Dungeon]]</includeonly><noinclude>
{{Documentation}}
[[Category:Wiki Template]][[Category:Summary Template]]
</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.