Difference between revisions of "Template:Recipe List Row"

From RimWorld Wiki
Jump to navigation Jump to search
(proper links)
(Readding type because getting a summary of what a table makes or finding classes of items without it is cancerous.)
 
Line 4: Line 4:
 
| data-sort-value="{{#vardefineecho:cumulatedAmount|{{#expr:{{{R1a}}}{{#if:{{{R2a}}}|+{{{R2a}}}}}{{#if:{{{R3a}}}|+{{{R3a}}}}}{{#if:{{{R4a}}}|+{{{R4a}}}}}{{#if:{{{R5a}}}|+{{{R5a}}}}}{{#if:{{{R6a}}}|+{{{R6a}}}}}}}}}" | {{Required Resources|{{{?Name}}}|sep= +|simple=1}}  
 
| data-sort-value="{{#vardefineecho:cumulatedAmount|{{#expr:{{{R1a}}}{{#if:{{{R2a}}}|+{{{R2a}}}}}{{#if:{{{R3a}}}|+{{{R3a}}}}}{{#if:{{{R4a}}}|+{{{R4a}}}}}{{#if:{{{R5a}}}|+{{{R5a}}}}}{{#if:{{{R6a}}}|+{{{R6a}}}}}}}}}" | {{Required Resources|{{{?Name}}}|sep= +|simple=1}}  
 
