Difference between revisions of "Template:Bu"

From MidrangeWiki
Jump to: navigation, search
m (creating template)
 
m (add optional parameter 2 for regular text)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<big><u>{{{1}}}</u></big><noinclude><br>
+
<big><u>{{{1}}}</u></big>{{ #if:  {{{2|}}} | {{{2}}} | }}<noinclude>
----
+
{{{{FULLPAGENAME}}/doc}}
This template, {{AN}}, or Big Underline, is a shorthand notation to make the passed parameter text both <big>big</big> and <u>underlined</u>.  It is most useful when defining an acronym.</noinclude>
+
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 +
</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.