Difference between revisions of "Template:MAP infobox"
Gorgonzola (talk | contribs) m (Using a different colour for the MAP infobox head to distinguish places from mobs (MOB infobox uses green).) |
m |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {| style="margin: | + | {| 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_Green.png|300px]]</div> <div class="ib-tbl-hdt">{{{name|name}}}</div> |
|- | |- | ||
− | | style="width:300px;" colspan="2" align="center" | {{{ | + | | style="width:300px;" colspan="2" align="center" | {{{mapimage|[[Image:{{PAGENAME}} (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" | |- valign="top" | ||
− | ! style=" | + | ! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Connects to |
− | | {{{connects|-}}} | + | | <div class="block2" style="color:#ffffff;">{{{connects|-}}}</div> |
|- | |- | ||
− | ! style=" | + | {{ #if:{{{temperature|}}} | |
− | | {{{pclevel|-}}} | + | {{pipe}}- |
+ | ! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Temperature: | ||
+ | {{pipe}} <div class="block2" style="color:#ffffff;">{{{temperature}}}</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;">{{{pclevel|-}}}</div> | ||
+ | |- | ||
+ | | style= "width:300px;" colspan="2" align="center" | {{{image|[[Image:{{PAGENAME}}.png{{pipe}}400px{{pipe}}]]}}} <br><div class="block2" style="color:#ffffff;font-size:11px;">{{{portaldesc|Portal or entrance caption.}}}</div> | ||
|}<noinclude> | |}<noinclude> | ||
{{clear}}__NOTOC__ | {{clear}}__NOTOC__ | ||
==Syntax== | ==Syntax== | ||
<pre> | <pre> | ||
− | {{ | + | {{MAP infobox |
| name = | | name = | ||
− | | | + | | mapimage = |
− | | connects = | + | | connects = |
− | | pclevel = | + | | temperature = |
+ | | pclevel = | ||
+ | | image = | ||
+ | | portaldesc = | ||
}} | }} | ||
</pre> | </pre> | ||
Line 23: | Line 34: | ||
==Parameters== | ==Parameters== | ||
; name | ; name | ||
− | : Optional. | + | : Not Optional. Must be Article name. |
− | ; | + | ; mapimage |
− | : Defaults to a . | + | : Defaults to a .png image to be used for the map "Dungeon Something (map).png". If the image already exists, use <code>[[Image:ImageName.png|300px|]]</code> |
− | |||
− | |||
; connects | ; connects | ||
: One or more neighbour maps connected by portals to this one. | : One or more neighbour maps connected by portals to this one. | ||
+ | ; temperature | ||
+ | : Optional. Current options are Hot (Ilmari/Rahu) or Cold (Kur/Gazluk). | ||
; pclevel | ; pclevel | ||
: Suggest level for the player character (the main damage skill level) to <em>start</em> this area. | : Suggest level for the player character (the main damage skill level) to <em>start</em> this area. | ||
+ | ; image | ||
+ | : Defaults to a .png image of the article's name, meant to represent the entrance. If the image already exists, use <code>[[Image:ImageName.png|300px|]]</code> | ||
+ | ; portaldesc | ||
+ | : Optional. Suggested use is the description as seen on the portal, or other flavor text. | ||
==Description== | ==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. | 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==== | ====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. | 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== | ==Examples== | ||
Line 56: | Line 71: | ||
}} | }} | ||
</pre> | </pre> | ||
− | + | {{MAP infobox | |
+ | | name = Eltibule | ||
+ | | mapimage = [[Image:Eltibule_Map.png|300px|Updated map thanks to User]] | ||
+ | | portaldesc = Needs a description. | ||
+ | | connects = [[Serbule]], [[Kur Mountains]] | ||
+ | | temperature = Cold | ||
+ | | pclevel = 20-50 | ||
+ | }} | ||
+ | <pre> | ||
+ | {{MAP infobox | ||
+ | | name = Eltibule | ||
+ | | mapimage = [[Image:Eltibule_Map.png|300px|Updated map thanks to User]] | ||
+ | | portaldesc = Needs a description. | ||
+ | | connects = [[Serbule]], [[Kur Mountains]] | ||
+ | | temperature = Cold | ||
+ | | pclevel = 20-50 | ||
+ | }} | ||
+ | </pre> | ||
[[Category:Formatting templates|MAP infobox]] | [[Category:Formatting templates|MAP infobox]] | ||
</noinclude> | </noinclude> |
Latest revision as of 19:18, 17 June 2021
name
| |
---|---|
File:MAP infobox (map).png Map of MAP infobox (click for larger size)
| |
Connects to | -
|
Area Level | -
|
File:MAP infobox.png Portal or entrance caption.
|
Syntax
{{MAP infobox | name = | mapimage = | connects = | temperature = | pclevel = | image = | portaldesc = }}
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
- connects
- One or more neighbour maps connected by portals to this one.
- temperature
- Optional. Current options are Hot (Ilmari/Rahu) or Cold (Kur/Gazluk).
- pclevel
- Suggest level for the player character (the main damage skill level) to start this area.
- image
- Defaults to a .png image of the article's name, meant to represent the entrance. If the image already exists, use
File:ImageName.png
- portaldesc
- Optional. Suggested use is the description as seen on the portal, or other flavor text.
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):
{{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|]] }}
Eltibule
| |
---|---|
Map of MAP infobox (click for larger size)
| |
Connects to | |
Temperature: | Cold
|
Area Level | 20-50
|
File:MAP infobox.png Needs a description.
|
{{MAP infobox | name = Eltibule | mapimage = [[Image:Eltibule_Map.png|300px|Updated map thanks to User]] | portaldesc = Needs a description. | connects = [[Serbule]], [[Kur Mountains]] | temperature = Cold | pclevel = 20-50 }}