Template:Done: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
m (fix table header color)
m (show that other numbers do work :-)
Line 18: Line 18:


|-
|-
|<code><nowiki>{{done|n=75|bg=#f04040}}</nowiki></code>
|<code><nowiki>{{done|n=35|bg=#f04040}}</nowiki></code>
|{{done|n=75|bg=#f08080}}
|{{done|n=35|bg=#f08080}}


|}
|}

Revision as of 18:18, 17 October 2007

This template implements a progress bar:

  1. The parameter n controls how much percent are displayed as done.
  2. The parameter bg controls the background color.

Example usage

Code Result
{{done|n=75}}
75%
{{done|n=35|bg=#f04040}}
35%