Bản mẫu:Case templates table

Bách khoa toàn thư mở Wikipedia
Template Shortcut Purpose Example Output Copy-pastes as
{{Smallcaps}} {{sc1}}
{{SC}}
No conversion, small-caps display, mixed case.
No font size change (acronyms are unaffected).
Common mixed-case heading style (not in Wikipedia).
Uses: Rendering publication titles in citation styles that require them in small-caps.
{{sc1|UNICEF}} and 312 {{sc1|BCE}}

{{sc1|Mixed Case}}

Bản mẫu:Sc1 and 312 Bản mẫu:Sc1

Bản mẫu:Sc1

UNICEF and 312 BCE

Mixed Case

{{Smallcaps2}} {{sc2}} No conversion, small-caps display, mixed case.
Slightly reduced font size.
This is the conventional display of smallcaps for acronyms/initialisms in modern book typography.
Other uses: Unicode character names (use {{Unichar}}).
{{sc2|UNICEF}} and 312 {{sc2|BCE}}

{{sc2|Mixed Case}}

UNICEF and 312 BCE

Mixed Case

UNICEF and 312 BCE

Mixed Case

{{Smallcaps all}} {{sc}} Lowercase conversion, small-caps display, all uppercase.
The size of lowercase letters.
Uses: Stressed syllables (in {{Respell}}); and ???.
Warning: Default use will permanently change UPPER- or Mixed-Case data,
does not work consistently across different browsers,
and is not compatible with named HTML character entities.
{{sc|UNICEF}} and 312 {{sc|BCE}}

{{sc|Mixed Case}}

UNICEF and 312 BCE

Mixed Case

unicef and 312 bce

mixed case
(in many browsers)

{{Allcaps}} {{caps}} Uppercase conversion, all-caps display.
The size of uppercase letters.
Uses: ???.
Warning: Will permanently change lower- or Mixed-Case data,
does not work consistently across different browsers,
and is not compatible with named HTML character entities.
{{caps|UNICEF}} and 312 {{caps|BCE}}

{{caps|Mixed Case}}

UNICEF and 312 BCE

Mixed Case

UNICEF and 312 BCE

MIXED CASE
(in many browsers)

{{Nocaps}}   Lowercase conversion, all-lowercase display.
The size of lowercase letters.
Uses: ???.
Warning: Will permanently change UPPER- or Mixed-Case data,
and does not work consistently across different browsers.
{{nocaps|UNICEF}} and 312 {{nocaps|BCE}}

{{nocaps|Mixed Case}}

UNICEF and 312 BCE

Mixed Case

unicef and 312 bce

mixed case
(in many browsers)

Tài liệu bản mẫu

This table is transcluded into the documentation of the various templates it illustrates.