Jump to: navigation, search

Template:Furnace

Revision as of 21:00, 26 December 2013 by MrTJP (talk | contribs) (Created page with "<includeonly>{| cellpadding="0" cellspacing="0" class="grid-Furnace" {{#vardefine:state|{{#if: {{{Input|}}} | I }}{{#if: {{{Fuel|}}} | F }}{{#if: {{{Output|}}} | O }}}} |- | ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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

This template is used to create an interface that looks similar to the Furnace's.

See Template:Inventory slot for basic slot usage, this documentation page will cover additional or different functions.

Usage

Definition

{{Furnace
|Mod    = Default mod name
|Input  = Mod:InputName,Amount
|Output = Mod:OutputName,Amount
|Fuel   = Mod:FuelName,Amount
}}

Standard usage

{{Furnace
|Input=  Sand,17
|Output= Glass,2
|Fuel=   Coal,3
}}
produces
Sand17 Grid layout Furnace Progress.png Glass2
Grid layout Fire.png
Coal3


Animated

To make the slots animate, you make a list of blocks and objects you want to show, separated by semicolons.

{{Furnace
|Input=  Sand,17; Oak Wood,10
|Output= Glass,2; Charcoal,10
|Fuel=   Coal,3
}}
produces
Sand17Oak Wood10 Grid layout Furnace Progress.png Glass2Charcoal10
Grid layout Fire.png
Coal3


Mods

Mod images and normal images can be combined just like in a single slot.

When uploading mod images, they must have the mod page name in parenthesis at the end. For example Fancystone (FancyPack).

The Mod parameter can be used to set a default used for all parameters, this is best used when all items in the furnace are modded items, or if the mod name is long and using the vanilla (v) parameter for the vanilla items in the furnace would be quicker.

{{Furnace
|Input=  Gravel,64
|Output= FancyPack:Road,2
|Fuel=   Coal,5
}}
or
{{Furnace
|Mod= FancyPack
|Input=  v:Gravel,64
|Output= Road,2
|Fuel=   v:Coal,5
}}
produces
Gravel64 Grid layout Furnace Progress.png Road2
Grid layout Fire.png
Coal5

Note the links of the Road, Gravel and Coal.


The layout images can also be modified, for example:

{{Furnace
|Mod= The Aether
|Input=  Holystone
|Output= Healing Stone
|Fuel=   Ambrosium Shard
|FuelUsage= Transmute
|Progress= Transmute
}}
Produces
Holystone File:Grid layout Transmute Progress (The Aether).png Healing Stone
File:Grid layout Transmute (The Aether).png
Ambrosium Shard

Images should be put in Category:Grid mods layout.

See also



Cookies help us deliver our services. By using our services, you agree to our use of cookies.