Template:Infobox game mechanic/doc: Difference between revisions
no edit summary
TheOnlyZac (talk | contribs) m (Added template categories) |
TheOnlyZac (talk | contribs) No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1:
{{Documentation subpage}}
Use this template to add an [[Template:Infobox|Infobox]] to an article for a game mechanic.
== Usage ==
The template supports the following parameters.
* <tt>name</tt> -
* <tt>image</tt> -
** Use '''just the
* <tt>caption</tt> - The caption below the image.
* <tt>width</tt> - Width of the image/infobox body. Default is 360px.
== Template data ==
{{TemplateData header}}
<templatedata>
{
"params": {
"width": {},
"name": {
"type": "string"
},
"image": {
"type": "wiki-file-name"
},
"caption": {
"type": "string"
}
},
"description": "An infobox for use on game mechanic articles.",
"paramOrder": [
"name",
"image",
"caption",
"width"
]
}
</templatedata>
== See also ==
* {{tl|Infobox data structure}}
* {{tl|Infobox subsystem}}
* {{tl|Infobox map}}
* {{tl|Infobox mod}}
<includeonly>
|