Template:Infobox map: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Created Infobox template) |
TheOnlyZac (talk | contribs) (Added ID parameter and TemplateData) |
||
Line 16: | Line 16: | ||
| label3= File Name |
| label3= File Name |
||
| data3= {{{filename|}}} |
| data3= {{{filename|}}} |
||
| label4 = Map ID |
|||
| data4 = {{{id|}}} |
|||
}} |
}} |
||
{{ns0|[[Category:Maps]]}}</includeonly><noinclude> |
{{ns0|[[Category:Maps]]}}</includeonly><noinclude> |
||
Line 23: | Line 25: | ||
| episode= Tide of Terror |
| episode= Tide of Terror |
||
| filename= uw_exterior_boat |
| filename= uw_exterior_boat |
||
| id= 101 |
|||
}} |
}} |
||
{{Documentation}} |
{{Documentation}} |
||
<templatedata> |
|||
⚫ | |||
{ |
|||
"params": { |
|||
"width": {}, |
|||
"name": { |
|||
"type": "string" |
|||
}, |
|||
"image": { |
|||
"type": "wiki-file-name" |
|||
}, |
|||
"caption": { |
|||
"type": "string" |
|||
}, |
|||
"episode": { |
|||
"label": "episode name", |
|||
"example": "Tide of Terror", |
|||
"type": "string" |
|||
}, |
|||
"filename": { |
|||
"type": "string" |
|||
}, |
|||
"id": { |
|||
"label": "map id", |
|||
"type": "number" |
|||
} |
|||
}, |
|||
"paramOrder": [ |
|||
"name", |
|||
"image", |
|||
"caption", |
|||
"width", |
|||
"episode", |
|||
"filename", |
|||
"id" |
|||
] |
|||
} |
|||
⚫ |
Revision as of 19:34, 2 August 2022
Map | |
---|---|
Episode | Tide of Terror |
File Name | uw_exterior_boat |
Map ID | 101 |
An infobox for use on pages for maps and levels.
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for Infobox map
An infobox template for game maps.
Parameter | Description | Type | Status | |
---|---|---|---|---|
infobox title | title | Text for the title of the infobox (default is page name)
| String | optional |
image | image | no description | File | optional |
caption | caption | no description | String | optional |
width | width | no description | Unknown | optional |
episode name | episode | no description
| String | optional |
filename | filename | no description | String | optional |
map id | id | no description | Number | optional |
name | name | Replaced by `title` parameter | String | deprecated |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description | String | optional |
image | image | no description | File | optional |
caption | caption | no description | String | optional |
width | width | no description | Unknown | optional |
episode name | episode | no description
| String | optional |
filename | filename | no description | String | optional |
map id | id | no description | Number | optional |