Difference between revisions of "Template:DUNGEON infobox"
(Split MAP infobox into DUNGEON Infobox for future use, when we may want parameters for one but not another.) |
(Updated infobox to use new header image.) |
||
Line 1: | Line 1: | ||
− | {| style="margin:1px; border:1px solid#423930; float:right; text-align:left; border-radius:5px; background:#1e1615ff;" cellpadding="5" | + | {| style="margin:1px; border:1px solid#423930; float:right; text-align:left; position:relative; border-radius:5px; background:#1e1615ff;" cellpadding="5" |
− | ! colspan="2" | + | ! colspan="2"|<div class="ib-tbl-hd">[[File:Button_Maroon.png|300px]]</div> <div class="ib-tbl-hdt">{{{name|name}}}</div> |
|- | |- | ||
| 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> | | 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> |
Latest revision as of 10:20, 16 June 2019
name
| |
---|---|
[[Image:{{{name}}} (map).png|400px|]] Map of DUNGEON infobox (click for larger size)
| |
Connects to | -
|
Area Level | -
|
[[Image:{{{name}}}PlayerMap.png|400px|]] Portal or entrance caption.
|
Syntax
{{DUNGEON infobox | name = | mapimage = | connects = | arealevel= | pmap= | pmapdesc= }}
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
File:ImageName.png
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 start this area.
- pmap
- Defaults to a .png image. A player submitted map should go here. If the image already exists, use
File:ImageName.png
- 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):
{{DUNGEON infobox | name = Kur Tower | connects = [[Kur Mountains]], [[Necromancer's Courtyard]] | arealevel = 35 - 45 | pmap desc = Swoo's map. }}
If an image already exists which name does not match the article name, or in a different format (png) specify like so:
{{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. }}
Kur Tower
| |
---|---|
Map of DUNGEON infobox (click for larger size)
| |
Connects to | |
Area Level | 35 - 45
|
Swoo's Map
|
{{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 }}