Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Example  














Template:Title case






العربية

Jawa



Română
Simple English
Slovenščina
کوردی
Српски / srpski
Svenska
Tiếng Vit
 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


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

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


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Title_case&oldid=1042760358"

Categories: 
Lua-based templates
String manipulation templates
Hidden category: 
Wikipedia template-protected templates
 



This page was last edited on 6 September 2021, at 16:47 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki