Template:Bag2


Template documentation
Note: portions of the template sample may not be visible without values provided.

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[Edit template data]

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