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/doc"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
m
Line 9: Line 9:
  
 
{| style="margin:1em 1em 1em 0;background:#F9F9F9;border:1px #AAA solid;border-collapse:collapse;" class="unsortable"
 
{| style="margin:1em 1em 1em 0;background:#F9F9F9;border:1px #AAA solid;border-collapse:collapse;" class="unsortable"
|- style="background:#F2F2F2;text-align:center;"
+
|- style="background:#F2F2F2;"
 
!style="border:1px #AAA solid;padding:0em;background:#77aaee"|Input
 
!style="border:1px #AAA solid;padding:0em;background:#77aaee"|Input
!style="border:1px #AAA solid;padding:0em;"|Output (font-size 50% on black background)
+
!style="border:1px #AAA solid;padding:0em;"|Output (On black background)
 
|-
 
|-
 
|style="border:1px #AAA solid;padding:0.2em; background:lightblue;text-align:center;font-size: 130%;"|<nowiki>{{PVm}}</nowiki>
 
|style="border:1px #AAA solid;padding:0.2em; background:lightblue;text-align:center;font-size: 130%;"|<nowiki>{{PVm}}</nowiki>
Line 19: Line 19:
 
|style="border:1px #AAA solid;padding:0em;font-size: 50%;font-family: 'Century', monospace; background: black;text-align:center;"|{{PVm|25|100}}
 
|style="border:1px #AAA solid;padding:0em;font-size: 50%;font-family: 'Century', monospace; background: black;text-align:center;"|{{PVm|25|100}}
 
|-
 
|-
|style="border:1px #AAA solid;padding:0.2em; background:lightblue;text-align:center;font-size: 130%;"|<nowiki>{{PVm|1550|10000|7:7:1|7:7:0}}</nowiki>
+
|style="border:1px #AAA solid;padding:0.2em; background:lightblue;text-align:center;font-size: 130%;"|<nowiki>{{PVm|1550|10000|#fff|#ddd}}</nowiki>
|style="border:1px #AAA solid;padding:0em;font-size: 50%;font-family: 'Century', monospace; background: black;text-align:center;"|{{PVm|1550|10000|7:7:1|7:7:0}}
+
|style="border:1px #AAA solid;padding:0em;font-size: 50%;font-family: 'Century', monospace; background: black;text-align:center;"|{{PVm|1550|10000|#fff|#ddd}}
 
|-
 
|-
|style="border:1px #AAA solid;padding:0.2em; background:lightblue;text-align:center;font-size: 130%;"|<nowiki>{{PVm|45|100|0:0:1|4:0:1}}</nowiki>
+
|style="border:1px #AAA solid;padding:0.2em; background:lightblue;text-align:center;font-size: 130%;"|<nowiki>{{PVm|45|100|#000|#f00}}</nowiki>
|style="border:1px #AAA solid;padding:0em;font-size: 50%;font-family: 'Century', monospace; background: black;text-align:center;"|{{PVm|45|100|0:0:1|4:0:1}}
+
|style="border:1px #AAA solid;padding:0em;font-size: 50%;font-family: 'Century', monospace; background: black;text-align:center;"|{{PVm|45|100|0:0:1|#f00}}
 
|}
 
|}

Revision as of 06:00, 14 April 2011

Usage

Input value -> a (default 50)
Max value -> b (default 100)
Filled square color -> y (default 6:0:1)
Half-filled square color -> z (default #bb0)
Other parameters include advStyle (default empty), height (default 6) and width (default 35%).

 {{PVm|a|b|y|z}} 


Input Output (On black background)
{{PVm}}

 

 

{{PVm|25|100}}

 

 

{{PVm|1550|10000|#fff|#ddd}}

 

 

{{PVm|45|100|#000|#f00}}