Template:Trading Value Table Row
See Template:Trading Value Table for the full documentation.
Example
Animal sleeping boxAnimalist slab (broad)Animalist slab (medium)Art benchAutobongAutodoorAxeBaby decorationBarricadeBedBilliards tableBlackboardBonsai potBookcaseBreweryBridgeBurnbongButcher tableCampfireChess tableChristmas treeClubColumnCribDarktorchDining chairDoorDouble bedDrapeDresserDrug labDrumEffigyEgg boxElectric tailor benchEnd tableFenceFence gateFermenting barrelGame-of-Ur boardGladiusGrand altarGrand sculptureGreatbowHand tailor benchHarpHarpsichordHoopstone ringHorseshoes pinIkwaIncense shrineLarge altarLarge nature shrineLarge sculptureLecternLongswordMaceMeditation throneMedium altarOrnate doorPassive coolerPeg legPen markerPewPianoPilaPlant potPlate armorPoker tablePyreRecurve bowRoyal bedSacrificial flagSarcophagusSchool deskShelfShort bowSimple research benchSkullspikeSlab bedSlab double bedSlicecapSmall altarSmall bookcaseSmall nature shrineSmall sculptureSmall shelfSpearSpike trapStonecutter's tableStoolStyling stationTable (1x2)Table (2x2)Table (2x4)Table (3x3)Terror sculptureTorch lampTorture crownTotemic boardsTotemic slab (broad)Totemic slab (medium)Toy boxVisage maskWallWall torch lampWar maskWarhammerWatermill generatorWood floorWooden footWooden handItem | Amount of wood | Other ingredients | Work to make | Relevant skill | Market value | Sell price multiplier |
Profitability |
---|---|---|---|---|---|---|---|
Wood | 1 | – | ticks (0 secs) | 0– | 1.2 | 1 | 1 |
The above documentation is transcluded from Template:Trading Value Table Row/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. |
{{#vardefine:material | {{SUBPAGENAME}} }} {{#ifeq: {{{?Type}}} | Furniture | {{#vardefine:multiplier | 0.7}} {{#vardefine:skill | [[Construction]]}} | {{#vardefine:multiplier | 1}} {{#vardefine:skill | -}} }} {{#ifeq: {{{?Type}}} | Art | {{#vardefine:multiplier | 1.1}} {{#vardefine:skill | [[Skills#Artistic|Artistic]]}} }} {{#ifeq: {{{?Type}}} | Medical Items | {{#vardefine:skill | [[Crafting]]}} }} {{#ifeq: {{{?Type}}} | Gear | {{#vardefine:multiplier | 0.7}} {{#vardefine:skill | [[Crafting]]}} }} {{#ifeq: {{{?Type}}} | Equipment | {{#vardefine:multiplier | 0.2}} {{#vardefine:skill | [[Crafting]]}} }} {{#ifeq: {{{?Type}}} | Crafted Resources | {{#vardefine:multiplier | 0.6}} {{#vardefine:skill | [[Crafting]]}} }} {{#ifeq: {{{?Type}}} | Floor | {{#vardefine:skill | [[Construction]]}} }} {{#ifeq: {{{?Type}}} | Buildings | {{#vardefine:skill | [[Construction]]}} }} {{#ifeq: {{{?Type}}} | Structure | {{#vardefine:skill | [[Construction]]}} }} {{#ifeq: {{{?Type}}} | Misc | {{#vardefine:skill | [[Construction]]}} }} {{#ifeq: {{{?Type}}} | Security | {{#vardefine:skill | [[Construction]]}} }} {{#ifeq: {{{?Type}}} | Temperature | {{#vardefine:skill | [[Construction]]}} }} {{#ifeq: {{{?Type}}} | Production | {{#vardefine:skill | [[Construction]]}} }} {{#ifeq: {{{?Type}}} | Power| {{#vardefine:skill | [[Construction]]}} }} {{#ifeq: {{{?Type}}} | Ship| {{#vardefine:skill | [[Construction]]}} }} {{#vardefine:amount | {{#expr: {{#ifeq: {{{?Stuff}}} | true | {{Q|{{{?Name}}}|Resource 1 Amount}} | {{#ifeq: {{Q|{{{?Name}}}|Resource 1}}|{{#var:material}}|{{Q|{{{?Name}}}|Resource 1 Amount}}|0}} }} * {{#ifeq: {{#var:material}} | Gold | 10 | {{#ifeq: {{#var:material}} | Silver | 10 | 1 }} }} + {{#ifeq: {{Q|{{{?Name}}}|Resource 2}}|{{#var:material}}|{{Q|{{{?Name}}}|Resource 2 Amount}}|0}} + {{#ifeq: {{Q|{{{?Name}}}|Resource 3}}|{{#var:material}}|{{Q|{{{?Name}}}|Resource 3 Amount}}|0}} + {{#ifeq: {{Q|{{{?Name}}}|Resource 4}}|{{#var:material}}|{{Q|{{{?Name}}}|Resource 4 Amount}}|0}} + {{#ifeq: {{Q|{{{?Name}}}|Resource 5}}|{{#var:material}}|{{Q|{{{?Name}}}|Resource 5 Amount}}|0}} + {{#ifeq: {{Q|{{{?Name}}}|Resource 6}}|{{#var:material}}|{{Q|{{{?Name}}}|Resource 6 Amount}}|0}} }} }} {{#vardefine:others | {{#ifeq: {{Q|{{{?Name}}}|Resource 1}} | Stuff | {{#ifeq: {{{?Stuff}}} | true || {{Q|{{{?Name}}}|Resource 1 Amount || {{Icon Small|Stuff}} }} }} | {{#ifeq: {{Q|{{{?Name}}}|Resource 1}} | {{#var:material}} ||{{Q|{{{?Name}}}| Resource 1 Amount || {{Icon Small|{{Q|{{{?Name}}}|Resource 1}} }} }} }} }}<!--- --->{{#if: {{Q|{{{?Name}}}|Resource 2}} | {{#ifeq: {{Q|{{{?Name}}}|Resource 2}} | {{#var:material}} || {{Q|{{{?Name}}}| Resource 2 Amount || {{Icon Small|{{Q|{{{?Name}}}|Resource 2}} }} }} }} }}<!--- --->{{#if: {{Q|{{{?Name}}}|Resource 3}} | {{#ifeq: {{Q|{{{?Name}}}|Resource 3}} | {{#var:material}} || {{Q|{{{?Name}}}| Resource 3 Amount || {{Icon Small|{{Q|{{{?Name}}}|Resource 3}} }} }} }} }}<!--- --->{{#if: {{Q|{{{?Name}}}|Resource 4}} | {{#ifeq: {{Q|{{{?Name}}}|Resource 4}} | {{#var:material}} || {{Q|{{{?Name}}}| Resource 4 Amount || {{Icon Small|{{Q|{{{?Name}}}|Resource 4}} }} }} }} }}<!--- --->{{#if: {{Q|{{{?Name}}}|Resource 5}} | {{#ifeq: {{Q|{{{?Name}}}|Resource 5}} | {{#var:material}} || {{Q|{{{?Name}}}| Resource 5 Amount || {{Icon Small|{{Q|{{{?Name}}}|Resource 5}} }} }} }} }}<!--- --->{{#if: {{Q|{{{?Name}}}|Resource 6}} | {{#ifeq: {{Q|{{{?Name}}}|Resource 6}} | {{#var:material}} || {{Q|{{{?Name}}}| Resource 6 Amount || {{Icon Small|{{Q|{{{?Name}}}|Resource 6}} }} }} }} }} }} {{#vardefine:workfactor | {{#if: {{Q|{{#var:material}}|Work To Build Factor}} | {{Q|{{#var:material}}|Work To Build Factor}} | 1 }} }} ! style="text-align: left" | [[{{{?Name}}}]] {{#ifeq: {{Q|{{{?Name}}}|From DLC}} | Royalty (DLC) |{{RoyaltyIcon}} }}{{#ifeq: {{Q|{{{?Name}}}|From DLC}} | Ideology (DLC) |{{IdeologyIcon}} }} | {{#var:amount}} {{Icon Small|{{#var:material}}}} {{#ifeq: {{{?Stuff}}} | true | ({{Q|{{{?Name}}}|Resource 1 Amount}} {{Icon Small|Stuff}}) }} | {{#ifeq: {{#var:others}} || - | {{#var:others}} }} | {{ticks/minutes|{{Q|{{{?Name}}}|Work To Make}}*{{#var:workfactor}} }} | {{#var:skill}} | {{#ifeq: {{{?Stuff}}} | true | {{Market Value Calculator|{{{?Name}}}|{{#var:material}}}} | {{Q|{{{?Name}}}|Market Value Base}} }} {{Icon Small|silver}} | {{#var:multiplier}} | {{ticks/seconds|{{#expr:{{formatnum:{{Q|{{{?Name}}}|Work To Make}}|R}}*{{#var:workfactor}}/({{#var:multiplier}}*{{Market Value Calculator|{{{?Name}}}|{{#var:material}}}})round2}}}} | {{#expr:{{Q|{{{?Name}}}|Resource 1 Amount}}/({{#var:multiplier}}*{{Market Value Calculator|{{{?Name}}}|{{#var:material}}}})round2}} | {{#ifeq: {{{?Sellable}}} | true | [[File:check.png|16px]] | [[File:ex.png|16px]] }} |-