Template:Percentagebar/doc: Difference between revisions
Jump to navigation
Jump to search
Deleted User (talk | contribs) No edit summary |
Deleted User (talk | contribs) No edit summary Tag: Reverted |
||
Line 16: | Line 16: | ||
;Relative width | ;Relative width | ||
* {{t|Percentagebar|50|width | * {{t|Percentagebar|50|width=25%}} → {{Percentagebar|50|width=25%}} | ||
* {{t|Percentagebar|50|width{{=}}55%}} → {{Percentagebar|50|width=55%}} | * {{t|Percentagebar|50|width{{=}}55%}} → {{Percentagebar|50|width=55%}} | ||
* {{t|Percentagebar|50|width{{=}}75%}} → {{Percentagebar|50|width=75%}} | * {{t|Percentagebar|50|width{{=}}75%}} → {{Percentagebar|50|width=75%}} |
Revision as of 00:18, 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
}}<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%