Difference between revisions of "Template:UL"

From Ouroboros Portal
Jump to: navigation, search
(+a quick and dirty bit of documentation)
 
Line 9: Line 9:
 
|LU
 
|LU
 
|line  = <span style="border-bottom: 1px solid;">{{{1}}}</span>
 
|line  = <span style="border-bottom: 1px solid;">{{{1}}}</span>
|#default = <u>{{{1}}}</u>}}<noinclude>[[Category:Formatting templates]]</noinclude>
+
|#default = <u>{{{1}}}</u>}}<noinclude>
 +
== Usage and Examples ==
 +
This template can be used to create a few different styles of underline.
 +
 
 +
* By default (no additional parameter) this template will do a regular underline.
 +
** <nowiki>{{UL|Example text!}}</nowiki>, which results in: {{UL|Example text!}}
 +
 
 +
* Using the ''line'' parameter will do a single line under.
 +
** <nowiki>{{UL|Example text!|line}}</nowiki>, which results in: {{UL|Example text!|line}}
 +
** Notice that the line appears below characters with "descenders."
 +
 
 +
* Using the ''dot'' or ''dotted'' parameter will do a dotted line under.
 +
** <nowiki>{{UL|Example text!|dot}}</nowiki>, which results in: {{UL|Example text!|dot}}
 +
 
 +
 
 +
[[Category:Formatting templates]]</noinclude>

Latest revision as of 08:58, 25 July 2012

{{{1}}}

Usage and Examples

This template can be used to create a few different styles of underline.

  • By default (no additional parameter) this template will do a regular underline.
    • {{UL|Example text!}}, which results in: Example text!
  • Using the line parameter will do a single line under.
    • {{UL|Example text!|line}}, which results in: Example text!
    • Notice that the line appears below characters with "descenders."
  • Using the dot or dotted parameter will do a dotted line under.
    • {{UL|Example text!|dot}}, which results in: Example text!