Template:Bar: Difference between revisions
Jump to navigation
Jump to search
(good to 140%) |
mNo edit summary |
||
Line 38: | Line 38: | ||
|9=....:....!....:....!....:....!....:....!....:....!....:....!....:....!....:....! | |9=....:....!....:....!....:....!....:....!....:....!....:....!....:....!....:....! | ||
|10=....:....!....:....!....:....!....:....!....:....!....:....!....:....!....:....!....:....! | |10=....:....!....:....!....:....!....:....!....:....!....:....!....:....!....:....!....:....! | ||
}} </b><br>'''{{{n|{{{1|1234}}} }}} {{{things|new score pages this year}}} out of {{{goal|2000}}} {{{after|goal}}} ({{#expr: floor ( {{{n|{{{1|1234}}} }}}* | }} </b><br>'''{{{n|{{{1|1234}}} }}} {{{things|new score pages this year}}} out of {{{goal|2000}}} {{{after|goal}}} ({{#expr: floor ( {{{n|{{{1|1234}}} }}}*100000/{{{goal|2000}}} round 1)/1000 }}%)</center>'''}}</center></includeonly> | ||
<noinclude> | <noinclude> | ||
{{Bar}} | {{Bar}} |
Revision as of 03:36, 14 January 2018
1234 new score pages this year out of 2000 goal (61.7%) |
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:
1636 new score pages this year out of 2000 goal (81.8%) |
114 days elapsed out of out of 365 (31.232%) |
{{Bar|n=977|goal=800|things=oboes available|after=needed}}
produces:
977 oboes available out of 800 needed (122.125%) |
Note the green color for the 100% already attained.
{{Bar|n=37|goal=60|things=tenors recruited|after=positions available}}
produces:
37 tenors recruited out of 60 positions available (61.666%) |
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. |