Template:Infobox game mechanic/doc: Difference between revisions

Updated documentation
m (Added template categories)
(Updated documentation)
Line 5:
== Usage ==
The template supports the following parameters.
* <code>name</code> - Optional,The defaulttitle above the infobox. Default is the full page name.
* <code>image</code> - Optional, anAn image representingto be displayed in the gameinfobox. mechanicDefault is {{tl|No image}}.
** Use '''just the fullname imageof syntaxthe image''', eg. {{Color|limegreen|<nowiki>[[File:SlyITM 1anticrack jt void zapfirewall.png</nowiki>}}, not {{Color|red|<nowiki>[[File:ITM anticrack firewall]]</nowiki>}}
* <code>width</code> - Width of the image/infobox body. Default is 360px.
* <code>official</code> - Can by `<code>y`</code> or `<code>n`</code>. Denotes whether the title is the official name for the game mechanic.
* sly1=y - Adds the article to [[:Category:Game mechanics in Sly 1]]
* sly2<code>sly1=y</code> - Adds the article to [[:Category:Game mechanics in Sly 21]]
* sly3<code>sly2=y</code> - Adds the article to [[:Category:Game mechanics in Sly 32]]
* sly1<code>sly3=y</code> - Adds the article to [[:Category:Game mechanics in Sly 13]]
 
<includeonly>