Template:Infobox game mechanic/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Updated documentation) |
TheOnlyZac (talk | contribs) (Added caption parameter) |
||
Line 8: | Line 8: | ||
* <code>image</code> - An image to be displayed in the infobox. Default is {{tl|No image}}. |
* <code>image</code> - 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>}} |
** 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>caption</code> - The caption below the image. |
|||
* <code>width</code> - Width of the image/infobox body. Default is 360px. |
* <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. |
* <code>official</code> - Can by <code>y</code> or <code>n</code>. Denotes whether the title is the official name for the game mechanic. |
Revision as of 17:12, 28 July 2022
This is a documentation subpage for Template:Infobox game mechanic It contains usage information, categories and other content that is not part of the original template page. |
Use this template to add an Infobox to an article for a game mechanic.
Usage
The template supports the following parameters.
name
- The title above the infobox. Default is the full page name.image
- An image to be displayed in the infobox. Default is {{No image}}.- Use just the name of the image, eg. File:ITM anticrack firewall.png, not [[File:ITM anticrack firewall]]
caption
- The caption below the image.width
- Width of the image/infobox body. Default is 360px.official
- Can byy
orn
. Denotes whether the title is the official name for the game mechanic.sly1=y
- Adds the article to Category:Game mechanics in Sly 1sly2=y
- Adds the article to Category:Game mechanics in Sly 2sly3=y
- Adds the article to Category:Game mechanics in Sly 3