Template:Infobox map: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) m (Hopefully last whitespace adjustment) |
TheOnlyZac (talk | contribs) (Tweaked image and data values) |
||
(6 intermediate revisions by the same user not shown) | |||
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 |
|||
{{#seo: |
|||
| title= |
| title={{ns0 | {{{filename|{{PAGENAME}}}}} in {{NAMESPACE}} | {{FULLPAGENAME}} }} |
||
| description= {{#if: {{{filename|}}}|{{{filename}}}{{#if: {{{title|}}}|, also known as {{{title}}},|}} is a|A|}} map file used in {{Sly other|sly1={{Sly 1}}|sly2={{Sly 2}}|sly3={{Sly 3}}|sly4={{Sly 4}}|other=the Sly Cooper games}}. |
| description={{Main other| {{#if: {{{filename|}}} | {{{filename}}}{{#if: {{{title|}}}|, also known as {{{title}}},|}} is a|A|}} map file used in {{Sly other|sly1={{Sly 1}}|sly2={{Sly 2}}|sly3={{Sly 3}}|sly4={{Sly 4}}|other=the Sly Cooper games}}}}. |
||
| image= {{# |
| image={{ns0 | {{#if:{{{image|}}} | {{{image}}} |}} |}} |
||
| keywords= maps, assets, brx{{#if:{{{filename|}}}|, {{{filename}}}|}}{{#if:{{{title|}}}|, {{{title}}}|}} |
|||
}}</includeonly><noinclude> |
}}</includeonly><noinclude> |
||
{{Infobox map |
{{Infobox map |
||
Line 31: | 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 |