Difference between revisions of "Template:Trading Value Table"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#vardefine:name | {{SUBPAGENAME}} }}
+
 
{| {{STDT|sortable c_25 align-center}}
+
 
! Item
+
 
! data-sort-type=number | Amount of wood
+
{{#if: {{#pos:{{Q|{{{?Name}}}|Stuff Tags}}|Woody}}| {{Trading Value Table Row}} }}
! data-sort-type=number | Other materials
+
 
! data-sort-type=number | [[Work To Make|Work]]
 
! [[Skills|Work type]]
 
! data-sort-type=number | [[Market Value]]
 
! data-sort-type=number | [[Sell Price Multiplier]]
 
! data-sort-type=number | Work per Silver
 
! data-sort-type=number | Wood per Silver
 
|-
 
{{#ask:[[Resource 1::Stuff]] OR [[Resource 1::{{lc:{{#var:name}}}}]] OR [[Resource 2::{{lc:{{#var:name}}}}]] OR [[Resource 3::{{lc:{{#var:name}}}}]] OR [[Resource 4::{{lc:{{#var:name}}}}]] OR [[Resource 5::{{lc:{{#var:name}}}}]] OR [[Resource 6::{{lc:{{#var:name}}}}]]
 
| named args=yes
 
| ?Material={{#var:name}}
 
| ?Name=?Name
 
| ?Type=?Type
 
| ?Type2=?Type2
 
| format=template
 
| template=Trading Value Table Row
 
| limit = 500
 
| sort = Type, Type2, Name
 
}}
 
|}
 
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 13:11, 4 June 2021


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

Related Template

This template is dependant on Template:Trading Value Table Row.

Description

This template adds a full table of all items, buildings etc. that require a specific material. It is meant for everything in Template:Nav/materials but can be used for pretty much anything.

In order to use the template add the following line to the page of the material:

{{Trading Value Table}}

If you specify the material you can put the table on any page you want:

{{Trading Value Table | Uranium}}

Examples

Stony

Example for a stone. {{Trading Value Table | Granite blocks}}

Metallic

Normal

Example for a metal.





Small Volume

Example for a small volume material. {{Trading Value Table | Silver}}

Woody

Example for wood. {{Trading Value Table | Wood}}

Leathery

Example for a leather. {{Trading Value Table | Bluefur}}

Fabric

Example for a fabric. {{Trading Value Table | Cloth}}

Other

Example for a any other item. {{Trading Value Table | Component}}