User:Billinghurst/Transform to first initial/doc

From Wikisource
Jump to: navigation, search

Template:Autotranslate


{{tfi}} redirects here

Usage[edit]

The template transform [UPPERCASE] text to [First Initial Capitals] text

The template can take up to ten parameters

{{subst:Transform to first initial|THE |BLACK |DOG EATS ALL THE |GREEN |JELLY-BEANS}}

outputs

The Black Dog eats all the Green Jelly-beans

Noting that a parameter can contain a phrase or a sentence, thus only needs to start where a capital is expected. Also to maintain spaces after your words/phrases/sentences.