Difference between revisions of "Template:Hit Point Market Value Inverse/relative"
Jump to navigation
Jump to search
(padright) |
(simplification) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#expr: {{Market Value Calculator|{{{2|}}}||{{{3|}}} }} * {{#if: {{{4|}}}|{{{4|}}}|1}} }} {{Icon Small|silver}} ({{#ifeq: {{Hit Point Market Value Inverse|{{{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 |
+ | | never | ||
+ | | {{padright:{{#expr: ({{#var:fraction}} * 100) round 1}}|4|.0}}% | ||
+ | }})</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 17:08, 16 January 2024
{{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. Please add categories to the /doc subpage. Subpages of this template. |