Template:Percentagebar/doc: Difference between revisions

From FasciPedia
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 17: Line 17:
;Relative width
;Relative width
* {{t|Percentagebar|50|width=25%}} → {{Percentagebar|50|width=25%}}
* {{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%}}
* {{t|Percentagebar|50|width{{=}}100%}} → {{Percentagebar|50|width=100%}}
* {{t|Percentagebar|50|width{{=}}100%}} → {{Percentagebar|50|width=100%}}

Revision as of 00:19, 27 August 2022

Template:Documentation subpage

Usage

Relative width
  • {{Percentagebar|50}}
    <div style="position: absolute; background-color:#DBDBDB; width: Expression error: Unrecognized punctuation character "%".px; height: 1.5em;">
    50%
  • {{Percentagebar|50}}
    <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%