Template:Str letter/trim/doc
This is a documentation subpage for Template:Str letter/trim (see that page for the template itself). It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
This is the {{Str letter/trim}} template.
It takes a string as parameter, and returns the string trimmed to the beginning letters. It is limited to 21 letters.
Examples
lokiša{{str letter/trim}}
→{{str letter/trim|12345}}
→{{str letter/trim|abcdef?}}
→ abcdef{{str letter/trim|abc def}}
→ abc{{str letter/trim|ABcD123}}
→ ABcD{{str letter/trim|abc, def}}
→ abc{{str letter/trim|abc(def)}}
→ abc{{str letter/trim|ÁbČĐÈęFğ}}
→ ÁbČĐÈęFğ{{str letter/trim|abcdefghijklmnopqrst}}
→ abcdefghijklmnop{{str letter/trim|abcdefghijklmnopqrstuvwxyz}}
→ abcdefghijklmnop{{str letter/trim|NR<ref>a reference</ref>}}
→ NRNRNRNRNRNRNRNR
See also
lokišaDescription of all string templates
References
lokiša- ↑ a reference