Template:Infobox guide/doc

From SlyMods
Jump to navigation Jump to search

Use this template to add an Infobox to an article for a game mod.

Usage

{{Infobox guide
| title=Guide Name (optional, defaults to page title)
| image=File:Image file name.png
| caption=Image caption
| difficulty=Difficulty level
| time=Time to complete
| sly1=y
| sly2=y
| sly3=y
| sly4=y
}}

The template supports the following optional parameters.

  • title - The title of the infobox. Default is the page name.
  • image - An image to be displayed in the infobox. Default is {{No image}}.
    • Use just the name of the file, eg. File:ITM anticrack firewall.png, not [[File:ITM anticrack firewall]]
  • caption - The caption text below the image.
  • width - Width of the image/infobox body. Default is 360px.
  • difficulty - The difficulty level of the tutorial (e.g. beginner, intermediate, advanced, etc.)
  • time - An estimate of how long it will take to complete the guide

Use these parameters to add the page to the appropriate categories.

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Infobox guide

An infobox for modding guide articles.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
titletitle

The title of the guide for the infobox (defaults to page name).

Stringoptional
imageimage

An image file to display in the infobox.

Fileoptional
image captioncaption

Caption text for the image.

Stringoptional
widthwidth

Width of the infobox in px.

Numberoptional
Sly 1sly1

Whether the guide is for Sly 1.

Booleansuggested
Sly 2sly2

Whether the guide is for Sly 2.

Booleansuggested
Sly 3sly3

Whether the guide is for Sly 3.

Booleansuggested
Sly 4sly4

Whether the guide is for Sly 4.

Booleansuggested
difficultydifficulty

How difficult the guide is.

Suggested values
Beginner Intermediate Advanced
Stringsuggested
timetime

An estimate of how much time it will take to complete the guide.

Example
20 minutes
Stringsuggested

See also