Template:Underline/doc
| This is a documentation subpage for Template:Underline. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses a See H:DIVSPAN for details. |
Usage
[edit source]This template simplifies formatting text that is underlined.
- Short form
- {{u}} redirects here. Use this shorter form if you prefer.
Examples
[edit source]{{Underline|underlined text}}
- underlined text
{{u|underlined text}}
- underlined text
{{u|underlined text|5px}}
- underlined text
{{u|underlined text|color=lime}}
- underlined text
See also
[edit source]- {{Double underline}}
- {{uhtml}}, for semantically marked text that means there is an unmarked stress
<templatedata>
{
"params": {
"1": {
"label": "1",
"description": "Text to be underlined.",
"type": "content",
"required": true
},
"2": {
"label": "2",
"description": "Thickness of the underlining to be applied.",
"suggested": true
},
"color": {},
"linestyle": {
"label": "linestyle",
"description": "CSS linestyle option to apply (if any)",
"suggestedvalues": [
"dashed",
"dotted"
]
}
},
"format": "inline",
"description": "Format text with an underline."
}
</templatedata>