Difference between revisions of "Template:Trading Value Table"

From RimWorld Wiki
Jump to navigation Jump to search
m (Undo revision 92543 by Ickputzdirwech (talk))
Tag: Undo
m (Undo revision 92542 by Ickputzdirwech (talk))
Tag: Undo
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
== Usage ==
 
{{#vardefine:name | {{SUBPAGENAME}} }}
 
The table below contains everything that requires {{#var:name}}. If the item can be sold to traders the sell price multiplier and is given and it is calculated how profitable it is selling this item. The market value is calculated assuming no [[deterioration]] and normal [[quality]].
 
{| {{STDT|sortable c_25 align-center}}
 
! Item
 
! data-sort-type=number | Amount of {{#var:name}}
 
! 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|Sell Price<br>Multiplier]]
 
! data-sort-type=number | Work per Silver
 
! data-sort-type=number | {{#var:name}}<br>per Silver
 
! Sellable
 
|-
 
! style="text-align: left" | {{#var:name}}
 
| 1 {{Icon Small|{{#var:name}}}} || - || {{ticks/seconds|0}} || - || {{Q|{{#var:name}}|Market Value Base}} {{Icon Small|silver}} || 1 || {{ticks/seconds|0}} || {{#expr:1/{{Q|{{#var:name}}|Market Value Base}}round2}} || [[File:check.png|16px]]
 
|-
 
{{#ask:([[Resource 1::Stuff]] OR [[Resource 1::{{#var:name}}]] OR [[Resource 2::{{#var:name}}]] OR [[Resource 3::{{#var:name}}]] OR [[Resource 4::{{#var:name}}]] OR [[Resource 5::{{#var:name}}]] OR [[Resource 6::{{#var:name}}]]
 
| named args=yes
 
| ?Name=?Name
 
| ?Type=?Type
 
| format=template
 
| template=Trading Value Table
 
| limit = 500
 
| sort = Name
 
}}
 
|}
 
  
<!---
 
 
{{#vardefine:material | {{SUBPAGENAME}} }}
 
{{#vardefine:material | {{SUBPAGENAME}} }}
  
Line 78: Line 49:
 
   }}
 
   }}
 
}}
 
}}
--->
 
  
 
</includeonly>
 
</includeonly>

Revision as of 09:20, 19 September 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}}