Difference between revisions of "Template:Trading Value Table"
(Added column "Sellable") |
(trying to condense everything) |
||
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 49: | Line 78: | ||
}} | }} | ||
}} | }} | ||
+ | ---> | ||
</includeonly> | </includeonly> |
Revision as of 08:49, 19 September 2021
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. Template:Trading Value Table
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}}
The above documentation is transcluded from Template:Trading Value Table/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. |