- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
Template:PVm
(view - edit - history - purge) Documentation
Usage
Input value -> a (default 50)
Max value -> b (default 100)
Filled square color -> y (default #ff5)
Half-filled square color -> z (default #dd0)
Other parameters include advStyle (default empty), height (default 6) and stretch (default 35).
{{PVm|a|b|y|z}}
Input | Output (On black background) |
---|---|
{{PVm}} | <span style="height:6px; background:#dd0; background:-webkitExpression error: Unexpected = operator.( linear, left bottom, right bottomExpression error: Unexpected = operator. ); float:left;padding:0; margin:0; text-align:right;"> |
{{PVm|25|100|#fff|#ddd|height=12}} | <span style="width:1%;height:12px; background:#ddd; background:-webkitExpression error: Unexpected = operator.( linear, left bottom, right bottomExpression error: Unexpected = operator. ); float:left;padding:0; margin:0; text-align:right;"> |
{{PVm}} {{PVm|3550|10000|advStyle=height:6px;}} {{PVm|1550|10000|advStyle=height:12px;}} |
<span style="height:6px; background:#dd0; background:-webkitExpression error: Unexpected = operator.( linear, left bottom, right bottomExpression error: Unexpected = operator. ); float:left;padding:0; margin:0; text-align:right;"><span style="width:1%;height:6px; background:#dd0; background:-webkitExpression error: Unexpected = operator.( linear, left bottom, right bottomExpression error: Unexpected = operator. ); float:left;padding:0; margin:0; text-align:right;"><span style="width:1%;height:6px; background:#dd0; background:-webkitExpression error: Unexpected = operator.( linear, left bottom, right bottomExpression error: Unexpected = operator. ); float:left;padding:0; margin:0; text-align:right;"> |
{{PVm|45|100|#000|#f00|height=15}} | <span style="width:1%;height:15px; background:#f00; background:-webkitExpression error: Unexpected = operator.( linear, left bottom, right bottomExpression error: Unexpected = operator. ); float:left;padding:0; margin:0; text-align:right;"> |