Template:Title case/doc

Usage
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 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.


 * {|class="wikitable mw-collapsible mw-collapsed"

! §3.49 example ! Template output
 * +class="nowrap"| USGPS examples
 * -style="background-color:pink;"
 * World en Route to All-Out War
 * World En Route To All-Out War
 * -style="background-color:pink;"
 * Curfew To Be Set for 10 o'Clock
 * Curfew To Be Set For 10 O'Clock
 * -style="background-color:pink;"
 * Man Hit With 2-Inch Pipe
 * Man Hit With 2-Inch Pipe
 * -style="background-color:pink;"
 * No-Par-Value Stock for Sale
 * No-Par-Value Stock For Sale
 * -style="background-color:pink;"
 * Yankees May Be Winners in Zig-Zag Race
 * Yankees May Be Winners In Zig-Zag Race
 * -style="background-color:pink;"
 * Ex-Senator Is To Be Admitted
 * Ex-Senator Is To Be Admitted
 * -style="background-color:pink;"
 * 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
 * -style="background-color:pink;"
 * Many 35-Millimeter Films in Production
 * Many 35-Millimeter Films In Production
 * -style="background-color:pink;"
 * Built-Up Stockpiles Are Necessary
 * Built-Up Stockpiles Are Necessary
 * His Per Diem Was Increased
 * His Per Diem Was Increased
 * -style="background-color:pink;"
 * Lower Taxes per Person
 * Lower Taxes Per Person
 * }
 * -style="background-color:pink;"
 * Lower Taxes per Person
 * Lower Taxes Per Person
 * }

Example
&rarr; The Quick Brown Fox Jumps Over the Lazy Dog