Template:Bag2/doc

This template generates a bag sprite and page link for an item.

Template fields

  • field 1 (item name) - The name of the item. This will be used to display the file named Bag (field 1) Sprite.png and link to the page named (field 1).
  • field 2 (link display text) - Custom text to be displayed for the link.
  • size (optional) - Sets a custom size for the sprite. The size defaults to 24px.

TemplateData

Generates a Bag Sprite and name for an item

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Item1

Item name

Linerequired
Display tex2

Override for the link display text

Lineoptional
Sizesize

Image size

Default
24px
Lineoptional

Examples

Standard use

{{Bag2|DNA Splicers}}

DNA Splicers DNA Splicers

Custom link text

{{Bag2|Stick|Leek}}

Stick Leek

Custom size

{{Bag2|Booster Energy|size=32px}}

Booster Energy Booster Energy