.mw-parser-output span.smallcaps{font-variant:small-caps}.mw-parser-output span.smallcaps-smaller{font-size:85%}{{{1}}}
{{{1}}}
The {{Smallcaps}} template allows you to display text in small caps (e.g. Lord, as it is written in some Bibles.)
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 |
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.