Template:Infobox map: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Added namespace to displaytitle) |
TheOnlyZac (talk | contribs) (Tweaked image and data values) |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Infobox |
<includeonly>{{Infobox |
||
| name= Template:Infobox map |
|||
| bodystyle= width: {{{width|360px}}} |
| bodystyle= width: {{{width|360px}}} |
||
| 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 13: | Line 14: | ||
}} |
}} |
||
| label2= {{Sly other|sly1=World|other=Episode}} |
| label2= {{Sly other|sly1=World|other=Episode}} |
||
| data2= {{{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]]}} |
|||
{{WikiSEO helper |
|||
| title={{ns0 | {{{filename|{{PAGENAME}}}}} in {{NAMESPACE}} | {{FULLPAGENAME}} }} |
|||
| 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={{ns0 | {{#if:{{{image|}}} | {{{image}}} |}} |}} |
|||
| keywords= maps, assets, brx{{#if:{{{filename|}}}|, {{{filename}}}|}}{{#if:{{{title|}}}|, {{{title}}}|}} |
|||
⚫ | |||
{{Infobox map |
{{Infobox map |
||
| title= Title |
|||
| image= File:ITM anticrack firewall.png |
|||
| image= |
|||
| caption= caption |
| caption= caption |
||
| episode= |
| episode= episode |
||
| gamename= gamename |
|||
| filename= |
| filename= filename |
||
| id= |
| id= 000 |
||
}} |
}} |
||
{{Documentation}} |
{{Documentation}} |
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 |