Difference between revisions of "Template:First word/doc"
Jump to navigation
Jump to search
(sl:Predloga:First word) |
imported>DePiep (→Usage) |
||
| Line 4: | Line 4: | ||
=== Usage === | === Usage === | ||
| − | Returns first word of the first parameter. Words are delimited by spaces only. | + | Returns first word of the first parameter. Words are delimited by spaces only. The parameter should ''not'' have whitespace. |
=== Examples === | === Examples === | ||
Revision as of 14:23, 16 August 2012
| This is a documentation subpage for Template:First word. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Returns first word of the first parameter. Words are delimited by spaces only. The parameter should not have whitespace.
Examples
{{first word|Foo bar baz}}→ Foo{{first word|Foo}}→ Foo{{first word|Foo-bar-baz}}→ Foo-bar-baz
See also
Template:String templates see also