Predloga:Ucfirstletter/dok
Videz
![]() | To je dokumentacijska podstran za glavno stran Predloga:Ucfirstletter. Namenjena je shranjevanju navodil, kategorizaciji in drugi vsebini, ki ni del glavne strani. |
![]() | Uporablja Lua: |
![]() |
Ta predloga naj always bo substituirana in the article namespace. |
Usage
[uredi kodo]Converts the first ASCII letter character of a string to uppercase. This behavior is different from the magic word ucfirst, which affects the first character of a string regardless of whether it is a letter or not.
Examples
[uredi kodo]{{ucfirstletter|test}}
→ Test
{{ucfirstletter|(test)}}
→ (Test)
{{ucfirstletter|6th century}}
→ 6Th century
- (compare to
{{ucfirst:6th century}}
→ 6th century)
See also
[uredi kodo]- {{lcfirstletter}}, converts first ASCII letter to lowercase