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"] |...") |
fandomVB>Sovereign No edit summary |
||
| Line 16: | Line 16: | ||
==Samples== | ==Samples== | ||
=== With One Image === | |||
<pre> | <pre> | ||
{{MapInfobox | {{MapInfobox | ||
| Line 39: | Line 40: | ||
| limits=None | | limits=None | ||
}} | }} | ||
=== 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=None | |||
}} | |||
</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=None | |||
}} | |||
<noinclude> | <noinclude> | ||
[[Category:Template documentation]] | [[Category:Template documentation]] | ||
</noinclude> | </noinclude> | ||
Revision as of 11:41, 9 October 2021
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=
| description=
| resources=
| sea_conditions=
| limits=
}}
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=None
}}
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=None
}}
Results in...
| Map Name | {{{MapName}}} |
| HQ Level | {{{HQLevel}}} |
| Map Type | {{{MapType}}} |
| Cruise (Hours) | {{{CruiseTime}}} |
| Bases | {{{Bases}}} |