| {{#vardefine:efficiency|{{Q|{{#var:name}}|Work Speed Factor}}}}{{Align Ticks|{{#expr:{{formatnum:{{{?Work}}}|R}}/{{#var:efficiency|1}} round 0}} }}
 
| {{#vardefine:efficiency|{{Q|{{#var:name}}|Work Speed Factor}}}}{{Align Ticks|{{#expr:{{formatnum:{{{?Work}}}|R}}/{{#var:efficiency|1}} round 0}} }}
| {{#if:{{{?Tech}}}| [[Research#{{{?Tech}}}|{{{?Tech}}}]] | – }}<!--
+
| {{#if:{{{?Tech}}}| [[Research#{{{?Tech}}}|{{{?Tech}}}]] | – }}
 +
| [[{{{?Type}}}]] {{#if:{{{?Type2}}}|- [[{{{?Type2}}}]] }}<!--
 
-->{{#if: {{#vardefineecho:amountBulk|{{Q|{{{?Name}}}|Bulk Product Amount}}}} |
 
-->{{#if: {{#vardefineecho:amountBulk|{{Q|{{{?Name}}}|Bulk Product Amount}}}} |
 
<tr style="text-align:left;">
 
<tr style="text-align:left;">
Line 11: Line 12:
 
{{!}} {{Align Ticks|{{#expr:{{formatnum:{{{?Work}}}|R}}/{{#var:efficiency|1}}*{{#var:amountBulk}}/{{#var:amount|1}} round 0}} }}
 
{{!}} {{Align Ticks|{{#expr:{{formatnum:{{{?Work}}}|R}}/{{#var:efficiency|1}}*{{#var:amountBulk}}/{{#var:amount|1}} round 0}} }}
 
{{!}} {{#if:{{{?Tech}}}| [[Research#{{{?Tech}}}|{{{?Tech}}}]] | – }}
 
{{!}} {{#if:{{{?Tech}}}| [[Research#{{{?Tech}}}|{{{?Tech}}}]] | – }}
 +
{{!}} [[{{{?Type}}}]] {{#if:{{{?Type2}}}|- [[{{{?Type2}}}]] }}
 
}}</tr>
 
}}</tr>
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
{{Documentation}}</noinclude>
 
{{Documentation}}</noinclude>

Latest revision as of 12:28, 25 January 2023

Documentation icon Template documentation[view] [edit] [history] [purge]

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[edit]

This template isn't designed to be used in isolation, so as an example we'll show {{Recipe List|Fabrication bench}}

  • Name Materials Work to Make Required Research Type
    Advanced component Advanced component Component 1 + Steel 20 + Plasteel 10 + Gold 3 010,000 ticks (2.78 mins) Advanced fabrication Crafted resources
    Component Component Steel 12 005,000 ticks (1.39 mins) Crafted resources
    Charge lance Charge lance Plasteel 60 + Advanced component 3 060,000 ticks (16.67 mins) Pulse charged munitions Equipment - Weapons
    Charge rifle Charge rifle Plasteel 50 + Advanced component 2 045,000 ticks (12.5 mins) Pulse charged munitions Equipment - Weapons
    Marine armor Marine armor Plasteel 100 + Uranium 20 + Advanced component 4 060,000 ticks (16.67 mins) Marine armor Gear - Armor
    Marine helmet Marine helmet Plasteel 40 + Advanced component 1 021,000 ticks (5.83 mins) Marine armor Gear - Armor
    Recon armor Recon armor Plasteel 80 + Uranium 10 + Advanced component 3 045,000 ticks (12.5 mins) Recon armor Gear - Armor
    Recon helmet Recon helmet Plasteel 30 + Advanced component 1 015,750 ticks (4.38 mins) Recon armor Gear - Armor
    Bionic arm Bionic arm Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Bionic replacements Medical Items - Body Parts
    Bionic ear Bionic ear Plasteel 10 + Advanced component 3 026,000 ticks (7.22 mins) Bionic replacements Medical Items - Body Parts
    Bionic eye Bionic eye Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Bionic replacements Medical Items - Body Parts
    Bionic heart Bionic heart Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Bionic replacements Medical Items - Body Parts
    Bionic jaw Bionic jaw Plasteel 10 + Advanced component 3 026,000 ticks (7.22 mins) Bionic replacements Medical Items - Body Parts
    Bionic leg Bionic leg Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Bionic replacements Medical Items - Body Parts
    Bionic spine Bionic spine Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Bionic replacements Medical Items - Body Parts
    Bionic stomach Bionic stomach Plasteel 10 + Advanced component 3 026,000 ticks (7.22 mins) Bionic replacements Medical Items - Body Parts
    Bionic tongue Bionic tongue Plasteel 8 + Advanced component 2 026,000 ticks (7.22 mins) Bionic replacements Medical Items - Body Parts
    Integrator headset Integrator headset Content added by the Biotech DLC Plasteel 50 + Component 4 + Advanced component 4 + Powerfocus chip 1 015,750 ticks (4.38 mins) High mechtech Gear - Armor
    Mechlord helmet Mechlord helmet Content added by the Biotech DLC Plasteel 120 + Advanced component 6 + Nano structuring chip 2 015,750 ticks (4.38 mins) Ultra mechtech Gear - Armor
    Mechlord suit Mechlord suit Content added by the Biotech DLC Plasteel 120 + Advanced component 8 + Nano structuring chip 2 + Powerfocus chip 1 060,000 ticks (16.67 mins) Ultra mechtech Gear - Armor
    Detoxifier kidney Detoxifier kidney Content added by the Biotech DLC Plasteel 15 + Advanced component 2 026,000 ticks (7.22 mins) Toxin filtration Medical Items - Body Parts
    Detoxifier lung Detoxifier lung Content added by the Biotech DLC Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Toxin filtration Medical Items - Body Parts
    Cataphract armor Cataphract armor Content added by the Royalty DLC Plasteel 150 + Uranium 50 + Advanced component 6 075,000 ticks (20.83 mins) Cataphract armor Gear - Armor
    Cataphract helmet Cataphract helmet Content added by the Royalty DLC Plasteel 50 + Advanced component 1 026,250 ticks (7.29 mins) Cataphract armor Gear - Armor
    Grenadier armor Grenadier armor Content added by the Royalty DLC Plasteel 100 + Uranium 20 + Advanced component 4 + Steel 75 + Component 4 060,000 ticks (16.67 mins) Marine armor Gear - Armor
    Gunlink Gunlink Content added by the Royalty DLC Plasteel 10 + Advanced component 1 015,750 ticks (4.38 mins) Gunlink Gear - Armor
    Locust armor Locust armor Content added by the Royalty DLC Plasteel 120 + Uranium 10 + Advanced component 3 + Component 3 + Chemfuel 100 045,000 ticks (12.5 mins) Jump packs, Recon armor Gear - Armor
    Phoenix armor Phoenix armor Content added by the Royalty DLC Plasteel 150 + Uranium 50 + Advanced component 6 + Steel 75 + Component 4 + Chemfuel 40 075,000 ticks (20.83 mins) Cataphract armor Gear - Armor
    Prestige cataphract armor Prestige cataphract armor Content added by the Royalty DLC Plasteel 190 + Uranium 50 + Advanced component 6 + Gold 180 150,000 ticks (41.67 mins) Cataphract armor Gear - Armor
    Prestige cataphract helmet Prestige cataphract helmet Content added by the Royalty DLC Plasteel 75 + Advanced component 1 + Gold 90 052,500 ticks (14.58 mins) Cataphract armor Gear - Armor
    Prestige marine armor Prestige marine armor Content added by the Royalty DLC Plasteel 120 + Uranium 20 + Advanced component 4 + Gold 100 120,000 ticks (33.33 mins) Marine armor Gear - Armor
    Prestige marine helmet Prestige marine helmet Content added by the Royalty DLC Plasteel 50 + Advanced component 1 + Gold 50 042,000 ticks (11.67 mins) Marine armor Gear - Armor
    Prestige recon armor Prestige recon armor Content added by the Royalty DLC Plasteel 100 + Uranium 10 + Advanced component 3 + Gold 90 090,000 ticks (25 mins) Recon armor Gear - Armor
    Prestige recon helmet Prestige recon helmet Content added by the Royalty DLC Plasteel 40 + Advanced component 1 + Gold 40 015,750 ticks (4.38 mins) Recon armor Gear - Armor
    Aesthetic nose Aesthetic nose Content added by the Royalty DLC Plasteel 10 + Advanced component 2 026,000 ticks (7.22 mins) Flesh shaping Medical Items - Body Parts
    Aesthetic shaper Aesthetic shaper Content added by the Royalty DLC Plasteel 15 + Advanced component 3 026,000 ticks (7.22 mins) Flesh shaping Medical Items - Body Parts
    Armorskin gland Armorskin gland Content added by the Royalty DLC Plasteel 20 + Advanced component 6 026,000 ticks (7.22 mins) Skin hardening Medical Items - Body Parts
    Circadian assistant Circadian assistant Content added by the Royalty DLC Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Circadian influence Medical Items - Body Parts
    Circadian half-cycler Circadian half-cycler Content added by the Royalty DLC Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Circadian influence Medical Items - Body Parts
    Coagulator Coagulator Content added by the Royalty DLC Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Healing factors Medical Items - Body Parts
    Gastro-analyzer Gastro-analyzer Content added by the Royalty DLC Plasteel 15 + Advanced component 3 026,000 ticks (7.22 mins) Molecular analysis Medical Items - Body Parts
    Healing enhancer Healing enhancer Content added by the Royalty DLC Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Healing factors Medical Items - Body Parts
    Immunoenhancer Immunoenhancer Content added by the Royalty DLC Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Molecular analysis Medical Items - Body Parts
    Learning assistant Learning assistant Content added by the Royalty DLC Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Neural computation Medical Items - Body Parts
    Love enhancer Love enhancer Content added by the Royalty DLC Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Flesh shaping Medical Items - Body Parts
    Neurocalculator Neurocalculator Content added by the Royalty DLC Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Neural computation Medical Items - Body Parts
    Nuclear stomach Nuclear stomach Content added by the Royalty DLC Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Artificial metabolism Medical Items - Body Parts
    Reprocessor stomach Reprocessor stomach Content added by the Royalty DLC Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Artificial metabolism Medical Items - Body Parts
    Sterilizing stomach Sterilizing stomach Content added by the Royalty DLC Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Artificial metabolism Medical Items - Body Parts
    Stoneskin gland Stoneskin gland Content added by the Royalty DLC Plasteel 25 + Advanced component 8 026,000 ticks (7.22 mins) Skin hardening Medical Items - Body Parts
    Toughskin gland Toughskin gland Content added by the Royalty DLC Plasteel 15 + Advanced component 4 026,000 ticks (7.22 mins) Skin hardening Medical Items - Body Parts
  • And {{Recipe List|Fueled smithy}}

  • Name Materials Work to Make Required Research Type
    Breach axe Breach axe Stuff 50 (Metallic, 500 for SMVs) 005,000 ticks (1.39 mins) Smithing Equipment - Weapons
    Club Club Stuff 40 (Metallic/Woody/Stony, 400 for SMVs) 001,200 ticks (20 secs) Equipment - Weapons
    Gladius Gladius Stuff 50 (Metallic/Woody, 500 for SMVs) 012,000 ticks (3.33 mins) Smithing Equipment - Weapons
    Greatbow Greatbow Wood 60 009,000 ticks (2.5 mins) Greatbow Equipment - Weapons
    Ikwa Ikwa Stuff 50 (Metallic/Woody, 500 for SMVs) 005,000 ticks (1.39 mins) Smithing Equipment - Weapons
    Knife Knife Stuff 30 (Metallic, 300 for SMVs) 001,800 ticks (30 secs) Smithing Equipment - Weapons
    Longsword Longsword Stuff 100 (Metallic/Woody, 1000 for SMVs) 018,000 ticks (5 mins) Long blades Equipment - Weapons
    Mace Mace Stuff 50 (Metallic/Woody, 500 for SMVs) 006,000 ticks (1.67 mins) Smithing Equipment - Weapons
    Pila Pila Wood 70 007,000 ticks (1.94 mins) Smithing Equipment - Weapons
    Recurve bow Recurve bow Wood 40 005,000 ticks (1.39 mins) Recurve bow Equipment - Weapons
    Short bow Short bow Wood 30 002,400 ticks (40 secs) Equipment - Weapons
    Spear Spear Stuff 75 (Metallic/Woody, 750 for SMVs) 012,000 ticks (3.33 mins) Long blades Equipment - Weapons
    Plate armor Plate armor Stuff 170 (Metallic/Woody, 1700 for SMVs) 038,000 ticks (10.56 mins) Plate armor Gear - Armor
    Simple helmet Simple helmet Stuff 40 (Metallic, 400 for SMVs) 003,200 ticks (53.33 secs) Smithing Gear - Armor
    Kid helmet Kid helmet Content added by the Biotech DLC Stuff 20 (Metallic, 200 for SMVs) 002,000 ticks (33.33 secs) Smithing Gear - Armor
    Torture crown Torture crown Content added by the Ideology DLC Stuff 25 (Metallic/Woody, 250 for SMVs) 001,200 ticks (20 secs) Gear - Clothing
    Harp Harp Content added by the Royalty DLC Wood 150 018,000 ticks (5 mins) Harp Building - Recreation
    Harpsichord Harpsichord Content added by the Royalty DLC Wood 250 032,000 ticks (8.89 mins) Harpsichord Building - Recreation
    Piano Piano Content added by the Royalty DLC Steel 120 + Wood 220 050,000 ticks (13.89 mins) Piano Building - Recreation
    Axe Axe Content added by the Royalty DLC Stuff 50 (Metallic/Woody, 500 for SMVs) 007,000 ticks (1.94 mins) Smithing Equipment - Weapons
    Warhammer Warhammer Content added by the Royalty DLC Stuff 150 (Metallic/Woody, 1500 for SMVs) 018,000 ticks (5 mins) Long blades Equipment - Weapons
    Coronet Coronet Content added by the Royalty DLC Stuff 50 (Metallic, 500 for SMVs) 008,000 ticks (2.22 mins) Royal apparel Gear - Clothing
    Crown Crown Content added by the Royalty DLC Stuff 75 (Metallic, 750 for SMVs) 012,000 ticks (3.33 mins) Royal apparel Gear - Clothing