Автомобильные номера Косово

Материал из Энциклопедия автомобильных номеров мира
Версия от 22:05, 1 сентября 2018; />Putnik (Grain of sand переименовал страницу Шаблон:Module rating в Шаблон:Рейтинг модуля: русский язык)
Перейти к навигации Перейти к поиску

This template returns a certain number of characters from the start of a text string.

Usage

  • first parameter (compulsory) the text string to truncate
  • second parameter the number of characters to return. If invalid or empty, an empty string is returned. If undefined, it defaults to 1.

Examples

  • {{Str left| lorem ipsum dolor sit amet | 10 }} → lorem ipsu
  • {{Str left| lorem ipsum dolor sit amet | 1 }} → l
  • {{Str left| lorem ipsum dolor sit amet | foo }}
  • {{Str left| lorem ipsum dolor sit amet | }}
  • {{Str left| lorem ipsum dolor sit amet }} → l

See also

Equivalent to Template:Trunc. One is superior to the other - which?