Difference between revisions of "Template:AlloyTableRecipe"

From TFC:TNG
Jump to navigation Jump to search
(Decrement rowspans to match change to Template:TableEntry AlloyRecipe)
(Eliminate some extraneous newlines which make the Alloys page look ugly)
Line 4: Line 4:
 
{{TableHead_AlloyRecipe}}
 
{{TableHead_AlloyRecipe}}
 
{{AlloyTableRecipe|Bismuth Bronze}}
 
{{AlloyTableRecipe|Bismuth Bronze}}
</noinclude>
+
</noinclude><includeonly>
<includeonly>
 
 
{{#switch: {{{1}}}| Bismuth Bronze = {{TableEntry_AlloyRecipe|3|Bismuth Bronze|ingot| Zinc|ingot|20%|30%| Copper|ingot|50%|65%| Bismuth|ingot|10%|20%}}
 
{{#switch: {{{1}}}| Bismuth Bronze = {{TableEntry_AlloyRecipe|3|Bismuth Bronze|ingot| Zinc|ingot|20%|30%| Copper|ingot|50%|65%| Bismuth|ingot|10%|20%}}
 
| Black Bronze = {{TableEntry_AlloyRecipe|3|Black Bronze|ingot| Copper|ingot|50%|70%| Silver|ingot|10%|25%| Gold|ingot|10%|25%}}
 
| Black Bronze = {{TableEntry_AlloyRecipe|3|Black Bronze|ingot| Copper|ingot|50%|70%| Silver|ingot|10%|25%| Gold|ingot|10%|25%}}
Line 16: Line 15:
 
| Weak Red Steel = {{TableEntry_AlloyRecipe|4|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|4|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 }}
 
| Not an alloy }}
</includeonly>
+
</includeonly><noinclude>
<noinclude>
 
 
<templatedata>
 
<templatedata>
 
{
 
{

Revision as of 06:32, 1 September 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


Template for quickly placing alloy recipe data for core TFC values.

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%

Template parameters

ParameterDescriptionTypeStatus
Alloy Name1

Alloy this table should be built from.

Example
Bronze
Stringrequired