Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Underline/doc: Difference between revisions

Template page
Casiope (talk | contribs)
mNo edit summary
Casiope (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
The template {{tl|underline}} formats a span of text using {{tag|span|params=style="text-decoration:underline;"}}. This adds underlining without the semantics of {{tag|u}}.
The template {{tlg|underline}} formats a span of text using {{tag|span|params=style="text-decoration:underline;"}}. This adds underlining without the semantics of {{tag|u}}.


== Usage ==
== Usage ==


: {{tlc|underline|{{var|text}}}}
: {{tlg|code=yes|nolink=yes|underline|{{var|text}}}}


== Example ==
== Example ==
Line 11: Line 11:
! Renders as
! Renders as
|-
|-
| <code><nowiki>{{underline|Lorem ipsum dolor sit amet, consectetur}}</nowiki></code>
| {{tlg|code=yes|nolink=yes|underline|Lorem ipsum dolor sit amet, consectetur}}
| {{underline|Lorem ipsum dolor sit amet, consectetur}}
| {{underline|Lorem ipsum dolor sit amet, consectetur}}
|}
|}

Latest revision as of 16:06, 21 July 2020

The template {{underline}} formats a span of text using <span style="text-decoration:underline;">…</span>. This adds underlining without the semantics of <u>…</u>.

Usage

{{underline|text}}

Example

Markup Renders as
{{underline|Lorem ipsum dolor sit amet, consectetur}} Lorem ipsum dolor sit amet, consectetur