Template:G/O

From Feed The Beast Wiki
< Template:G(Redirected from Template:O)
Jump to: navigation, search


Template-info.png Documentation
Lua logo.svg This template uses Module:OreDict, a script written in Lua.
Please see wikipedia:wp:Lua and mw:Extension:Scribunto to learn more.

This template is used to invoke the OreDict with the OreDict name instead of item name.

Parameters

This template's parameters are identical to {{Gc}}, except for the following:

  • 1: OreDict name to search for.
  • no-oredict: If set, will call Gc instead of O.
  • shuffle: Randomly shuffle the entries.
  • no-anim: Display all of the entries sequentially rather than through animation.

Examples

Code Output
{{O|ingotCopper}}

















{{O|ingotCopper|no-anim=true}}

















{{O|ingotCopper|link=Copper|no-oredict=true}}

















History

In the past, {{G}} was used to combine both {{G/Cell}} and {{G/O}} into one template, and was used all over the wiki. However, this is no longer the case; {{G}} has various issues associated with it- it is significantly slower (by about 2 times per use). Secondly, it very often displays the incorrect items. Therefor, {{G/Cell}} and {{G/O}} should always be used over it, and existing {{G}} usage should be converted to {{G/Cell}}/{{G/O}} usage.