Open main menu

Project: Gorgon Wiki β

Template:MAP infobox

Revision as of 08:45, 5 October 2014 by Gorgonzola (talk | contribs) (Tidying up Template documentation.)
MAP infobox
File:MAP infobox.jpg
Connects to -
Suggested level -


Syntax

{{Area infobox
| name = 
| image = 
| connects = 
| pclevel = 
}}

Parameters

name
Optional. Defaults to article name.
image
Defaults to a .jpg image of the article's name. If specified, use File:Area name.jpg
portaldesc
Optional. Suggested use is the description as seen on the portal, or other flavor text.
connects
One or more neighbour maps connected by portals to this one.
pclevel
Suggest level for the player character (the main damage skill level) to start this area.

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.

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.

It is not currently intended to use for Zones. This is work in progress: Zones may use a different template to accomodate a larger map image, as well as some interactive javascript functionality to show/hide labels and POIs on the map (this is more complex wiki stuff, which is not critical atm).

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):

{{MAP infobox
| connects = [[Kur Mountains]]
| pclevel = 30
}}

If an image already exists which name does not match the article name, or in a different format (png) specify like so:

{{MAP infobox
| image = [[Image:Desert.png|300px|]]
}}