Difference between revisions of "Template:Infobox Location/doc"

From The Battle for Wesnoth Wiki
(Adding documentation)
 
(Adding race row to example)
 
Line 12: Line 12:
  
 
'''caption''' denotes the caption below the map.
 
'''caption''' denotes the caption below the map.
 +
 +
'''races''' denotes a list of the races that inhabit the location.
  
 
== Usage ==
 
== Usage ==
Line 21: Line 23:
 
|y=159
 
|y=159
 
|caption=Kingdom of Stormvale on a map of the Green Isle.
 
|caption=Kingdom of Stormvale on a map of the Green Isle.
 +
|races=
 +
* [[Humans]]
 
}}</nowiki>
 
}}</nowiki>
  
Line 29: Line 33:
 
|y=159
 
|y=159
 
|caption=Kingdom of Stormvale on a map of the Green Isle.
 
|caption=Kingdom of Stormvale on a map of the Green Isle.
 +
|races=
 +
* [[Humans]]
 
}}
 
}}

Latest revision as of 18:43, 7 August 2019

This template creates an infobox describing a place.

Parameters

name denotes the name of the place.

map denotes the image location for the map on which the place is displayed.

x denotes the x position of the pointer on the map.

y denotes the y position of the pointer on the map.

caption denotes the caption below the map.

races denotes a list of the races that inhabit the location.

Usage

{{Infobox Location
|name=Kingdom of Stormvale
|map=https://raw.githubusercontent.com/wesnoth/wesnoth/master/data/campaigns/The_Rise_Of_Wesnoth/images/maps/green_isle.png
|x=137
|y=159
|caption=Kingdom of Stormvale on a map of the Green Isle.
|races=
* [[Humans]]
}}


Kingdom of Stormvale

green_isle.png new-journey.png

Kingdom of Stormvale on a map of the Green Isle.
Races
This page was last edited on 7 August 2019, at 18:43.