Template:Infobox game mechanic/doc: Difference between revisions

From SlyMods
Jump to navigation Jump to search
Content added Content deleted
(Added caption parameter)
(Removed old parameter)
Line 10: Line 10:
* <code>caption</code> - The caption below the image.
* <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>sly1=y</code> - Adds the article to [[:Category:Game mechanics in Sly 1]]
* <code>sly1=y</code> - Adds the article to [[:Category:Game mechanics in Sly 1]]
* <code>sly2=y</code> - Adds the article to [[:Category:Game mechanics in Sly 2]]
* <code>sly2=y</code> - Adds the article to [[:Category:Game mechanics in Sly 2]]

Revision as of 05:53, 31 July 2022

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.
  • sly1=y - Adds the article to Category:Game mechanics in Sly 1
  • sly2=y - Adds the article to Category:Game mechanics in Sly 2
  • sly3=y - Adds the article to Category:Game mechanics in Sly 3