Difference between revisions of "Template:Entity Research Points"
Jump to navigation
Jump to search
(Created page with "{{#expr:{{{min_containment}}}-50}},{{#expr:{{{min_containment}}}-0.001}},{{{min_containment}}},{{#expr:{{{min_containment}}}+100}},{{#expr:{{{min_containment}}}+200}},{{#expr:...") |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{# | + | <includeonly>{{#vardefine:containment|{{#expr:{{{containment|0}}}-{{{min_containment|0}}}}}}}{{#expr:{{#ifexpr:{{#var:containment}}<0|0.5|{{#ifexpr:{{#var:containment}}<100|{{#expr:1+{{#var:containment}}*0.003}}|{{#ifexpr:{{#var:containment}}<200|{{#expr:1.1+{{#var:containment}}*0.002}}|1.5}}}}}}*{{{points|0}}}}}</includeonly><noinclude> |
+ | {{Documentation}} | ||
+ | </noinclude> |
Latest revision as of 11:16, 26 December 2024
Calculates entity research points from the base point, minimum containment, and actual containment.
Code | Result |
---|---|
{{Entity Research Points|points=2|containment=100|min_containment=60}} | 2.24 |
{{Entity Research Points|points=2|containment=60|min_containment=60}} | 2 |
The above documentation is transcluded from Template:Entity Research Points/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. |