Difference between revisions of "Template:Hit Point Market Value Inverse/relative/quality table"
Jump to navigation
Jump to search
(doc) |
(first step: the template creates the whole row now) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{{1|}}} {{ | + | <includeonly><!-- |
− | | {{ | + | |
− | | {{ | + | VARIABLES |
− | | {{ | + | -->{{#vardefine:sellFactor | {{#ifeq: {{Q|{{{1}}}|Type2}} | Weapons | 0.2 |1}} }}<!-- |
− | | {{ | + | -->{{#vardefine:materialValue | {{#expr: 0 |
− | | {{Hit Point Market Value Inverse/relative|{{{1|}}}|{{{ | + | {{#switch: {{Q|{{{1}}}|Resource 1}} | Advanced component | Chemfuel | Component | = | Gold | Silver = + {{Q|{{{1}}}|Resource 1 Amount}} * 0.25 * {{Q|{{Q|{{{1}}}|Resource 1}}|Market Value Base}} / 10 | #default = + {{Q|{{{1}}}|Resource 1 Amount}} * 0.25 * {{Q|{{Q|{{{1}}}|Resource 1}}|Market Value Base}} }} |
− | + | {{#switch: {{Q|{{{1}}}|Resource 2}} | Advanced component | Chemfuel | Component | = | Gold | Silver = + {{Q|{{{1}}}|Resource 2 Amount}} * 0.25 * {{Q|{{Q|{{{1}}}|Resource 2}}|Market Value Base}} / 10 | #default = + {{Q|{{{1}}}|Resource 2 Amount}} * 0.25 * {{Q|{{Q|{{{1}}}|Resource 2}}|Market Value Base}} }} | |
− | + | {{#switch: {{Q|{{{1}}}|Resource 3}} | Advanced component | Chemfuel | Component | = | Gold | Silver = + {{Q|{{{1}}}|Resource 3 Amount}} * 0.25 * {{Q|{{Q|{{{1}}}|Resource 3}}|Market Value Base}} / 10 | #default = + {{Q|{{{1}}}|Resource 3 Amount}} * 0.25 * {{Q|{{Q|{{{1}}}|Resource 3}}|Market Value Base}} }} | |
+ | {{#switch: {{Q|{{{1}}}|Resource 4}} | Advanced component | Chemfuel | Component | = | Gold | Silver = + {{Q|{{{1}}}|Resource 4 Amount}} * 0.25 * {{Q|{{Q|{{{1}}}|Resource 4}}|Market Value Base}} / 10 | #default = + {{Q|{{{1}}}|Resource 4 Amount}} * 0.25 * {{Q|{{Q|{{{1}}}|Resource 4}}|Market Value Base}} }} | ||
+ | {{#switch: {{Q|{{{1}}}|Resource 5}} | Advanced component | Chemfuel | Component | = | Gold | Silver = + {{Q|{{{1}}}|Resource 5 Amount}} * 0.25 * {{Q|{{Q|{{{1}}}|Resource 5}}|Market Value Base}} / 10 | #default = + {{Q|{{{1}}}|Resource 5 Amount}} * 0.25 * {{Q|{{Q|{{{1}}}|Resource 5}}|Market Value Base}} }} | ||
+ | {{#switch: {{Q|{{{1}}}|Resource 6}} | Advanced component | Chemfuel | Component | = | Gold | Silver = + {{Q|{{{1}}}|Resource 6 Amount}} * 0.25 * {{Q|{{Q|{{{1}}}|Resource 6}}|Market Value Base}} / 10 | #default = + {{Q|{{{1}}}|Resource 6 Amount}} * 0.25 * {{Q|{{Q|{{{1}}}|Resource 6}}|Market Value Base}} }} | ||
+ | }} }}<!-- | ||
+ | |||
+ | TABLE ROW | ||
+ | --> | ||
+ | |- | ||
+ | ! data-sort-value="{{{1}}}" | {{DLC Icons| {{{1}}} }} | ||
+ | | {{Icon Small|{{Q|{{{1}}}|Resource 1}} }} {{#expr: {{Q|{{{1}}}|Resource 1 Amount}} * 0.25 round 2}}<!-- | ||
+ | -->{{#switch: {{Q|{{{1}}}|Resource 2}} | Advanced component | Chemfuel | Component | = | Gold | Silver = + {{Icon Small|{{Q|{{{1}}}|Resource 2}} }} {{#expr: {{Q|{{{1}}}|Resource 2 Amount}} * 0.25 / 10 round 2}} | #default = + {{Icon Small|{{Q|{{{1}}}|Resource 2}} }} {{#expr: {{Q|{{{1}}}|Resource 2 Amount}} * 0.25 round 2}} }}<!-- | ||
+ | -->{{#switch: {{Q|{{{1}}}|Resource 3}} | Advanced component | Chemfuel | Component | = | Gold | Silver = + {{Icon Small|{{Q|{{{1}}}|Resource 3}} }} {{#expr: {{Q|{{{1}}}|Resource 3 Amount}} * 0.25 / 10 round 2}} | #default = + {{Icon Small|{{Q|{{{1}}}|Resource 3}} }} {{#expr: {{Q|{{{1}}}|Resource 3 Amount}} * 0.25 round 2}} }}<!-- | ||
+ | -->{{#switch: {{Q|{{{1}}}|Resource 4}} | Advanced component | Chemfuel | Component | = | Gold | Silver = + {{Icon Small|{{Q|{{{1}}}|Resource 4}} }} {{#expr: {{Q|{{{1}}}|Resource 4 Amount}} * 0.25 / 10 round 2}} | #default = + {{Icon Small|{{Q|{{{1}}}|Resource 4}} }} {{#expr: {{Q|{{{1}}}|Resource 4 Amount}} * 0.25 round 2}} }}<!-- | ||
+ | -->{{#switch: {{Q|{{{1}}}|Resource 5}} | Advanced component | Chemfuel | Component | = | Gold | Silver = + {{Icon Small|{{Q|{{{1}}}|Resource 5}} }} {{#expr: {{Q|{{{1}}}|Resource 5 Amount}} * 0.25 / 10 round 2}} | #default = + {{Icon Small|{{Q|{{{1}}}|Resource 5}} }} {{#expr: {{Q|{{{1}}}|Resource 5 Amount}} * 0.25 round 2}} }}<!-- | ||
+ | -->{{#switch: {{Q|{{{1}}}|Resource 6}} | Advanced component | Chemfuel | Component | = | Gold | Silver = + {{Icon Small|{{Q|{{{1}}}|Resource 6}} }} {{#expr: {{Q|{{{1}}}|Resource 6 Amount}} * 0.25 / 10 round 2}} | #default = + {{Icon Small|{{Q|{{{1}}}|Resource 6}} }} {{#expr: {{Q|{{{1}}}|Resource 6 Amount}} * 0.25 round 2}} }} | ||
+ | | {{#var:materialValue}} {{Icon Small|silver}} | ||
+ | {{#ifeq: {{Q|{{{1}}}|Has Quality}} | false | ||
+ | | {{!}} – {{!!}} – {{!!}} {{Hit Point Market Value Inverse/relative| {{#var:materialValue}} | {{{1}}} || {{#var:sellFactor}} }} {{!!}} – {{!!}} – {{!!}} – {{!!}} – | ||
+ | | {{!}} {{Hit Point Market Value Inverse/relative| {{#var:materialValue}} | {{{1}}} | Awful | {{#var:sellFactor}} }} | ||
+ | {{!}} {{Hit Point Market Value Inverse/relative| {{#var:materialValue}} | {{{1}}} | Poor | {{#var:sellFactor}} }} | ||
+ | {{!}} {{Hit Point Market Value Inverse/relative| {{#var:materialValue}} | {{{1}}} | Normal | {{#var:sellFactor}} }} | ||
+ | {{!}} {{Hit Point Market Value Inverse/relative| {{#var:materialValue}} | {{{1}}} | Good | {{#var:sellFactor}} }} | ||
+ | {{!}} {{Hit Point Market Value Inverse/relative| {{#var:materialValue}} | {{{1}}} | Excellent | {{#var:sellFactor}} }} | ||
+ | {{!}} {{Hit Point Market Value Inverse/relative| {{#var:materialValue}} | {{{1}}} | Masterwork | {{#var:sellFactor}} }} | ||
+ | {{!}} {{Hit Point Market Value Inverse/relative| {{#var:materialValue}} | {{{1}}} | Legendary | {{#var:sellFactor}} }} | ||
+ | }}</includeonly><noinclude> | ||
+ | |||
+ | {| {{STDT|sortable c_06 text-center}} | ||
+ | ! Name !! Material Return<br/>(on average) !! Material Value !! Awful Sale Value !! Poor Sale Value !! Normal Sale Value !! Good Sale Value !! Excellent Sale Value !! Masterwork Sale Value !! Legendary Sale Value | ||
+ | {{Hit Point Market Value Inverse/relative/quality table|Autopistol}} | ||
+ | {{Hit Point Market Value Inverse/relative/quality table|Prestige recon armor}} | ||
+ | {{Hit Point Market Value Inverse/relative/quality table|EMP grenades}} | ||
+ | |} | ||
+ | |||
+ | {{Documentation|Template:Hit Point Market Value Inverse/relative/doc}} | ||
+ | [[Category:Customized table templates]] | ||
+ | </noinclude> |
Revision as of 16:45, 16 January 2024
Name | Material Return (on average) |
Material Value | Awful Sale Value | Poor Sale Value | Normal Sale Value | Good Sale Value | Excellent Sale Value | Masterwork Sale Value | Legendary Sale Value |
---|---|---|---|---|---|---|---|---|---|
Autopistol | 7.5 | 14.25 | 14 (never) | 20.8 (71.1%) | 27.8 (60.8%) | 34.8 (57.7%) | 42 (56.0%) | 69 (52.7%) | 139 (50.1%) |
Prestige recon armor | 25 + 2.5 + 2.25 | 262.5 | 985 (54.2%) | 1480 (51.9%) | 1975 (50.8%) | 2470 (50.2%) | 2960 (44.3%) | 3975 (33.0%) | 4975 (26.4%) |
EMP grenades | 5 | 9.5 | – | – | 63 (51.3%) | – | – | – | – |
{{Hit Point Market Value Inverse/relative|target|item_name|quality|sell_modifier (default 1)}}
Examples
{{Hit Point Market Value Inverse/relative|20.9|Machine pistol|good|0.2}}
The above documentation is transcluded from Template:Hit Point Market Value Inverse/relative/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |