Difference between revisions of "Template:AlloyTableRecipe"

From TFC:TNG
Jump to navigation Jump to search
(Changed to work with new AlloyTableEntry)
(Fixed templates.)
Line 2: Line 2:
 
Use this template to add the recipe for a specific alloy to a page. Just put the table head template first then as many AlloyTemplateRecipe templates as you want with only the alloy name as value. Edit this template in case there is new alloy or change to alloy.
 
Use this template to add the recipe for a specific alloy to a page. Just put the table head template first then as many AlloyTemplateRecipe templates as you want with only the alloy name as value. Edit this template in case there is new alloy or change to alloy.
 
==Example==
 
==Example==
{{AlloyTableHead}}
+
{{TableHead_AlloyRecipe}}
 
{{AlloyTableRecipe|Bismuth Bronze}}
 
{{AlloyTableRecipe|Bismuth Bronze}}
</noinclude><includeonly>{{#switch: {{{1}}}| Bismuth Bronze = {{AlloyTableEntry|4|Bismuth Bronze|ingot| Zinc|ingot|20%|30%| Copper|ingot|50%|65%| Bismuth|ingot|10%|20%}}
+
</noinclude><includeonly>{{#switch: {{{1}}}| Bismuth Bronze = {{TableEntry_AlloyRecipe|4|Bismuth Bronze|ingot| Zinc|ingot|20%|30%| Copper|ingot|50%|65%| Bismuth|ingot|10%|20%}}
| Black Bronze = {{AlloyTableEntry|4|Black Bronze|ingot| Copper|ingot|50%|70%| Silver|ingot|10%|25%| Gold|ingot|10%|25%}}
+
| Black Bronze = {{TableEntry_AlloyRecipe|4|Black Bronze|ingot| Copper|ingot|50%|70%| Silver|ingot|10%|25%| Gold|ingot|10%|25%}}
| Bronze = {{AlloyTableEntry|3|Bronze|ingot| Copper|ingot|88%|92%| Tin|ingot|8%|12%}}
+
| Bronze = {{TableEntry_AlloyRecipe|3|Bronze|ingot| Copper|ingot|88%|92%| Tin|ingot|8%|12%}}
| Brass = {{AlloyTableEntry|3|Brass|ingot| Copper|ingot|88%|92%| Zinc|ingot|8%|12%}}
+
| Brass = {{TableEntry_AlloyRecipe|3|Brass|ingot| Copper|ingot|88%|92%| Zinc|ingot|8%|12%}}
| Rose Gold = {{AlloyTableEntry|3|Rose Gold|ingot| Copper|ingot|15%|30%| Gold|ingot|70%|85%}}
+
| Rose Gold = {{TableEntry_AlloyRecipe|3|Rose Gold|ingot| Copper|ingot|15%|30%| Gold|ingot|70%|85%}}
| Sterling Silver = {{AlloyTableEntry|3|Sterling Silver|ingot| Copper|ingot|20%|40%| Silver|ingot|60%|80%}}
+
| Sterling Silver = {{TableEntry_AlloyRecipe|3|Sterling Silver|ingot| Copper|ingot|20%|40%| Silver|ingot|60%|80%}}
| Weak Steel = {{AlloyTableEntry|4|Weak Steel|ingot| Steel|ingot|50%|70%| Nickel|ingot|15%|25%| Black Bronze|ingot|15%|25%}}
+
| Weak Steel = {{TableEntry_AlloyRecipe|4|Weak Steel|ingot| Steel|ingot|50%|70%| Nickel|ingot|15%|25%| Black Bronze|ingot|15%|25%}}
| Weak Blue Steel = {{AlloyTableEntry|5|Weak Blue Steel|ingot| Steel|ingot|20%|25%| Black Steel|ingot|50%|55%| Bismuth Bronze|ingot|10%|15%| Sterling Silver|ingot|10%|15%}}
+
| Weak Blue Steel = {{TableEntry_AlloyRecipe|5|Weak Blue Steel|ingot| Steel|ingot|20%|25%| Black Steel|ingot|50%|55%| Bismuth Bronze|ingot|10%|15%| Sterling Silver|ingot|10%|15%}}
| Weak Red Steel = {{AlloyTableEntry|5|Weak Red Steel|ingot| Steel|ingot|20%|25%| Black Steel|ingot|50%|55%| Brass|ingot|10%|15%| Rose Gold|ingot|10%|15%}}
+
| Weak Red Steel = {{TableEntry_AlloyRecipe|5|Weak Red Steel|ingot| Steel|ingot|20%|25%| Black Steel|ingot|50%|55%| Brass|ingot|10%|15%| Rose Gold|ingot|10%|15%}}
 
| Not an alloy }}</includeonly>
 
| Not an alloy }}</includeonly>

Revision as of 04:14, 11 August 2020

Use this template to add the recipe for a specific alloy to a page. Just put the table head template first then as many AlloyTemplateRecipe templates as you want with only the alloy name as value. Edit this template in case there is new alloy or change to alloy.

Example

Alloy Made of Minimum % Maximum %
Molten Bismuth Bronze.png Bismuth Bronze Molten Zinc.png Zinc 20% 30%
Molten Copper.png Copper 50% 65%
Molten Bismuth.png Bismuth 10% 20%