Difference between revisions of "Template:Bu"

From MidrangeWiki
Jump to: navigation, search
m (creating documentation sub-page)
m (add optional parameter 2 for regular text)
 
Line 1: Line 1:
<big><u>{{{1}}}</u></big><noinclude>
+
<big><u>{{{1}}}</u></big>{{ #if:  {{{2|}}} | {{{2}}} | }}<noinclude>
 
{{{{FULLPAGENAME}}/doc}}
 
{{{{FULLPAGENAME}}/doc}}
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 21:05, 26 January 2007

{{{1}}}


The template documentation below is transcluded from Template:Bu/doc [edit]

Documentation

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

An optional second parameter text can be included for non-emphasized text, which can make text entry simpler.

Bu stands for Big Underlined.

Usage

{{ bu | letter(s) to emphasize }} optional letter(s) to not 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.