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. If the 2nd parameter is set, this is used as a namespaced ID for the tag system introduced in 1.13.
- 2: (Optional) If set, used as the material of the tag in the form
namespace:material
. Modifies how the first parameter is used. - shuffle: Randomly shuffle the entries.
- no-anim: Display all of the entries sequentially rather than through animation.
- stack: If set, this will display a stack size when calling
{{Gc}}
.
Examples
Code | Output |
---|---|
{{O|ingotCopper}} | |
{{O|ingotCopper|no-anim=true}} | |
{{O|ingotCopper|link=Copper|stack=3}} | 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 |
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}}
was very flawed: for one thing, it was significantly slower than {{G/Cell}}
(by about 2 times per use), secondly, it very often displayed the incorrect items.
The above documentation is transcluded from Template:G/O/doc. (edit | history)