Template:Infobox game mechanic/doc: Difference between revisions

Jump to navigation Jump to search
Updated doc
m (Removed whitespace)
(Updated doc)
Line 4:
== Usage ==
The template supports the following parameters.
* <codett>name</codett> - The title above the infobox. Default is the full page name.
* <codett>image</codett> - An image to be displayed in the infobox. Default is {{tl|No image}}.
** Use '''just the name of the image''', eg. {{Color|limegreen|<nowiki>File:ITM anticrack firewall.png</nowiki>}}, not {{Color|red|<nowiki>[[File:ITM anticrack firewall]]</nowiki>}}
* <codett>caption</codett> - The caption below the image.
* <codett>width</codett> - Width of the image/infobox body. Default is 360px.
* <codett>sly1=y</codett> - Adds the article to [[:Category:Game mechanics in Sly 1]]
* <codett>sly2=y</codett> - Adds the article to [[:Category:Game mechanics in Sly 2]]
* <codett>sly3=y</codett> - Adds the article to [[:Category:Game mechanics in Sly 3]]
 
== Template data ==
{{TemplateData header}}
<templatedata>
{
"params": {
"width": {},
"name": {
"type": "string"
},
"image": {
"type": "wiki-file-name"
},
"caption": {
"type": "string"
},
"sly1": {},
"sly2": {},
"sly3": {}
},
"description": "An infobox for use on game mechanic articles.",
"paramOrder": [
"name",
"image",
"caption",
"width",
"sly1",
"sly2",
"sly3"
]
}
</templatedata>
 
== See also ==
* {{tl|Infobox data structure}}
* {{tl|Infobox subsystem}}
* {{tl|Infobox map}}
* {{tl|Infobox mod}}
 
<includeonly>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu