Difference between revisions of "Template:Case templates table"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(shortcut tweak)
imported>Hairy Dude
(use headers)
Line 3: Line 3:
 
! scope="col" | Template
 
! scope="col" | Template
 
! scope="col" | Shortcut
 
! scope="col" | Shortcut
| scope="col" style="width: 35%;" | Purpose
+
! scope="col" style="width: 35%;" | Purpose
| scope="col" | Example
+
! scope="col" | Example
| scope="col" | Output
+
! scope="col" | Output
| scope="col" | Copy-pastes as
+
! scope="col" | Copy-pastes as
 
|-
 
|-
 
| {{tl|Smallcaps}}
 
| {{tl|Smallcaps}}

Revision as of 12:11, 8 August 2017

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

Template:Sc1 and 312 Template:Sc1

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

Template:Sc2 and 312 Template:Sc2

Template:Sc2

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

Template:Sc and 312 Template:Sc

Template:Sc

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

Template:Nocaps and 312 Template:Nocaps

Template:Nocaps

unicef and 312 bce

mixed case
(in many browsers)

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