Template:Infobox game mechanic/doc: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (Added template categories)
(Updated documentation)
Line 5: Line 5:
== Usage ==
== Usage ==
The template supports the following parameters.
The template supports the following parameters.
* name - Optional, default is the full page name
* <code>name</code> - The title above the infobox. Default is the full page name.
* image - Optional, an image representing the game mechanic
* <code>image</code> - An image to be displayed in the infobox. Default is {{tl|No image}}.
** Use the full image syntax, eg. <nowiki>[[File:Sly 1 jt void zap.png]]</nowiki>
** 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>}}
* <code>width</code> - Width of the image/infobox body. Default is 360px.
* official - Can by `y` or `n`. Denotes whether the title is the official name for the game mechanic.
* <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=y - Adds the article to [[:Category:Game mechanics in Sly 2]]
* <code>sly1=y</code> - Adds the article to [[:Category:Game mechanics in Sly 1]]
* sly3=y - Adds the article to [[:Category:Game mechanics in Sly 3]]
* <code>sly2=y</code> - Adds the article to [[:Category:Game mechanics in Sly 2]]
* <code>sly3=y</code> - Adds the article to [[:Category:Game mechanics in Sly 3]]


<includeonly>
<includeonly>