Open main menu

Project: Gorgon Wiki β

Changes

Template:MAP infobox

1,174 bytes added, 10:45, 4 October 2014
Work In Progress
{| style="margin:0 0 0.5em 1em; border:1px solid #ccc; float:right; text-align:left; background:#f9f9f9;" cellpadding="5"
! 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}}]]}}}
|- valign="top"
! style="background:#eee;width:100px;" | Connects to
| {{{connects|-}}}
|}<noinclude>
{{clear}}
==Syntax==
<pre>
{{Area infobox
| name =
| image =
| connects =
}}
</pre>

==Parameters==
; name
: Optional. Defaults to article name.
; image
: Optional. Defaults to a .jpg image of the article's name. If specified, use [[Image:Area name.jpg|300px|]]

==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>
{{MAP infobox
}}
</pre>

If an image already exists which name does not match the article name, or in a different format (png) specify like so:
<pre>
{{MAP infobox
| image = [[File:Desert.png|300px]]
}}
</pre>

[[Category:Formatting templates|MAP infobox]]
</noinclude>
2,804
edits