Template:Grid/Furnace/doc: Difference between revisions

No edit summary
mNo edit summary
 
Line 1: Line 1:
{{documentation header}}
{{documentation header}}
{{shortcut|Furnace}}
{{lua|Grid}}
{{lua|Grid}}
This template is used to create a grid that looks similar to the [[Furnace|Furnace's]] GUI screen.
This template is used to create a grid that looks similar to the [[Furnace|Furnace's]] GUI screen.
Line 8: Line 7:


=== Definition ===
=== Definition ===
<pre style="max-width: 246px">{{Grid/Furnace
<pre style="max-width: 300px">{{Grid/Furnace
|Mod    = Default mod name
|Mod    = Default mod name
|Input  = Mod:InputName,Amount
|Input  = Mod:InputName,Amount
Line 18: Line 17:
=== Standard usage ===
=== Standard usage ===


<pre style="max-width: 128px">{{Grid/Furnace
<pre style="max-width: 150px">{{Grid/Furnace
|Input=  Sand,17
|Input=  Sand,17
|Output= Glass,2
|Output= Glass,2
Line 35: Line 34:
=== Animated ===
=== Animated ===
To make the grid animate, you make a list of blocks and objects you want to show, separated by semicolons.
To make the grid animate, you make a list of blocks and objects you want to show, separated by semicolons.
<pre style="max-width: 232px">{{Grid/Furnace
<pre style="max-width: 250px">{{Grid/Furnace
|Input=  Sand,17; Oak Wood,10
|Input=  Sand,17; Oak Wood,10
|Output= Glass,2; Charcoal,10
|Output= Glass,2; Charcoal,10
Line 47: Line 46:
|Fuel=  Coal,3
|Fuel=  Coal,3
}}
}}
=== Mods ===
Mod images and normal images can be combined just like in a single grid.
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.
<pre style="max-width: 200px">{{Grid/Furnace
|Input=  Gravel,64
|Output= FancyPack:Road,2
|Fuel=  Coal,5
}}</pre>
;or
<pre style="max-width: 160px">{{Grid/Furnace
|Mod= FancyPack
|Input=  v:Gravel,64
|Output= Road,2
|Fuel=  v:Coal,5
}}</pre>
;produces:
{{Grid/Furnace
|Input=  Gravel,64
|Output= FancyPack:Road,2
|Fuel=  Coal,5
}}
Note the links of the Road, Gravel and Coal.
The layout images can also be modified, for example:
<pre style="max-width: 282px">{{Grid/Furnace
|Mod= The Aether
|Input=  Holystone
|Output= Healing Stone
|Fuel=  Ambrosium Shard
|FuelUsage= Transmute
|Progress= Transmute
}}</pre>
;Produces
{{Grid/Furnace
|Mod= The Aether
|Input=  Holystone
|Output= Healing Stone
|Fuel=  Ambrosium Shard
|FuelUsage= Transmute
|Progress= Transmute
}}
Images should be put in [[:Category:Grid mods layout]].


{{loadPage|Template:Grid/Available images|Available images}}
{{loadPage|Template:Grid/Available images|Available images}}
Line 103: Line 54:
[[Category:Grid templates]]
[[Category:Grid templates]]
[[Category:Image templates]]
[[Category:Image templates]]
[[de:Vorlage:Grid/Furnace]]
[[fr:Modèle:Grille/Four]]
[[nl:Sjabloon:Grid/Furnace]]
[[pl:Szablon:Grid/Furnace]]
</includeonly>
</includeonly>
<noinclude>
[[fr:Modèle:Grille/Four/doc]]
[[nl:Sjabloon:Grid/Furnace/doc]]
[[pl:Szablon:Grid/Furnace/doc]]
</noinclude>

Latest revision as of 11:55, 3 August 2015

This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information
This template uses Module:Grid, a script written in Lua.
Please see wp:Lua and mw:Extension:Scribunto to learn more.

This template is used to create a grid that looks similar to the Furnace's GUI screen.

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

Usage

Definition

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

Standard usage

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

See the image list below for all usable image names.

Animated

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

{{Grid/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

Available images

See also

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

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis