Template:Uline/doc: Difference between revisions
Template page
More actions
Created page with "{{Documentation subpage}} This template is used to generate a wide underline beneath a span of text. Note that per accessibility guidelines, this should not be used as primary method for conveying information. == Usage == By default, the colour is {{legend0|#00F}}<code>#00F</code>. To modify the colour, use {{para|c|''colour''}} where <code>''colour''</code> is the name or hex code for the colour. By default, the width of the underline is <code>2..." |
(No difference)
|
Latest revision as of 09:53, 17 February 2025
This is a documentation subpage for Template:Uline. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used to generate a wide underline beneath a span of text.
Note that per accessibility guidelines, this should not be used as primary method for conveying information.
Usage
By default, the colour is #00F
. To modify the colour, use |c=colour
where colour
is the name or hex code for the colour.
By default, the width of the underline is 2px
. To modify the width, use |w=width
where width
is the width in px units.
Examples
{{Uline|text}}
→ text{{Uline|c=#f00|text}}
→ text{{Uline|c=black|w=5|text}}
→ text
See also
- {{underline}} – single underline
- {{uuline}} – double underline
- MOS:BADEMPHASIS