Template:MapInfobox/doc: Difference between revisions
Jump to navigation
Jump to search
fandomVB>Sovereign (Created page with "==Description== To use this template, copy the following code and fill in the appropriate fields. ==Syntax== <pre> {{MapInfobox | title= | image= [e.g. "MapName.jpg"] |...") |
(→Syntax) |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 8: | Line 8: | ||
| image= [e.g. "MapName.jpg"] | | image= [e.g. "MapName.jpg"] | ||
| hq_level= | | 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= | |||
}} | }} | ||
</pre> | </pre> | ||
==Samples== | ==Samples== | ||
=== With One Image === | |||
<pre> | <pre> | ||
{{MapInfobox | {{MapInfobox | ||
| Line 24: | Line 28: | ||
| resources=Crew, Oil, Ammo, Steel, Rare Materials | | resources=Crew, Oil, Ammo, Steel, Rare Materials | ||
| sea_conditions=Flat Calm | | sea_conditions=Flat Calm | ||
| limits= | | limits= | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 37: | Line 41: | ||
| resources=Crew, Oil, Ammo, Steel, Rare Materials | | resources=Crew, Oil, Ammo, Steel, Rare Materials | ||
| sea_conditions=Flat Calm | | sea_conditions=Flat Calm | ||
| limits= | | limits= | ||
}} | |||
=== With Two Images === | |||
If both a map image and an image with [[Morgana]] 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. | |||
<pre> | |||
{{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= | |||
}} | |||
</pre> | |||
Results in... | |||
{{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= | |||
}} | }} | ||
<noinclude> | <noinclude> | ||
[[Category:Template documentation]] | [[Category:Template documentation]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 09:00, 21 March 2023
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...
| Map Name | {{{MapName}}} |
| HQ Level | {{{HQLevel}}} |
| Map Type | {{{MapType}}} |
| Cruise (Hours) | {{{CruiseTime}}} |
| Bases | {{{Bases}}} |
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...
| Map Name | {{{MapName}}} |
| HQ Level | {{{HQLevel}}} |
| Map Type | {{{MapType}}} |
| Cruise (Hours) | {{{CruiseTime}}} |
| Bases | {{{Bases}}} |