Difference between revisions of "Template:Bu/doc"
From MidrangeWiki
MrDolomite (talk | contribs) m (better examples using <pre>) |
MrDolomite (talk | contribs) m (→Examples: expand example to include optional 2nd parameter) |
||
Line 14: | Line 14: | ||
! Code | ! Code | ||
! Result | ! Result | ||
+ | |- | ||
+ | | Single parameter, single letter | ||
|- | |- | ||
| <pre>{{bu|D}}edicated {{bu|S}}ervice {{bu|T}}ools</pre> | | <pre>{{bu|D}}edicated {{bu|S}}ervice {{bu|T}}ools</pre> | ||
| {{bu|D}}edicated {{bu|S}}ervice {{bu|T}}ools | | {{bu|D}}edicated {{bu|S}}ervice {{bu|T}}ools | ||
+ | |- | ||
+ | | Single parameter, multiple letters | ||
|- | |- | ||
| <pre>{{bu|QuI}}ck {{bu|BrO}}wn {{bu|F}}ox.</pre> | | <pre>{{bu|QuI}}ck {{bu|BrO}}wn {{bu|F}}ox.</pre> | ||
| {{bu|QuI}}ck {{bu|BrO}}wn {{bu|F}}ox. | | {{bu|QuI}}ck {{bu|BrO}}wn {{bu|F}}ox. | ||
+ | |- | ||
+ | | Optional second parameter, multiple letters | ||
+ | |- | ||
+ | | <pre>{{bu|QuI|ck}} {{bu|BrO|wn}} {{bu|F|ox}}.</pre> | ||
+ | | {{bu|QuI|ck}} {{bu|BrO|wn}} {{bu|F|ox}}. | ||
|} | |} | ||
---- | ---- |
Revision as of 21:08, 26 January 2007
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}}
- 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. |
- This template is a self-reference and so is part of the MidrangeWiki project rather than the content itself.