Template:MapInfobox/doc

< Template:MapInfobox
Revision as of 11:50, 9 October 2021 by fandomVB>Sovereign (→‎Samples)

Description

To use this template, copy the following code and fill in the appropriate fields.

Syntax

{{MapInfobox
  | title=
  | image= [e.g. "MapName.jpg"]
  | hq_level=
  | description=
  | resources=
  | sea_conditions=
  | limits=
}}

Samples

With One Image

{{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

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}}}