Difference between revisions of "Template:Recipe List Row"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
|- | |- | ||
− | ! [[{{{?Name}}}]] | + | ! [[{{{?Name}}}]]{{#ifeq: {{Q|{{{?Name}}}|From DLC}}|Royalty (DLC)| {{RoyaltyIcon}}}}{{#ifeq: {{Q|{{{?Name}}}|From DLC}}|Ideology (DLC)| {{IdeologyIcon}}}} |
| style="text-align:left; | {{Icon Small|{{Q|{{{?Name}}}|Resource 1}}|16}} {{Q|{{{?Name}}}|Resource 1 Amount}} {{#if: {{Q|{{{?Name}}}|Resource 2}}| + {{Icon Small|{{Q|{{{?Name}}}|Resource 2}}|16}} {{Q|{{{?Name}}}|Resource 2 Amount}}|}} {{#if: {{Q|{{{?Name}}}|Resource 3}}| + {{Icon Small|{{Q|{{{?Name}}}|Resource 3}}|16}} {{Q|{{{?Name}}}|Resource 3 Amount}}|}} {{#if: {{Q|{{{?Name}}}|Resource 4}}| + {{Icon Small|{{Q|{{{?Name}}}|Resource 4}}|16}} {{Q|{{{?Name}}}|Resource 4 Amount}}|}} {{#if: {{Q|{{{?Name}}}|Resource 5}}| + {{Icon Small|{{Q|{{{?Name}}}|Resource 5}}|16}} {{Q|{{{?Name}}}|Resource 5 Amount}}|}} {{#if: {{Q|{{{?Name}}}|Resource 6}}| + {{Icon Small|{{Q|{{{?Name}}}|Resource 6}}|16}} {{Q|{{{?Name}}}|Resource 6 Amount}}|}} | | style="text-align:left; | {{Icon Small|{{Q|{{{?Name}}}|Resource 1}}|16}} {{Q|{{{?Name}}}|Resource 1 Amount}} {{#if: {{Q|{{{?Name}}}|Resource 2}}| + {{Icon Small|{{Q|{{{?Name}}}|Resource 2}}|16}} {{Q|{{{?Name}}}|Resource 2 Amount}}|}} {{#if: {{Q|{{{?Name}}}|Resource 3}}| + {{Icon Small|{{Q|{{{?Name}}}|Resource 3}}|16}} {{Q|{{{?Name}}}|Resource 3 Amount}}|}} {{#if: {{Q|{{{?Name}}}|Resource 4}}| + {{Icon Small|{{Q|{{{?Name}}}|Resource 4}}|16}} {{Q|{{{?Name}}}|Resource 4 Amount}}|}} {{#if: {{Q|{{{?Name}}}|Resource 5}}| + {{Icon Small|{{Q|{{{?Name}}}|Resource 5}}|16}} {{Q|{{{?Name}}}|Resource 5 Amount}}|}} {{#if: {{Q|{{{?Name}}}|Resource 6}}| + {{Icon Small|{{Q|{{{?Name}}}|Resource 6}}|16}} {{Q|{{{?Name}}}|Resource 6 Amount}}|}} | ||
| {{#if:{{Q|{{{?Name}}}|Stuff Tags}}|{{Q|{{{?Name}}}|Stuff Tags}}|-}} | | {{#if:{{Q|{{{?Name}}}|Stuff Tags}}|{{Q|{{{?Name}}}|Stuff Tags}}|-}} |
Revision as of 10:05, 8 August 2021
This template is only ever called as part of Template:Recipe List . It uses the variables provided by the different #asks in that template to create sections of the table that the primary template then assembles into one table.
Example usage
This template isn't designed to be used in isolation, so as an example we'll show {{Recipe List|Fabrication bench}}
And {{Recipe List|Fueled smithy}}
Name | Materials | Work to Make | Required Research | Type |
---|---|---|---|---|
Breach axe | 50 | Metallic | 5,000 | Equipment - Weapons |
Club | 40 | Metallic, Woody, Stony | 1,200 | Equipment - Weapons |
Gladius | 50 | Metallic, Woody | 12,000 | Equipment - Weapons |
Greatbow | 60 | - | 9,000 | Equipment - Weapons |
Ikwa | 50 | Metallic, Woody | 5,000 | Equipment - Weapons |
Knife | 30 | Metallic | 1,800 | Equipment - Weapons |
Longsword | 100 | Metallic, Woody | 18,000 | Equipment - Weapons |
Mace | 50 | Metallic, Woody | 6,000 | Equipment - Weapons |
Pila | 70 | - | 7,000 | Equipment - Weapons |
Recurve bow | 40 | - | 5,000 | Equipment - Weapons |
Short bow | 30 | - | 2,400 | Equipment - Weapons |
Spear | 75 | Metallic, Woody | 12,000 | Equipment - Weapons |
Plate armor | 170 | Metallic, Woody | 38,000 | Gear - Armor |
Simple helmet | 40 | Metallic | 3,200 | Gear - Armor |
Kid helmet | 20 | Metallic | 2,000 | Gear - Armor |
Torture crown | 25 | Metallic, Woody | 1,200 | Gear - Clothing |
Harp | 150 | - | 18,000 | Building - Recreation |
Harpsichord | 250 | - | 32,000 | Building - Recreation |
Piano | 120 + 220 | - | 50,000 | Building - Recreation |
Axe | 50 | Metallic, Woody | 7,000 | Equipment - Weapons |
Warhammer | 150 | Metallic, Woody | 18,000 | Equipment - Weapons |
Coronet | 50 | Metallic | 8,000 | Gear - Clothing |
Crown | 75 | Metallic | 12,000 | Gear - Clothing |
The above documentation is transcluded from Template:Recipe List Row/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |