• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Simple bar

  • Template
  • Talk
  • Language
  • Watch
  • Edit
Template documentation[view] [edit] [history] [purge]

Usage

edit
{{Simple bar
| number
| max        = 
| width      = 
| height     = 
| text-size  = 
| text-color = 
| bar-color  = 
}}
{{Simple bar|number|width= |height= |max= |text-size= |text-color= |bar-color=}}
Parameter name Description Default Notes
The value to display. 50 REQUIRED
max The maximum value for the bar. 100
width The width of the bar, in pixels. 200
height The height of the bar, in pixels. 15
text-size If set to a non-zero value, it causes the value to be displayed over the bar. The font size of the text is the value of text-size. 0
text-color The color of the text. #000000
bar-color The color of the bar. #ffa500

Example

edit

{{Simple bar|500|width=400|max=1000|height=20|text-size=12|text-color=white|bar-color=red}}

500
The above documentation is transcluded from Template:Simple bar/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Simple_bar&oldid=832822547"
Last edited on 28 March 2018, at 05:22

Languages

    • 한국어
    • 中文
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 28 March 2018, at 05:22 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop