Template:MapInfobox: Difference between revisions
Jump to navigation
Jump to search
fandomVB>Elsyea Renghald No edit summary |
fandomVB>Elsyea Renghald No edit summary |
||
| Line 1: | Line 1: | ||
<infobox> | <infobox> | ||
<title source="title"> | <title source="title"> | ||
<default> | <default>{{PAGENAME}}</default> | ||
</title> | </title> | ||
<image source="image"> | <image source="image"> | ||
<default>[[File: | <default>[[File:map-{{PAGENAME}}.JPG]]</default> | ||
</image> | </image> | ||
<data source="hq_level"> | <data source="hq_level"> | ||
Revision as of 18:48, 26 February 2023
<infobox>
<title source="title"> <default>MapInfobox</default> </title> <image source="image"> <default>File:Map-MapInfobox.JPG</default> </image> <label>HQ Level</label><default>Unknown</default> <label>Resources available</label><default>Unknown</default> <label>Time to complete</label><default>Unknown</default> <label>Sunrise</label><default>05:30</default> <label>Sunset</label><default>18:00</default> <label>Weather</label><default>Unknown</default> <label>Available from</label><default>1st September 1939</default>
</infobox>
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit Template:MapInfobox/doc to edit this documentation. (How does this work?) |
Description[edit source]
To use this template, copy the following code and fill in the appropriate fields.
Syntax[edit source]
{{MapInfobox
| title=
| image= [e.g. "MapName.jpg"]
| hq_level=
| cruise_duration=
| cruise_rewards= [Note: 7 ships which return supplies from cruises required for this]
| sunrise=
| sunset=
| time_to_complete=
| weather=
| available_from=
}}
Samples[edit source]
With One Image[edit source]
{{MapInfobox
| title=Test Map
| image=[[File:map_icon.JPG]]
| hq_level=1
| description=A test description for a sample use of the MapInfobox.
| resources=Crew, Oil, Ammo, Steel, Rare Materials
| sea_conditions=Flat Calm
| limits=
}}
Results in...
<infobox>
<title source="title"> <default>MapInfobox</default> </title> <image source="image"> <default>File:Map-MapInfobox.JPG</default> </image> <label>HQ Level</label><default>Unknown</default> <label>Resources available</label><default>Unknown</default> <label>Time to complete</label><default>Unknown</default> <label>Sunrise</label><default>05:30</default> <label>Sunset</label><default>18:00</default> <label>Weather</label><default>Unknown</default> <label>Available from</label><default>1st September 1939</default>
</infobox>
With Two Images[edit source]
If both a map image and an image with Morganas spawn locations marked are available, use this to have both images in the infobox. Show the clear map first, then the one with spawn locations.
{{MapInfobox
| title=Test Map
| image=<gallery>
map_icon.JPG|Map
Victory Belles icon.jpg|Spawns</gallery>
| hq_level=1
| description=A test description for a sample use of the MapInfobox.
| resources=Crew, Oil, Ammo, Steel, Rare Materials
| sea_conditions=Flat Calm
| limits=
}}
Results in...
<infobox>
<title source="title"> <default>MapInfobox</default> </title> <image source="image"> <default>File:Map-MapInfobox.JPG</default> </image> <label>HQ Level</label><default>Unknown</default> <label>Resources available</label><default>Unknown</default> <label>Time to complete</label><default>Unknown</default> <label>Sunrise</label><default>05:30</default> <label>Sunset</label><default>18:00</default> <label>Weather</label><default>Unknown</default> <label>Available from</label><default>1st September 1939</default>
</infobox>