Changes

Jump to: navigation, search

Template:DUNGEON infobox

3,869 bytes added, 17:53, 13 April 2018
Split MAP infobox into DUNGEON Infobox for future use, when we may want parameters for one but not another.
{| style="margin:1px; border:1px solid#423930; float:right; text-align:left; border-radius:5px; background:#1e1615ff;" cellpadding="5"
! colspan="2" style="font-size:17px; text-align:center; border-radius:2px; background-color:#a34955;color:#ffffff;" | {{{name|name}}}
|-
| style="width:300px;" colspan="2" align="center" | {{{mapimage|[[Image:{{{name}}} (map).png{{pipe}}400px{{pipe}}]]}}}<br/><div class="block2" style="color:#ffffff;font-size:11px;">Map of {{PAGENAME}} (click for larger size)</div>
|- valign="top"
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Connects to
| <div class="block2" style="color:#ffffff;">{{{connects|-}}}</div>
|-
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:100px;" align="center" | <abbr title="A suggested level based on combat skill levels required to survive.">Area Level</abbr>
| <div class="block2" style="color:#ffffff;">{{{arealevel|-}}}</div>
|-
| style="width:300px;" colspan="2" align="center" | {{{pmap|[[Image:{{{name}}}PlayerMap.png{{pipe}}400px{{pipe}}]]}}}<br/><div class="block2" style="color:#ffffff;font-size:11px;">{{{pmapdesc|Portal or entrance caption.}}}</div>
|}<noinclude>
{{clear}}__NOTOC__
==Syntax==
<pre>
{{DUNGEON infobox
| name =
| mapimage =
| connects =
| arealevel=
| pmap=
| pmapdesc=
}}
</pre>

==Parameters==
; name
: Not Optional. Must be Article name.
; mapimage
: Defaults to a .png image to be used for the map "Dungeon Something (map).png". If the image already exists, use <code>[[File:ImageName.png|400px|]]</code> This map should be an unmarked in-game screenshot.
; connects
: One or more neighboring maps connected by portals to this one, or dungeons connected by separated in-game maps.
; arealevel
: Suggest level for the player character (the main damage skill level) to <em>start</em> this area.
; pmap
: Defaults to a .png image. A player submitted map should go here. If the image already exists, use <code>[[File:ImageName.png|400px|]]</code>
; pmapdesc
: Optional. Suggested use is the description of the player submitted map

==Description==
Create an attractive "at a glance" information card for dungeons and other sub-areas. Once the wiki extensions allows for it, we will add very useful "connected" zones in this info card, which let the reader navigate between area articles more easily.

The info card features two images: at the top is a map to the area. At the bottom, is an in-game screenshot of the dungeon entrance (or optionally, a picture of the minimap indicating the location of the dungeon in its parent zone).

====Notes====
As with all more complex templates, remember that changes spread on all concerned articles. Please discuss it with the author before making significant changes.

==Examples==
The typical usage is to use this in a new article, save, and THEN upload the image by clicking the image link (which then is pre-set with the article name):
<pre>
{{DUNGEON infobox
| name = Kur Tower
| connects = [[Kur Mountains]], [[Necromancer's Courtyard]]
| arealevel = 35 - 45
| pmap desc = Swoo's map.
}}
</pre>

If an image already exists which name does not match the article name, or in a different format (png) specify like so:
<pre>
{{DUNGEON infobox
| name = Kur Tower
| mapimage = [[Image:Desert.png|400px]]
| connects = [[Kur Mountains]], [[Necromancer's Courtyard]]
| arealevel = 35 - 45
| pmap= [[File:Kur Tower (map).png|400px|]]
| pmap desc = Swoo's map.
}}
</pre>
{{DUNGEON infobox
| name = Kur Tower
| connects = [[Kur Mountains]], [[Necromancer's Courtyard]]
| arealevel= 35 - 45
| pmapdesc= Swoo's Map
}}
<pre>
{{DUNGEON infobox
| name = Kur Tower
| connects = [[Kur Mountains]], [[Necromancer's Courtyard]]
| arealevel= 35 - 45
| pmap= [[File:Kur Tower (map).png|400px|]]
| pmapdesc= Swoo's Map
}}
</pre>
[[Category:Formatting templates|MAP infobox]]
</noinclude>

Navigation menu