v50 Steam/Premium information for editors
- 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.
This notice may be cached—the current version can be found here.
Difference between revisions of "Template:PVm"
Jump to navigation
Jump to search
m |
m |
||
(58 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly><p style="{{{advStyle|}}}overflow:hidden; width:{{{stretch|35}}}%;"> |
− | + | <span style="width:{{#expr:({{{1|50}}}/{{{2|100}}})*100}}%; height:{{{height|6}}}px; background:{{{3|#ff5}}}; float:left; padding:0; margin:0;"> </span> | |
− | + | <span style=" | |
− | + | background: | |
− | + | -webkit linear, left bottom, right bottom | |
− | + | ); | |
− | + | float:left;padding:0; margin:0; text-align:right;"> </span></p></includeonly><noinclude>{{documentation}}<noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |35 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{# | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 14:41, 25 July 2011
(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}} |
|
{{PVm|25|100|#fff|#ddd|height=12}} |
|
{{PVm}} {{PVm|3550|10000|advStyle=height:6px;}} {{PVm|1550|10000|advStyle=height:12px;}} |
|
{{PVm|45|100|#000|#f00|height=15}} |
|