Template:Uline: Difference between revisions
Template page
More actions
Created page with "<span style="border-bottom:{{{w|2}}}px solid {{{c|#00f}}};">{{{1}}}</span><noinclude> {{Documentation}} </noinclude>" |
(No difference)
|
Latest revision as of 09:53, 17 February 2025
{{{1}}}
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