Template:Infobox map/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Added template doc) |
TheOnlyZac (talk | contribs) (Added title param to templatedata) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
"width": {}, |
"width": {}, |
||
"name": { |
"name": { |
||
"type": "string" |
"type": "string", |
||
"description": "Replaced by `title` parameter", |
|||
"deprecated": "Use `title` parameter instead" |
|||
}, |
}, |
||
"image": { |
"image": { |
||
Line 27: | Line 29: | ||
"label": "map id", |
"label": "map id", |
||
"type": "number" |
"type": "number" |
||
}, |
|||
"title": { |
|||
"label": "infobox title", |
|||
"description": "Text for the title of the infobox (default is page name)", |
|||
"example": "The Swamp's Dark Center", |
|||
"type": "string" |
|||
} |
} |
||
}, |
}, |
||
"paramOrder": [ |
"paramOrder": [ |
||
" |
"title", |
||
"image", |
"image", |
||
"caption", |
"caption", |
||
Line 36: | Line 44: | ||
"episode", |
"episode", |
||
"filename", |
"filename", |
||
"id" |
"id", |
||
"name" |
|||
], |
], |
||
"description": "An infobox template for game maps." |
"description": "An infobox template for game maps." |
||
Line 43: | Line 52: | ||
<includeonly> |
<includeonly> |
||
[[Infobox templates]] |
[[Category:Infobox templates]] |
||
[[SlyMods templates]] |
[[Category:SlyMods templates]] |
Latest revision as of 23:00, 16 August 2022
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 |