Difference between revisions of "Template:AlloyTableRecipe"

From TFC:TNG
Jump to navigation Jump to search
(Eliminate some more extraneous newlines)
 
(5 intermediate revisions by 3 users not shown)
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|Molten Zinc|ingot|20%|30%|Molten Copper|ingot|50%|65%|Molten Bismuth|ingot|10%|20%}}
+
</noinclude><includeonly>{{#switch: {{{1}}}| Bismuth Bronze = {{TableEntry_AlloyRecipe|3|Bismuth Bronze|ingot| Zinc|ingot|20%|30%| Copper|ingot|50%|65%| Bismuth|ingot|10%|20%}}
| Black Bronze = {{AlloyTableEntry|4|Black Bronze|ingot|Molten Copper|ingot|50%|70%|Molten Silver|ingot|10%|25%|Molten Gold|ingot|10%|25%}}
+
| Black Bronze = {{TableEntry_AlloyRecipe|3|Black Bronze|ingot| Copper|ingot|50%|70%| Silver|ingot|10%|25%| Gold|ingot|10%|25%}}
| Bronze = {{AlloyTableEntry|3|Bronze|ingot|Molten Copper|ingot|88%|92%|Molten Tin|ingot|8%|12%}}
+
| Bronze = {{TableEntry_AlloyRecipe|2|Bronze|ingot| Copper|ingot|88%|92%| Tin|ingot|8%|12%}}
| Brass = {{AlloyTableEntry|3|Brass|ingot|Molten Copper|ingot|88%|92%|Molten Zinc|ingot|8%|12%}}
+
| Brass = {{TableEntry_AlloyRecipe|2|Brass|ingot| Copper|ingot|88%|92%| Zinc|ingot|8%|12%}}
| Rose Gold = {{AlloyTableEntry|3|Rose Gold|ingot|Molten Copper|ingot|15%|30%|Molten Gold|ingot|70%|85%}}
+
| Rose Gold = {{TableEntry_AlloyRecipe|2|Rose Gold|ingot| Copper|ingot|15%|30%| Gold|ingot|70%|85%}}
| Sterling Silver = {{AlloyTableEntry|3|Sterling Silver|ingot|Molten Copper|ingot|20%|40%|Molten Silver|ingot|60%|80%}}
+
| Sterling Silver = {{TableEntry_AlloyRecipe|2|Sterling Silver|ingot| Copper|ingot|20%|40%| Silver|ingot|60%|80%}}
| Weak Steel = {{AlloyTableEntry|4|Weak Steel|ingot|Molten Steel|ingot|50%|70%|Molten Nickel|ingot|15%|25%|Molten Black Bronze|ingot|15%|25%}}
+
| Weak Steel = {{TableEntry_AlloyRecipe|3|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|Molten Steel|ingot|20%|25%|Molten Black Steel|ingot|50%|55%|Molten Bismuth Bronze|ingot|10%|15%|Molten Sterling Silver|ingot|10%|15%}}
+
| Weak Blue Steel = {{TableEntry_AlloyRecipe|4|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|Molten Steel|ingot|20%|25%|Molten Black Steel|ingot|50%|55%|Molten Brass|ingot|10%|15%|Molten 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 }}</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>

Latest revision as of 06:35, 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