Lompat ke isi

Cèṭa'an:Smallcaps/doc

Ḍâri Wikipèḍia bhâsa Madhurâ, lombhung pangataowan mardhika

Fiddler's Green forever |- |Cèṭa'an:Y|| {{Green|1=in {{Smallcaps|Fiddler's Green}} forever}} || in Fiddler's Green forever |- |Cèṭa'an:Y|| {{Colors|green|yellow|3=in {{Smallcaps|Fiddler's Green}} forever}} || in Fiddler's Green forever |- |colspan=3 align=center| When your text uses a | pipe, use | as you would need to do in any template parameter value: |- |Cèṭa'an:Y|| {{Smallcaps|Before|afteR}} || Before|afteR |- |colspan=3 align=center| When your text uses a link:[Table 1] |- |Cèṭa'an:N|| [[{{Smallcaps|Mao}} Zedong]] || [[Mao Zedong]] |- |Cèṭa'an:Y|| [[Mao Zedong|{{Smallcaps|Mao}} Zedong]] || Mao Zedong |}

  1. As of May 2023, the preferred example fails due to flaws in Mediawiki (phabricator issue T200704) if there are no prior uses of {{smallcaps}} on the page outside links.

Note that most of these uses are not sanctioned by the WP:Manual of Style and should be avoided in article prose.

Reasons to use small caps

[beccè' sombher]

Small caps are useful for encyclopedic and typographical uses including:

To lighten ALL-CAPS surnames mandated by citation styles such as Harvard

Note that this template should not be used inside CS1 or CS2 citation templates, such as {{cite book}} or {{citation}}; see #Notes above for details and alternatives.

  • Piccadilly has been compared to "a Parisian boulevard" (Dickens 1879).
  • Dickens, C. Jr (1879). "Piccadilly" in Dickens's Dictionary of London. London: C. Dickens.[1]
To disambiguate Western names and surnames at a glance
To disambiguate Eastern surnames and given names at a glance
Especially in Hong Kong and Macao, a Western given name may be added as well:
To cite Unicode character names correctly without unwanted emphasizing.
  • Such names are required to be written in capitals by the Unicode standard. Use {{Smallcaps2}}, not {{Smallcaps}}, for this: In running text, "U+022A LATIN CAPITAL LETTER O WITH DIAERESIS AND MACRON" is a less visually distracting alternative to "U+022A LATIN CAPITAL LETTER O WITH DIAERESIS AND MACRON". Unicode names should not be represented in mixed case, e.g. as {{Smallcaps}}.

Comparison of the case transformation templates

[beccè' sombher]

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}}

Citation Style 1 and 312 Citation Style 1

Citation Style 1

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.
{{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 Cèṭa'an:Xtn or Cèṭa'an:Xtn 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}}

Cèṭa'an:Sc and 312 Cèṭa'an:Sc
Cèṭa'an:Sc
unicef and 312 bce
mixed case

(in many browsers)
{{Allcaps}} {{caps}} No conversion, all-caps display.
The size of uppercase letters.
Uses: ???.
{{caps|UNICEF}} and 312 {{caps|BCE}}

{{caps|Mixed Case}}

Cèṭa'an:Caps and 312 Cèṭa'an:Caps
Cèṭa'an:Caps
UNICEF and 312 BCE
Mixed Case
{{Nocaps}}   No conversion, all-lowercase display.
The size of lowercase letters.
Uses: ???.
{{nocaps|UNICEF}} and 312 {{nocaps|BCE}}

{{nocaps|Mixed Case}}

UNICEF and 312 BCE
Mixed Case
UNICEF and 312 BCE
Mixed Case

Templatedata

[beccè' sombher]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Smallcaps in articles based on its TemplateData.

TemplateData for Smallcaps

Displays the lowercase part of inputted text as small caps

Parameter templat

Templat ini lebih menyukai format parameter dalam satu baris.

ParameterKeteranganJenisStatus
Text1

Text to be rendered in small caps

Katawajib diisi

See also

[beccè' sombher]