Difference between revisions of "Template:Underline/doc"
From Summertime Saga Wiki
(Created page with "This template formats a span of text using {{tag|span|params=style="text-decoration: underline;"}}. This adds underlining without the semantics of {{tag|u}}. {|class=wikitabl...") |
m |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | 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}}. | |
− | {|class=wikitable | + | == Usage == |
+ | |||
+ | : {{tlg|code=yes|nolink=yes|underline|{{var|text}}}} | ||
+ | |||
+ | == Example == | ||
+ | |||
+ | {|class=wikitable style="width:100%;" | ||
! Markup | ! Markup | ||
! Renders as | ! Renders as | ||
|- | |- | ||
− | | | + | | {{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}} | ||
|} | |} | ||
− | [[Category: | + | [[Category:Templates]] |
+ | [[Category:Templates documentation]] |
Latest revision as of 17: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 |