Template:MapInfobox

From Victory Belles Community Wiki
Revision as of 10:56, 9 October 2021 by fandomVB>Sovereign
Jump to navigation Jump to search

<infobox>

 <title source="title">
   <default>MapInfobox</default>
 </title>
 <image source="image">
 </image>
 
   <label>HQ Level</label><default>Unknown</default>
 
 
   <label>Description</label><default>Unknown</default>
 
 
   <label>Resources</label><default>Unknown</default>
 
 
   <label>Sea Conditions</label><default>Unknown</default>
 
   
   <label>Limits</label><default>Unknown</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">
 </image>
 
   <label>HQ Level</label><default>Unknown</default>
 
 
   <label>Description</label><default>Unknown</default>
 
 
   <label>Resources</label><default>Unknown</default>
 
 
   <label>Sea Conditions</label><default>Unknown</default>
 
   
   <label>Limits</label><default>Unknown</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">
 </image>
 
   <label>HQ Level</label><default>Unknown</default>
 
 
   <label>Description</label><default>Unknown</default>
 
 
   <label>Resources</label><default>Unknown</default>
 
 
   <label>Sea Conditions</label><default>Unknown</default>
 
   
   <label>Limits</label><default>Unknown</default>
 

</infobox>