Template:Smallcaps
{{{1}}}
The {{Smallcaps}} template allows you to display text in small caps (e.g. Lord, as it is written in some Bibles.)
Note
As with most templates, if the argument contains an =, the argument should be prefixed with 1=.
There is a parsing problem with MediaWiki which causes unexpected behavior when a template with one style is used within a template with another style.
| Code | Gives |
|---|---|
| {{smallcaps|Hello world}} | Hello world |
| {{smallcaps|2+2=4}} | {{{1}}} |
| {{smallcaps|1=2+2=4}} | 2+2=4 |
| {{smallcaps|{{red|Hello}} world}} | Hello world |
| {{smallcaps|1={{red|Hello}} world}} | Hello world |
| {{smallcaps|before|after}} | before |
| {{smallcaps|1=before{{!}}after}} | after |
| {{smallcaps|1=before&124;after}} | before|after |
| The above documentation is transcluded from Template:Smallcaps/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |