Template:Bar: Difference between revisions
Jump to navigation
Jump to search
(font size=14pt in label) |
No edit summary |
||
Line 36: | Line 36: | ||
|9=....:....!....:....!....:....!....:....!....:....!....:....!....:....!....:....! | |9=....:....!....:....!....:....!....:....!....:....!....:....!....:....!....:....! | ||
|10=....:....!....:....!....:....!....:....!....:....!....:....!....:....!....:....!....:....! | |10=....:....!....:....!....:....!....:....!....:....!....:....!....:....!....:....!....:....! | ||
}}</b><br><font size=14pt> | }}</b><br>'''<font size=14pt>{{{n|{{{1|1234}}} }}} {{{things|new score pages this year}}} out of {{{goal|2000}}} {{{after|annual goal}}} ({{#expr: floor ( {{{n|{{{1|1234}}} }}}*10000/{{{goal|2000}}} round 1)/100 }}%)</font></center>'''}}</center></includeonly> | ||
<noinclude> | <noinclude> | ||
{{Bar}} | {{Bar}} |
Revision as of 19:33, 12 October 2014
The text to be displayed goes here; however, you must use <br> (or start a new line) to separate each line of text. centered inside the box by enclosing it in <center> ... </center> |
Creates a bar representing the fraction "<n> <things> out of <goal> <after>". The label defaults are
- n=1234
- things=new score pages this year
- goal=2000
- after=annual goal
Normally this template might be invoked with something like:
{{Bar|{{NewWorkCount}} }} {{Bar|{{#expr: 1+ {{#time: z }}}}|goal=365|things=days elapsed out of|after=}}
These invocations produce:
The text to be displayed goes here; however, you must use <br> (or start a new line) to separate each line of text. centered inside the box by enclosing it in <center> ... </center> |
The text to be displayed goes here; however, you must use <br> (or start a new line) to separate each line of text. centered inside the box by enclosing it in <center> ... </center> |
{{Bar|n=977|goal=800|things=oboes available|after=needed}}
produces:
The text to be displayed goes here; however, you must use <br> (or start a new line) to separate each line of text. centered inside the box by enclosing it in <center> ... </center> |
Note the green color for the 100% already attained.
{{Bar|n=37|goal=60|things=tenors recruited|after=positions available}}
produces:
The text to be displayed goes here; however, you must use <br> (or start a new line) to separate each line of text. centered inside the box by enclosing it in <center> ... </center> |
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |