24,542 ARTICLES
ON THIS WIKI

User:RZR0/Grid/Item

< User:RZR0


Template documentation (for the above template, sometimes hidden or invisible)

Contents

This template is used inside of {{Grid}}'s content parameter to insert an item grid image with link and optional stack size. It can also be used to display any other image with a size of 32 × 32 that may be found in a GUI, e. g. the Metal Former's mode icons. However it cannot be used correctly outside of a Grid template, to display item images in article text (which should rarely be necessary) use either {{itemref}} or {{Grid2}} instead.

Parameters[edit]

  • name: The item's name, always used for hover text, and is used to determine image name and link target if not overwritten.
  • top: Distance of the top-left image corner from the top edge of the grid.
  • left: Distance of the top-left image corner from the left edge of the grid.
  • image: Replacement image to be displayed in place of the default grid image, without File: prefix. Default: File:Grid {{{name}}}.png
  • link: Replacement link target. Default: {{{name}}}
  • amount: Stack size number, must be between 2 and 64 to be displayed. Default: Hidden
  • chance: Chance of getting a certain item after processing. Shown when hovering the cursor over the image of the item. Automatically puts "%" after a number. Default: Hidden
  • fill: A background color with which to fill the item slot. "Default: No background"
Visit User:RZR0/Grid/Item/doc to change this text! (How does this work?)

Done making changes? Refresh this text! (Why?)