Difference between revisions of "Template:TableEntry AlloyRecipe"

From TFC:TNG
Jump to navigation Jump to search
(Fixed example.)
(It doesn’t make sense for the first row to have only a single column with a big rowspan; it makes more sense for the first row to have all the columns and then subsequent rows to skip the first one due to rowspan)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<td rowspan="{{{1}}}" style="text-align:center">{{ItemIcon|Molten {{{2|}}}|{{{3|}}}}} [[{{{2}}}]]</td>
+
<tr><td rowspan="{{{1}}}" style="text-align:center">{{ItemIcon|Molten {{{2|}}}|{{{3|}}}}} [[{{{2}}}]]</td>
<tr><td style="text-align:center">{{ItemIcon|Molten {{{4|}}}|{{{5|}}}}} [[{{{4}}}]]</td> <td>{{{6}}}</td> <td>{{{7}}}</td></tr>
+
<td style="text-align:center">{{ItemIcon|Molten {{{4|}}}|{{{5|}}}}} [[{{{4}}}]]</td> <td>{{{6}}}</td> <td>{{{7}}}</td></tr>
 
<tr><td style="text-align:center">{{ItemIcon|Molten {{{8|}}}|{{{9|}}}}} [[{{{8}}}]]</td> <td>{{{10}}}</td> <td>{{{11}}}</td></tr>{{
 
<tr><td style="text-align:center">{{ItemIcon|Molten {{{8|}}}|{{{9|}}}}} [[{{{8}}}]]</td> <td>{{{10}}}</td> <td>{{{11}}}</td></tr>{{
 
#if: {{{12|}}}|<tr><td style="text-align:center">{{ItemIcon|Molten{{{12|}}}|{{{13|}}}}} [[{{{12}}}]]</td> <td>{{{14}}}</td> <td>{{{15}}}</td></tr>}}{{
 
#if: {{{12|}}}|<tr><td style="text-align:center">{{ItemIcon|Molten{{{12|}}}|{{{13|}}}}} [[{{{12}}}]]</td> <td>{{{14}}}</td> <td>{{{15}}}</td></tr>}}{{
Line 21: Line 21:
 
"1": {
 
"1": {
 
"label": "Row Span",
 
"label": "Row Span",
"description": "How wide the row should be.",
+
"description": "How high the row should be.",
 
"type": "number",
 
"type": "number",
 
"default": "1",
 
"default": "1",

Latest revision as of 05:18, 1 September 2020



Molten Bismuth Bronze.png Bismuth Bronze Molten Zinc.png Zinc 20% 30% Molten Copper.png Copper 50% 65%Molten Bismuth.png Bismuth 10% 20%


Alloy Table entry template for up to 10 required metals.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Row Span1

How high the row should be.

Default
1
Numberrequired
Alloy picture2

Name of the alloy that will be made.

Example
Bismuth Bronze
Stringrequired
Image link3

Link for the first image

Pageoptional
Metal 14

First metal of this alloy.

Example
Zinc
Stringrequired
Metal 1 Link5

Link for metal 1 image.

Example
ingot
Stringrequired
Lowest requirement6

Lowest requirement of this metal for this alloy.

Example
20%
Stringrequired
Maximum requirement7

Maximum requirement of this metal for this alloy.

Example
30%
Stringrequired
Metal 28

Second metal of this alloy

Example
Copper
Stringrequired
Metal 2 Link9

Link for metal 2 image.

Stringrequired
Lowest requirement10

Lowest requirement of this metal for this alloy.

Example
50%
Stringrequired
Maximum requirement11

Maximum requirement of this metal for this alloy.

Example
65%
Stringrequired
Metal 312

Third metal of this alloy.

Stringoptional
Metal 3 link13

Link for metal 3 image.

Stringoptional
Lowest requirement14

Lowest requirement of this metal for this alloy.

Stringoptional
Maximum requirement15

Maximum requirement of this metal for this alloy.

Stringoptional
Metal 416

Forth metal of this alloy.

Stringoptional
Metal 4 Link17

Link for metal 4 image.

Stringoptional
Lowest requirement18

Lowest requirement of this metal for this alloy.

Stringoptional
Maximum requirement19

Maximum requirement of this metal for this alloy.

Stringoptional
Metal 520

Fifth metal of this alloy.

Stringoptional
Metal 5 Link21

Link for metal 5 image.

Stringoptional
Lowest requirement22

Lowest requirement of this metal for this alloy.

Stringoptional
Maximum requirement23

Maximum requirement of this metal for this alloy.

Stringoptional
Metal 624

Sixth metal of this alloy.

Stringoptional
Metal 6 Link25

Link for metal 6 image.

Stringoptional
Lowest requirement26

Lowest requirement of this metal for this alloy.

Stringoptional
Maximum requirement27

Maximum requirement of this metal for this alloy.

Stringoptional
Metal 728

Seventh metal of this alloy.

Stringoptional
Metal 7 Link29

Link for metal 7 image.

Stringoptional
Lowest requirement30

Lowest requirement of this metal for this alloy.

Stringoptional
Maximum requirement31

Maximum requirement of this metal for this alloy.

Stringoptional
Metal 832

Eighth metal of this alloy.

Stringoptional
Metal 8 Link33

Link for metal 8 image.

Stringoptional
Lowest requirement34

Lowest requirement of this metal for this alloy.

Stringoptional
Maximum requirement35

Maximum requirement of this metal for this alloy.

Stringoptional
Metal 936

Ninth metal of this alloy.

Stringoptional
Metal 9 Link37

Link for metal 9 image.

Stringoptional
Lowest requirement38

Lowest requirement of this metal for this alloy.

Stringoptional
Maximum requirement39

Maximum requirement of this metal for this alloy.

Stringoptional
Metal 1040

Tenth metal of this alloy.

Stringoptional
Metal 10 Link41

Link for metal 10 image.

Stringoptional
Lowest requirement42

Lowest requirement of this metal for this alloy.

Stringoptional
Maximum requirement43

Maximum requirement of this metal for this alloy.

Stringoptional