Template:Metallurgic Infuser/doc: Difference between revisions

m (more examples)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{doc/start}}
{{lua}}
This template is used to create a grid that looks similar to the [[Metallurgic Infuser]] GUI screen.  
This template is used to create a grid that looks similar to the [[Metallurgic Infuser]] GUI screen.  


== Usage ==
It is quite similar to using {{tl|Crafting}} and creates tables of [[Metallurgic Infuser]] recipes. You can set the parameter <tt><nowiki>{{{showname=1}}}</nowiki></tt> or <tt><nowiki>{{{showname=0}}}</nowiki></tt> in the first template of the table to show or hide the Name column. To group multiple [[Metallurgic Infuser]] templates into one table, you also need to set <tt><nowiki>{{{head=1}}}</nowiki></tt> in the first template of the table, and <tt><nowiki>{{{foot=1}}}</nowiki></tt> in the last. A 4th column called Description can be added with <tt><nowiki>{{{showdescription=1}}}</nowiki></tt> and <tt><nowiki>{{{description=The description for the recipe}}}</nowiki></tt>.


;for example
Example usage:
<pre style="width: 250px;">{{Metallurgic Infuser
<pre>
|Infuse = Redstone Dust
{{Metallurgic Infuser
|Input = Osmium Ingot
|head=1
|Output = Control Circuit
|Infuse=Redstone
}}</pre>
|Input=Osmium Ingot
 
|Output=Basic Control Circuit
;produces:
|showdescription=1
|description=The description cell can contain ''formatted'' text.
}}
{{Metallurgic Infuser
|Infuse=Diamond
|Input=Enriched Alloy
|Output=Reinforced Alloy
}}
{{Metallurgic Infuser
|Infuse=Obsidian
|Input=Reinforced Alloy
|Output=Atomic Alloy
}}
{{Metallurgic Infuser
|Infuse=Carbon
|Input=Iron Ingot
|Output=Enriched Iron
}}
{{Metallurgic Infuser
|Infuse=Tin
|Input=Copper Ingot
|Output=Bronze Ingot
}}
{{Metallurgic Infuser
|Infuse=Bio Fuel
|Input=Cobblestone
|Output=Moss Stone
}}
{{Metallurgic Infuser
|Infuse=Mushroom
|Input=Dirt
|Output=Mycelium
|foot=1
}}
</pre>
{{Metallurgic Infuser
|head=1
|Infuse=Redstone
|Input=Osmium Ingot
|Output=Basic Control Circuit
|showdescription=1
|description=The description cell can contain ''formatted'' text.
}}
{{Metallurgic Infuser
|Infuse=Diamond
|Input=Enriched Alloy
|Output=Reinforced Alloy
}}
{{Metallurgic Infuser
|Infuse=Obsidian
|Input=Reinforced Alloy
|Output=Atomic Alloy
}}
{{Metallurgic Infuser
|Infuse=Carbon
|Input=Iron Ingot
|Output=Enriched Iron
}}
{{Metallurgic Infuser
|Infuse=Tin
|Input=Copper Ingot
|Output=Bronze Ingot
}}
{{Metallurgic Infuser
{{Metallurgic Infuser
|Infuse = Redstone Dust
|Infuse=Bio Fuel
|Input = Osmium Ingot
|Input=Cobblestone
|Output = Control Circuit
|Output=Moss Stone
}}
}}
;and
<pre style="width: 250px;">{{Metallurgic Infuser
|Infuse = Refined Obsidian Dust
|Input = Reinforced Alloy
|Output = Atomic Alloy
}}</pre>
;produces:
{{Metallurgic Infuser
{{Metallurgic Infuser
|Infuse = Refined Obsidian Dust
|Infuse=Mushroom
|Input = Reinforced Alloy
|Input=Dirt
|Output = Atomic Alloy
|Output=Mycelium
|foot=1
}}
}}


