Template:Capitalize words

From Ring of Brodgar
Jump to navigation Jump to search
Template documentation (for the template shown above, sometimes hidden or invisible)
Info
General words capitalization.
Limit
Limited to first four words in the string.
(intended to do short strings like page titles)
Usage
{{Capitalize words|<words string>|<optional delimiter>}}
Default delimiter is single-space.
Examples

{{Capitalize words|aaa bBB c d e f}} gives "Aaa BBB C D e f"
{{Capitalize words|aaa,bBB,c,d,e,f|,}} gives "Aaa,BBB,C,D,e,f"

Bad spacing example
has multiple spaced between "aaa" and "bBB".

{{Capitalize words|aaa bBB c d}} gives "Aaa BBB c d"