Template:Percentagebar/doc: Difference between revisions

From FasciPedia
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
Line 16: Line 16:


;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%}}

Revision as of 00:36, 27 August 2022

Template:Documentation subpage

Usage

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%