[go: up one dir, main page]

Jump to content

Template:Title case/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This is a very simplistic algorithm so the output should be previewed and the template usually be substituted in the article namespace. It should not be used to implement Wikipedia:Manual of Style/Capital letters. Most obviously, it ignores proper nouns. Although the algorithm is based on United States Government Printing Office manual §3.49, the pink rows in the following table are §3.49 examples which the template output does not match.

USGPS {{Title case}} examples
§3.49 example Template output
World en Route to All-Out War World En Route to All-out War
Curfew To Be Set for 10 o'Clock Curfew to Be Set for 10 O'clock
Man Hit With 2-Inch Pipe Man Hit With 2-inch Pipe
No-Par-Value Stock for Sale No-par-value Stock for Sale
Yankees May Be Winners in Zig-Zag Race Yankees May Be Winners in Zig-zag Race
Ex-Senator Is To Be Admitted Ex-senator Is to Be Admitted
Notice of Filing and Order on Exemption From Requirements Notice of Filing and Order on Exemption from Requirements
Building on Twenty-first Street Building on Twenty-first Street
One Hundred Twenty-three Years One Hundred Twenty-three Years
Only One-tenth of Shipping Was Idle Only One-tenth of Shipping Was Idle
Many 35-Millimeter Films in Production Many 35-millimeter Films in Production
Built-Up Stockpiles Are Necessary Built-up Stockpiles Are Necessary
His Per Diem Was Increased His Per Diem Was Increased
Lower Taxes per Person Lower Taxes Per Person

Example

[edit]

{{Title case|the quick brown fox jumps over the lazy dog}} → The Quick Brown Fox Jumps Over the Lazy Dog