== Web-masters notes ==
Need to add next styles to the Wiki:
.grid-Infuser_box        { width: 334px; height: 114px; background-color: #c6c6c6; }
.grid-Infuser_background { position: relative; float: left; left: 0px;  top: 0px;    width: 334px; height: 114px; margin: 0 0 0 0; }
.grid-Infuser_bar        { position: relative; float: left; left: 5px;  top: -109px; width: 8px;  height: 104px; margin: 0 0 0 0; }
.grid-Infuser_infuse    { position: relative; float: left; left: 17px;  top: -73px;  width: 32px;  height: 32px;  margin: 0 0 0 0; }
.grid-Infuser_input      { position: relative; float: left; left: 53px;  top: -57px;  width: 32px;  height: 32px;  margin: 0 0 0 0; }
.grid-Infuser_output    { position: relative; float: left; left: 137px; top: -57px;  width: 32px;  height: 32px;  margin: 0 0 0 0; }
<includeonly>
<includeonly>
[[Category:Image templates|M]]
[[Category:Grid templates]]
[[Category:Table templates]]
</includeonly>
</includeonly>

Latest revision as of 07:39, 22 July 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:Metallurgic Infuser, 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 Metallurgic Infuser GUI screen.

It is quite similar to using {{Crafting}} and creates tables of Metallurgic Infuser recipes. You can set the parameter {{{showname=1}}} or {{{showname=0}}} in the first template of the table to show or hide the Name column. To group multiple Metallurgic Infuser templates into one table, you also need to set {{{head=1}}} in the first template of the table, and {{{foot=1}}} in the last. A 4th column called Description can be added with {{{showdescription=1}}} and {{{description=The description for the recipe}}}.

Example usage:

{{Metallurgic Infuser
|head=1
|Infuse=Redstone
|Input=Osmium Ingot
|Output=Basic Control Circuit
|showdescription=1
|description=The description cell can contain ''formatted'' text.
}}
{{Metallurgic Infuser
|Infuse=Diamond
|Input=Enriched Alloy
|Output=Reinforced Alloy
}}
{{Metallurgic Infuser
|Infuse=Obsidian
|Input=Reinforced Alloy
|Output=Atomic Alloy
}}
{{Metallurgic Infuser
|Infuse=Carbon
|Input=Iron Ingot
|Output=Enriched Iron
}}
{{Metallurgic Infuser
|Infuse=Tin
|Input=Copper Ingot
|Output=Bronze Ingot
}}
{{Metallurgic Infuser
|Infuse=Bio Fuel
|Input=Cobblestone
|Output=Moss Stone
}}
{{Metallurgic Infuser
|Infuse=Mushroom
|Input=Dirt
|Output=Mycelium
|foot=1
}}
Name Ingredients Metallurgic Infuser recipe Description

Basic Control Circuit

Osmium Ingot +
Redstone or
Block of Redstone or
Enriched Redstone

Grid layout Infuse Redstone Bar.png RedstoneBlock of RedstoneEnriched Redstone Osmium Ingot Grid layout Infuse Arrow.png Basic Control Circuit
Grid layout Infuse Energy Bar.png

The description cell can contain formatted text.

Reinforced Alloy

Enriched Alloy +
Diamond Dust or
Enriched Diamond

Grid layout Infuse Diamond Bar.png Diamond DustEnriched Diamond Enriched Alloy Grid layout Infuse Arrow.png Reinforced Alloy
Grid layout Infuse Energy Bar.png

Atomic Alloy

Reinforced Alloy

Grid layout Infuse Obsidian Bar.png Obsidian Reinforced Alloy Grid layout Infuse Arrow.png Atomic Alloy
Grid layout Infuse Energy Bar.png

Enriched Iron

Iron Ingot +
Coal or
Charcoal or
Block of Coal or
Charcoal Block or
Enriched Carbon

Grid layout Infuse Carbon Bar.png CoalCharcoalBlock of CoalCharcoal BlockEnriched Carbon Iron Ingot Grid layout Infuse Arrow.png Enriched Iron
Grid layout Infuse Energy Bar.png

Bronze Ingot

Copper Ingot +
Tin Dust

Grid layout Infuse Tin Bar.png Tin Dust Copper Ingot Grid layout Infuse Arrow.png Bronze Ingot
Grid layout Infuse Energy Bar.png

Moss Stone

Cobblestone +
Bio Fuel

Grid layout Infuse Bio Fuel Bar.png Bio Fuel Cobblestone Grid layout Infuse Arrow.png Moss Stone
Grid layout Infuse Energy Bar.png

Mycelium

Dirt +
Any Mushroom

Grid layout Infuse Mushroom Bar.png MushroomMushroom Dirt Grid layout Infuse Arrow.png Mycelium
Grid layout Infuse Energy Bar.png


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