Difference between revisions of "Template:AlloyTableRecipe"

From TFC:TNG
Jump to navigation Jump to search
(Fixed templates.)
Line 4: Line 4:
 
{{TableHead_AlloyRecipe}}
 
{{TableHead_AlloyRecipe}}
 
{{AlloyTableRecipe|Bismuth Bronze}}
 
{{AlloyTableRecipe|Bismuth Bronze}}
</noinclude><includeonly>{{#switch: {{{1}}}| Bismuth Bronze = {{TableEntry_AlloyRecipe|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 = {{TableEntry_AlloyRecipe|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 = {{TableEntry_AlloyRecipe|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%}}
Line 13: Line 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 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 = {{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%}}
 
| 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>
 +
<noinclude>
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"label": "Alloy Name",
 +
"description": "Alloy this table should be built from.",
 +
"example": "Bronze",
 +
"type": "string",
 +
"required": true
 +
}
 +
},
 +
"description": "Template for quickly placing alloy recipe data for core TFC values."
 +
}
 +
</templatedata>
 +
[[Category:{{PAGENAME}}]]
 +
</noinclude>

Revision as of 02:58, 12 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



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