Difference between revisions of "Template:Scale"

From Discworld MUD Wiki
Jump to: navigation, search
m (Prettify documentation)
m (Protected "Template:Scale": Autoprotecting high volume page ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>
+
<noinclude>{{documentation}}</noinclude><includeonly>
This is a template for a scale bar.  It creates a horizontal bar with scale ''min'' to ''max'', at the interval spacing provided.
+
 
+
The parameters are:
+
*'''barsize''': Size of skillbar section in pixels (default: 300)
+
*'''scale-min''': Lowest scale value
+
*'''scale-max''': Highest scale value
+
*'''intervals''': Number of intervals in scale (default: 10)
+
 
+
{{documentation}}</noinclude><includeonly>
+
 
{| border="1" style="font-size:80%; border:1px solid darkgray; padding:0px" cellspacing="0" cellpadding="0"
 
{| border="1" style="font-size:80%; border:1px solid darkgray; padding:0px" cellspacing="0" cellpadding="0"
 
  |-
 
  |-

Latest revision as of 17:24, 24 July 2011

[edit]

Documentation
This is a template for a scale bar. It creates a horizontal bar with scale min to max, at the interval spacing provided.

The parameters are:

  • barsize: Size of skillbar section in pixels (default: 300)
  • scale-min: Lowest scale value
  • scale-max: Highest scale value
  • intervals: Number of intervals in scale (default: 10)