Difference between revisions of "Template:Hit Point Market Value Inverse/relative"
Jump to navigation
Jump to search
(simplification) |
(added support for material) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefineecho:sellValue | {{#expr: {{Market Value Calculator|{{{2|}}}||{{{3|}}} }} * {{#if: {{{4|}}}|{{{4|}}}|1}} }} }} {{Icon Small|silver}} ({{#ifeq: {{#vardefineecho:fraction | {{Hit Point Market Value Inverse|{{{1|}}}|{{#var:sellValue}} }} }} | never | + | <includeonly>{{#vardefineecho:sellValue | {{#expr: {{Market Value Calculator|{{{2|}}}|{{{5|}}}|{{{3|}}} }} * {{#if: {{{4|}}}|{{{4|}}}|1}} }} }} {{Icon Small|silver}} ({{#ifeq: {{#vardefineecho:fraction | {{Hit Point Market Value Inverse|{{{1|}}}|{{#var:sellValue}} }} }} | never |
− | | never | + | | never) |
− | | {{padright:{{#expr: ({{#var:fraction}} * 100) round 1}}|4|.0}}% | + | | {{padright:{{#expr: ({{#var:fraction}} * 100) round 1}}|4|.0}}%) |
− | }} | + | }}</includeonly><noinclude> |
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 18:32, 16 January 2024
{{Hit Point Market Value Inverse/relative|target|item_name|quality|sell_modifier (default 1)}}
Examples[edit]
{{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. Please add categories to the /doc subpage. Subpages of this template. |