Template:Percentagebar/doc: Difference between revisions
Jump to navigation
Jump to search
Deleted User (talk | contribs) (→Usage) |
Deleted User (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
* {{t|Percentagebar|50}} → {{Percentagebar|50}} | * {{t|Percentagebar|50}} → {{Percentagebar|50}} | ||
* {{t|Percentagebar|50|label}} → {{Percentagebar|50|label}} | * {{t|Percentagebar|50|label}} → {{Percentagebar|50|label}} | ||
* {{t| | * {{t|Percentagebar|50{{!}}}} → {{Percentagebar|50|}} | ||
* {{t|Percentagebar|50{{!}}|FF0000}} → {{ | * {{t|Percentagebar|50{{!}}|FF0000}} → {{Percentagebar|50||FF0000}} | ||
* {{t|Percentagebar|50|hex{{=}}FF0000}} → {{ | * {{t|Percentagebar|50|hex{{=}}FF0000}} → {{Percentagebar|50|hex=FF0000}} | ||
* {{t|Percentagebar|50|c{{=}}red}} → {{ | * {{t|Percentagebar|50|c{{=}}red}} → {{Percentagebar|50|c=red}} | ||
* {{t|Percentagebar|50||hex{{=}}FF0000}} → {{ | * {{t|Percentagebar|50||hex{{=}}FF0000}} → {{Percentagebar|50||hex=FF0000}} | ||
* {{t|Percentagebar|50||c{{=}}red}} → {{ | * {{t|Percentagebar|50||c{{=}}red}} → {{Percentagebar|50||c=red}} | ||
* {{t|Percentagebar|0}} → {{ | * {{t|Percentagebar|0}} → {{Percentagebar|0}} | ||
* {{t|Percentagebar|100}} → {{ | * {{t|Percentagebar|100}} → {{Percentagebar|100}} | ||
* {{t|Percentagebar|50|width{{=}}200}} → {{ | * {{t|Percentagebar|50|width{{=}}200}} → {{Percentagebar|50|width=200}} | ||
;Relative width | ;Relative width | ||
* {{t|Percentagebar|50|width{{=}}25%}} → {{ | * {{t|Percentagebar|50|width{{=}}25%}} → {{Percentagebar|50|width=25%}} | ||
* {{t|Percentagebar|50|width{{=}}55%}} → {{ | * {{t|Percentagebar|50|width{{=}}55%}} → {{Percentagebar|50|width=55%}} | ||
* {{t|Percentagebar|50|width{{=}}75%}} → {{ | * {{t|Percentagebar|50|width{{=}}75%}} → {{Percentagebar|50|width=75%}} | ||
* {{t|Percentagebar|50|width{{=}}100%}} → {{ | * {{t|Percentagebar|50|width{{=}}100%}} → {{Percentagebar|50|width=100%}} | ||
Other | Other | ||
* {{t|Percentagebar|50.5}} → {{ | * {{t|Percentagebar|50.5}} → {{Percentagebar|50.5}} | ||
* {{t|Percentagebar|50.5|width{{=}}100%}} → {{ | * {{t|Percentagebar|50.5|width{{=}}100%}} → {{Percentagebar|50.5|width=100%}} |
Revision as of 00:11, 27 August 2022
Template:Documentation subpage
Usage
{{Percentagebar|
→50
}}50%{{Percentagebar|
→50
|label
}}label%{{Percentagebar|
→50|
}}%{{Percentagebar|
→50|
|FF0000
}}%{{Percentagebar|
→50
|hex=FF0000
}}50%{{Percentagebar|
→50
|c=red
}}50%{{Percentagebar|
→50
|hex=FF0000
}}%{{Percentagebar|
→50
|c=red
}}%{{Percentagebar|
→0
}}0%{{Percentagebar|
→100
}}100%{{Percentagebar|
→50
|width=200
}}50%
- Relative width
{{Percentagebar|
→50
|width=25%
}}<div style="position: absolute; background-color:#DBDBDB; width: Expression error: Unrecognized punctuation character "%".px; height: 1.5em;">50%{{Percentagebar|
→50
|width=55%
}}<div style="position: absolute; background-color:#DBDBDB; width: Expression error: Unrecognized punctuation character "%".px; height: 1.5em;">50%{{Percentagebar|
→50
|width=75%
}}<div style="position: absolute; background-color:#DBDBDB; width: Expression error: Unrecognized punctuation character "%".px; height: 1.5em;">50%{{Percentagebar|
→50
|width=100%
}}<div style="position: absolute; background-color:#DBDBDB; width: Expression error: Unrecognized punctuation character "%".px; height: 1.5em;">50%
Other
{{Percentagebar|
→50.5
}}50.5%{{Percentagebar|
→50.5
|width=100%
}}<div style="position: absolute; background-color:#DBDBDB; width: Expression error: Unrecognized punctuation character "%".px; height: 1.5em;">50.5%