Template:Infobox map: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Updated to use SEO helper template) |
TheOnlyZac (talk | contribs) (Tweaked image and data values) |
||
Line 4: | Line 4: | ||
| title= {{{title|{{{name|{{PAGENAME}}}}}}}} |
| title= {{{title|{{{name|{{PAGENAME}}}}}}}} |
||
| above= Map |
| above= Map |
||
| image= {{ |
| image= {{#if:{{{image|}}}|{{Image exists|file={{{image|}}}|width={{{width|360px}}}}}}} |
||
| caption= {{{caption|}}} |
| caption= {{{caption|}}} |
||
| label1= Game |
| label1= Game |
||
Line 15: | Line 15: | ||
| label2= {{Sly other|sly1=World|other=Episode}} |
| label2= {{Sly other|sly1=World|other=Episode}} |
||
| data2= {{Nsl|{{NAMESPACE}}|{{{episode|}}}}} |
| data2= {{Nsl|{{NAMESPACE}}|{{{episode|}}}}} |
||
| label3= |
| label3= Game Name |
||
| data3= {{{ |
| data3= {{{gamename|}}} |
||
| label4 |
| label4= File Name |
||
| data4 |
| data4= {{{filename|}}} |
||
| label5 = Map ID |
|||
| data5 = {{{id|}}} |
|||
}} |
}} |
||
{{#if:{{{filename|}}}|{{DISPLAYTITLE:{{NAMESPACE}}:{{{filename|}}}}}}} |
|||
{{Article only|[[Category:Maps]]}} |
{{Article only|[[Category:Maps]]}} |
||
{{WikiSEO helper |
{{WikiSEO helper |
||
Line 32: | Line 35: | ||
| caption= caption |
| caption= caption |
||
| episode= episode |
| episode= episode |
||
| gamename= gamename |
|||
| filename= filename |
| filename= filename |
||
| id= 000 |
| id= 000 |
Latest revision as of 01:24, 3 May 2023
Map | |
---|---|
Episode | episode |
Game Name | gamename |
File Name | filename |
Map ID | 000 |
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 |