Difference between revisions of "Template:MAP infobox"
From Project: Gorgon Wiki
Gorgonzola (talk | contribs) m |
Gorgonzola (talk | contribs) m |
||
Line 2: | Line 2: | ||
! colspan="2" style="font-size:17px; text-align:center; background-color:#7de36f;color:#185110;" | {{{name|{{PAGENAME}}}}} | ! colspan="2" style="font-size:17px; text-align:center; background-color:#7de36f;color:#185110;" | {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
− | | style="width:300px;" colspan="2" align="center" | {{{image|[[Image:{{PAGENAME}}.jpg{{pipe}}300px{{pipe}}]]}}}<br/><div style="font-size:11px;">{{{portaldesc| | + | | style="width:300px;" colspan="2" align="center" | {{{image|[[Image:{{PAGENAME}}.jpg{{pipe}}300px{{pipe}}]]}}}<br/><div style="font-size:11px;">{{{portaldesc|}}}</div> |
|- valign="top" | |- valign="top" | ||
! style="width:100px;font-weight:normal;" | Connects to | ! style="width:100px;font-weight:normal;" | Connects to | ||
Line 21: | Line 21: | ||
: Optional. Defaults to article name. | : Optional. Defaults to article name. | ||
; image | ; image | ||
− | : | + | : Defaults to a .jpg image of the article's name. If specified, use [[Image:Area name.jpg|300px|]] |
+ | ; 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. | ||
==Examples== | ==Examples== | ||
Line 27: | Line 31: | ||
<pre> | <pre> | ||
{{MAP infobox | {{MAP infobox | ||
+ | | connects = [[Kur Mountains]] | ||
}} | }} | ||
</pre> | </pre> | ||
Line 33: | Line 38: | ||
<pre> | <pre> | ||
{{MAP infobox | {{MAP infobox | ||
− | | image = [[File:Desert.png|300px]] | + | | image = [[File:Desert.png|300px|]] |
}} | }} | ||
</pre> | </pre> |
Revision as of 10:02, 4 October 2014
MAP infobox | |
---|---|
File:MAP infobox.jpg | |
Connects to | - |
Syntax
{{Area infobox | name = | image = | connects = }}
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.
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]] }}
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 = [[File:Desert.png|300px|]] }}