This site is supported by donations to The OEIS Foundation.

Template:Small caps

From OeisWiki
Jump to: navigation, search

The {{small caps}} or {{smallcaps}} (small capitals) typing-aid template displays text in small capitals.[1]

Usage

{{small caps|string}}

or

{{smallcaps|string}}

Valid input

Argument is string to display in small capitals.

Examples

The code

{{small caps|ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789}}

gives

ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789

The code

{{small caps|The On-Line Encyclopedia of Integer Sequences™ (OEIS™)}}

gives

The On-Line Encyclopedia of Integer Sequences™ (OEIS™)

The code

{{smallcaps|The On-Line Encyclopedia of Integer Sequences™ (OEIS™)}}

gives

The On-Line Encyclopedia of Integer Sequences™ (OEIS™)

Code


<noinclude>{{documentation}}<!-- Only lowercase becomes small caps, uppercase stays uppercase, as it should be. --></noinclude><includeonly><span class="smallcaps" style="font-variant: small-caps;">{{{1|}}}</span></includeonly>

See also

The case conversion formatting parser functions

{{lc: string}} {{lc: DATA CENTER}} → data center The input in lowercase.
{{lcfirst: string}}      {{lcfirst: DATA center}} → dATA center The input with the very first character in lowercase.
{{uc: string}} {{uc: text transform}} → TEXT TRANSFORM The input in uppercase.
{{ucfirst: string}} {{ucfirst: text TRANSFORM}} → Text TRANSFORM      The input with the very first character in uppercase.

Notes