Difference between revisions of "Template:Bu/doc"

From MidrangeWiki
Jump to: navigation, search
m (Examples: expand example to include optional 2nd parameter)
m (Usage: added syntax for 2nd optional parameter)
Line 7: Line 7:
 
== Usage ==
 
== Usage ==
 
<pre>
 
<pre>
{{bu|letter(s) to emphasize}}
+
{{ bu | letter(s) to emphasize}}
 +
</pre>
 +
<pre>
 +
{{ bu | letter(s) to emphasize | optional letter(s) to not emphasize }}
 
</pre>
 
</pre>
 
:''Note that case is preserved and not automatically converted to uppercase.''
 
:''Note that case is preserved and not automatically converted to uppercase.''
 +
 
== Examples ==
 
== Examples ==
 
{|  
 
{|  

Revision as of 21:09, 26 January 2007

48px This is the template documentation page for {{Bu}}.
It is not intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.

Documentation

{{bu}} is a shorthand notation to make the passed parameter text emphasized with both big and underlined. It is most useful when defining an acronym.

Bu/doc stands for Big Underlined.

Usage

{{ bu | letter(s) to emphasize}}
{{ bu | letter(s) to emphasize | optional letter(s) to not emphasize }}
Note that case is preserved and not automatically converted to uppercase.

Examples

Code Result
Single parameter, single letter
{{bu|D}}edicated {{bu|S}}ervice {{bu|T}}ools
Dedicated Service Tools
Single parameter, multiple letters
{{bu|QuI}}ck {{bu|BrO}}wn {{bu|F}}ox.
QuIck BrOwn Fox.
Optional second parameter, multiple letters
{{bu|QuI|ck}} {{bu|BrO|wn}} {{bu|F|ox}}.
QuIck BrOwn Fox.