Template:Metallurgic Infuser/doc: Difference between revisions

mNo edit summary
No edit summary
 
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
{{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
|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

RedstoneBlock of RedstoneEnriched Redstone Osmium Ingot Basic Control Circuit

The description cell can contain formatted text.

Reinforced Alloy

Enriched Alloy +
Diamond Dust or
Enriched Diamond

Diamond DustEnriched Diamond Enriched Alloy Reinforced Alloy

Atomic Alloy

Reinforced Alloy

Obsidian Reinforced Alloy Atomic Alloy

Enriched Iron

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

CoalCharcoalBlock of CoalCharcoal BlockEnriched Carbon Iron Ingot Enriched Iron

Bronze Ingot

Copper Ingot +
Tin Dust

Tin Dust Copper Ingot Bronze Ingot

Moss Stone

Cobblestone +
Bio Fuel

Bio Fuel Cobblestone Moss Stone

Mycelium

Dirt +
Any Mushroom

MushroomMushroom Dirt Mycelium


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