(put category call at the end) |
m (minor changes, note about customsize) |
||
Line 1: | Line 1: | ||
== Description == | ==Description== | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "This template is used to display individual map(s) of a world/area on its article.", | |||
"params": { | "params": { | ||
"filename": { | "filename": { | ||
Line 25: | Line 25: | ||
} | } | ||
}, | }, | ||
"format": "block | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> | ||
== Syntax == | ==Syntax== | ||
<pre> | <pre> | ||
{{LocationMap | {{LocationMap | ||
Line 38: | Line 37: | ||
}} | }} | ||
</pre> | </pre> | ||
''Note: most maps should use both filename and caption. customsize is optional.'' | |||
== Sample | ==Sample== | ||
<pre> | <pre> | ||
{{LocationMap | {{LocationMap |
Latest revision as of 04:31, 28 June 2024
Description
This template is used to display individual map(s) of a world/area on its article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Filename | filename | The map's file name, inclusive of file type.
| String | required |
Caption | caption | A caption describing the map. | String | suggested |
Custom size | customsize | A custom size for displaying the map, measured in pixels.
| String | optional |
Syntax
{{LocationMap | filename = [e.g. "Example.png"] | caption = | customsize = [e.g. 20px, 270px if left blank] }}
Note: most maps should use both filename and caption. customsize is optional.
Sample
{{LocationMap | filename = Forestpier mapwork.png | caption = Annotated map of the area | customsize = 200px }}