Template:Percentagebar/doc: Difference between revisions

From FasciPedia
Jump to navigation Jump to search
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|Percentage bar|50{{!}}}} → {{Percentage bar|50|}}
* {{t|Percentagebar|50{{!}}}} → {{Percentagebar|50|}}
* {{t|Percentagebar|50{{!}}|FF0000}} → {{Percentage bar|50||FF0000}}
* {{t|Percentagebar|50{{!}}|FF0000}} → {{Percentagebar|50||FF0000}}
* {{t|Percentagebar|50|hex{{=}}FF0000}} → {{Percentage bar|50|hex=FF0000}}
* {{t|Percentagebar|50|hex{{=}}FF0000}} → {{Percentagebar|50|hex=FF0000}}
* {{t|Percentagebar|50|c{{=}}red}} → {{Percentage bar|50|c=red}}
* {{t|Percentagebar|50|c{{=}}red}} → {{Percentagebar|50|c=red}}
* {{t|Percentagebar|50||hex{{=}}FF0000}} → {{Percentage bar|50||hex=FF0000}}
* {{t|Percentagebar|50||hex{{=}}FF0000}} → {{Percentagebar|50||hex=FF0000}}
* {{t|Percentagebar|50||c{{=}}red}} → {{Percentage bar|50||c=red}}
* {{t|Percentagebar|50||c{{=}}red}} → {{Percentagebar|50||c=red}}
* {{t|Percentagebar|0}} → {{Percentage bar|0}}
* {{t|Percentagebar|0}} → {{Percentagebar|0}}
* {{t|Percentagebar|100}} → {{Percentage bar|100}}
* {{t|Percentagebar|100}} → {{Percentagebar|100}}
* {{t|Percentagebar|50|width{{=}}200}} → {{Percentage bar|50|width=200}}
* {{t|Percentagebar|50|width{{=}}200}} → {{Percentagebar|50|width=200}}


;Relative width
;Relative width
* {{t|Percentagebar|50|width{{=}}25%}} → {{Percentage bar|50|width=25%}}
* {{t|Percentagebar|50|width{{=}}25%}} → {{Percentagebar|50|width=25%}}
* {{t|Percentagebar|50|width{{=}}55%}} → {{Percentage bar|50|width=55%}}
* {{t|Percentagebar|50|width{{=}}55%}} → {{Percentagebar|50|width=55%}}
* {{t|Percentagebar|50|width{{=}}75%}} → {{Percentage bar|50|width=75%}}
* {{t|Percentagebar|50|width{{=}}75%}} → {{Percentagebar|50|width=75%}}
* {{t|Percentagebar|50|width{{=}}100%}} → {{Percentage bar|50|width=100%}}
* {{t|Percentagebar|50|width{{=}}100%}} → {{Percentagebar|50|width=100%}}


Other
Other
* {{t|Percentagebar|50.5}} → {{Percentage bar|50.5}}
* {{t|Percentagebar|50.5}} → {{Percentagebar|50.5}}
* {{t|Percentagebar|50.5|width{{=}}100%}} → {{Percentage bar|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

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%