Difference between revisions of "Template:Hit Point Market Value Inverse/relative"
Jump to navigation
Jump to search
(added support for material) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{Market Value Calculator|{{{2}}}||{{{3}}}}} {{Icon Small|silver}} ({{# | + | <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) |
+ | | {{padright:{{#expr: ({{#var:fraction}} * 100) round 1}}|4|.0}}%) | ||
+ | }}</includeonly><noinclude> | ||
+ | {{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. |