Difference between revisions of "Template:Ingredient List Row"

From RimWorld Wiki
Jump to navigation Jump to search
(Undo revision 81257 by Harakoni (talk))
Tag: Undo
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
|-
 
|-
! [[{{{1|}}}]]
+
! [[{{{?Name}}}]]
 
| <!--
 
| <!--
-->{{#ifeq: {{Q|{{{1|}}}|Resource 1}} | {{#var:name}} | {{Q|{{{1|}}}|Resource 1 Amount}}}}<!--
+
-->{{#ifeq: {{Q|{{{?Name}}}|Resource 1}} | {{#var:name}} | {{Q|{{{?Name}}}|Resource 1 Amount}}}}<!--
-->{{#ifeq: {{Q|{{{1|}}}|Resource 2}} | {{#var:name}} | {{Q|{{{1|}}}|Resource 2 Amount}}}}<!--
+
-->{{#ifeq: {{Q|{{{?Name}}}|Resource 2}} | {{#var:name}} | {{Q|{{{?Name}}}|Resource 2 Amount}}}}<!--
-->{{#ifeq: {{Q|{{{1|}}}|Resource 3}} | {{#var:name}} | {{Q|{{{1|}}}|Resource 3 Amount}}}}<!--
+
-->{{#ifeq: {{Q|{{{?Name}}}|Resource 3}} | {{#var:name}} | {{Q|{{{?Name}}}|Resource 3 Amount}}}}<!--
-->{{#ifeq: {{Q|{{{1|}}}|Resource 4}} | {{#var:name}} | {{Q|{{{1|}}}|Resource 4 Amount}}}}<!--
+
-->{{#ifeq: {{Q|{{{?Name}}}|Resource 4}} | {{#var:name}} | {{Q|{{{?Name}}}|Resource 4 Amount}}}}<!--
-->{{#ifeq: {{Q|{{{1|}}}|Resource 5}} | {{#var:name}} | {{Q|{{{1|}}}|Resource 5 Amount}}}}<!--
+
-->{{#ifeq: {{Q|{{{?Name}}}|Resource 5}} | {{#var:name}} | {{Q|{{{?Name}}}|Resource 5 Amount}}}}<!--
-->{{#ifeq: {{Q|{{{1|}}}|Resource 6}} | {{#var:name}} | {{Q|{{{1|}}}|Resource 6 Amount}}}}
+
-->{{#ifeq: {{Q|{{{?Name}}}|Resource 6}} | {{#var:name}} | {{Q|{{{?Name}}}|Resource 6 Amount}}}}
 
| {{{?Type}}} {{#if:{{{?Type2}}}|- {{{?Type2}}} }}
 
| {{{?Type}}} {{#if:{{{?Type2}}}|- {{{?Type2}}} }}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
{{Documentation}}</noinclude>
 
{{Documentation}}</noinclude>

Revision as of 08:14, 8 February 2021

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

This template is only ever called as part of Template:Ingredient 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 {{Ingredient List|Steel}}

  • Product Ingredients Type [ExpandCollapse]
    [[{{{?Name}}}]] Art
    [[{{{?Name}}}]] Art
    [[{{{?Name}}}]] Art
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Power
    [[{{{?Name}}}]] Building - Power
    [[{{{?Name}}}]] Building - Power
    [[{{{?Name}}}]] Building - Power
    [[{{{?Name}}}]] Building - Power
    [[{{{?Name}}}]] Building - Power
    [[{{{?Name}}}]] Building - Power
    [[{{{?Name}}}]] Building - Power
    [[{{{?Name}}}]] Building - Power
    [[{{{?Name}}}]] Building - Power
    [[{{{?Name}}}]] Building - Power
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Production
    [[{{{?Name}}}]] Building - Recreation
    [[{{{?Name}}}]] Building - Recreation
    [[{{{?Name}}}]] Building - Recreation
    [[{{{?Name}}}]] Building - Recreation
    [[{{{?Name}}}]] Building - Recreation
    [[{{{?Name}}}]] Building - Recreation
    [[{{{?Name}}}]] Building - Recreation
    [[{{{?Name}}}]] Building - Recreation
    [[{{{?Name}}}]] Building - Security
    [[{{{?Name}}}]] Building - Security
    [[{{{?Name}}}]] Building - Security
    [[{{{?Name}}}]] Building - Security
    [[{{{?Name}}}]] Building - Security
    [[{{{?Name}}}]] Building - Security
    [[{{{?Name}}}]] Building - Security
    [[{{{?Name}}}]] Building - Security
    [[{{{?Name}}}]] Building - Ship
    [[{{{?Name}}}]] Building - Ship
    [[{{{?Name}}}]] Building - Ship
    [[{{{?Name}}}]] Building - Ship
    [[{{{?Name}}}]] Building - Ship
    [[{{{?Name}}}]] Building - Ship
    [[{{{?Name}}}]] Building - Structure
    [[{{{?Name}}}]] Building - Structure
    [[{{{?Name}}}]] Building - Structure
    [[{{{?Name}}}]] Building - Structure
    [[{{{?Name}}}]] Building - Structure
    [[{{{?Name}}}]] Building - Structure
    [[{{{?Name}}}]] Building - Structure
    [[{{{?Name}}}]] Building - Temperature
    [[{{{?Name}}}]] Building - Temperature
    [[{{{?Name}}}]] Building - Temperature
    [[{{{?Name}}}]] Crafted resources
    [[{{{?Name}}}]] Crafted resources
    [[{{{?Name}}}]] Crafted resources - Mortar shell
    [[{{{?Name}}}]] Crafted resources - Mortar shell
    [[{{{?Name}}}]] Crafted resources - Mortar shell
    [[{{{?Name}}}]] Crafted resources - Mortar shell
    [[{{{?Name}}}]] Crafted resources - Mortar shell
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Floor
    [[{{{?Name}}}]] Floor
    [[{{{?Name}}}]] Floor
    [[{{{?Name}}}]] Floor
    [[{{{?Name}}}]] Gear - Armor
    [[{{{?Name}}}]] Gear - Armor
    [[{{{?Name}}}]] Gear - Armor
    [[{{{?Name}}}]] Gear - Armor
    [[{{{?Name}}}]] Gear - Armor
    [[{{{?Name}}}]] Gear - Armor
    [[{{{?Name}}}]] Gear - Utility
    [[{{{?Name}}}]] Gear - Utility
    [[{{{?Name}}}]] Gear - Utility
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Medical Items - Body Parts
    [[{{{?Name}}}]] Medical Items - Body Parts
    [[{{{?Name}}}]] Medical Items - Body Parts
    [[{{{?Name}}}]] Medical Items - Body Parts
    [[{{{?Name}}}]] Medical Items - Body Parts
    [[{{{?Name}}}]] Medical Items - Body Parts
    [[{{{?Name}}}]] Medical Items - Body Parts
    [[{{{?Name}}}]] Building - Anomaly (Buildings)
    [[{{{?Name}}}]] Building - Anomaly (Buildings)
    [[{{{?Name}}}]] Building - Anomaly (Buildings)
    [[{{{?Name}}}]] Building - Anomaly (Buildings)
    [[{{{?Name}}}]] Building - Anomaly (Buildings)
    [[{{{?Name}}}]] Building - Anomaly (Buildings)
    [[{{{?Name}}}]] Building - Anomaly (Buildings)
    [[{{{?Name}}}]] Building - Anomaly (Buildings)
    [[{{{?Name}}}]] Building - Anomaly (Buildings)
    [[{{{?Name}}}]] Building - Power
    [[{{{?Name}}}]] Building - Security
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Gear - Utility
    [[{{{?Name}}}]]
    [[{{{?Name}}}]]
    [[{{{?Name}}}]]
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Biotech (Buildings)
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Power
    [[{{{?Name}}}]] Crafted resources - Mortar shell
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Gear - Armor
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Utility
    [[{{{?Name}}}]] Gear - Utility
    [[{{{?Name}}}]] Gear - Utility
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Mechanoid
    [[{{{?Name}}}]] Art
    [[{{{?Name}}}]] Building - Floor
    [[{{{?Name}}}]] Building - Floor
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Floor
    [[{{{?Name}}}]] Floor
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Misc
    [[{{{?Name}}}]] Building - Recreation
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Equipment - Weapons
    [[{{{?Name}}}]] Gear - Armor
    [[{{{?Name}}}]] Gear - Armor
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Medical Items - Body Parts
    [[{{{?Name}}}]] Medical Items - Body Parts
    [[{{{?Name}}}]] Medical Items - Body Parts
    [[{{{?Name}}}]] Medical Items - Body Parts
    [[{{{?Name}}}]] Medical Items - Body Parts
    [[{{{?Name}}}]] Medical Items - Body Parts
    [[{{{?Name}}}]] Medical Items - Body Parts
    [[{{{?Name}}}]] Medical Items - Body Parts
  • And {{Ingredient List|Patchleather}}

  • Product Ingredients Type [ExpandCollapse]
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Building - Security
    [[{{{?Name}}}]] Building - Structure
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Textile - Leather
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Building - Ideology (Buildings)
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Building - Furniture
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing
    [[{{{?Name}}}]] Gear - Clothing