Oh0kaYthen86 (talk | contribs) (Created page with "== Description == This template is used to display individual map(s) of a world/area on its article. == Syntax == <pre> {{LocationMap | filename = [e.g. "Example.png"] | capt...") |
No edit summary |
||
Line 1: | Line 1: | ||
== Description == | == Description == | ||
This template is used to display individual map(s) of a world/area on its article. | <noinclude>[[Category:Template documentation]]</noinclude> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"filename": { | |||
"label": "Filename", | |||
"description": "The map's file name, inclusive of file type.", | |||
"example": "Example.png", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"caption": { | |||
"label": "Caption", | |||
"description": "A caption describing the map.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"customsize": { | |||
"label": "Custom size", | |||
"description": "A custom size for displaying the map, measured in pixels.", | |||
"example": "20px", | |||
"type": "string", | |||
"default": "270px" | |||
} | |||
}, | |||
"format": "block", | |||
"description": "This template is used to display individual map(s) of a world/area on its article." | |||
} | |||
</templatedata> | |||
== Syntax == | == Syntax == | ||
Line 24: | Line 52: | ||
| customsize = 200px | | customsize = 200px | ||
}} | }} | ||
Revision as of 14:05, 30 November 2022
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] }}
Sample output
{{LocationMap | filename = Forestpier mapwork.png | caption = Annotated map of the area | customsize = 200px }}