Feed The Beast Wiki

Follow the Feed The Beast Wiki on Discord or Mastodon!

READ MORE

Feed The Beast Wiki
Advertisement
Template-info Documentation

This template is the display logic for grids.

Parameters

  • 1: The name of the item to display.
  • 2: The amount of the item to display.
  • tooltiptext: (Optional) Modifies the tooltip when hovering over the cell. Variables are supported: $1: The item name. $2: The amount of items. $3: Full mod name.
  • tooltipclass: (Optional) Adds a class to the tooltip.
  • tooltipstyle: (Optional) Adds additional styling to the tooltip.
  • class: (Optional) Adds a class to the cell wrapper.
  • imgclass: (Optional) Adds a class to the image wrapper.
  • no-bg: (Optional) Disables the cell background.
  • default: (Optional) Displays a default grid image in the background.
  • link: (Optional) Changes the article that the cell will link to. Set to "none" to disable links.
  • mod: (Optional) Sets the item mod, if not provided, an extension will attempt to find the correct image to display. You can use both the mod abbreviation as defined in Template:G/Mods or the full mod name.

Usage

When creating grids, using the {{G}} template is recommended over using this template. But if you want to bypass the ore dictionary, you can use this template instead. {{Gc}} also acts as an shortcut to this template and should be used when creating grids in a crafting table.

Examples

{{Gc|TNT|10}}

produces:

10

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

Advertisement