Difference between revisions of "Template:First word/doc"

From blackwiki
Jump to navigation Jump to search
imported>Svick
imported>117Avenue
Line 11: Line 11:
 
* {{tlc|first word|Foo}} → {{first word|Foo}}
 
* {{tlc|first word|Foo}} → {{first word|Foo}}
 
* {{tlc|first word|Foo-bar-baz}} → {{first word|Foo-bar-baz}}
 
* {{tlc|first word|Foo-bar-baz}} → {{first word|Foo-bar-baz}}
 +
 +
=== See also ===
 +
{{String templates see also}}
  
 
<includeonly>
 
<includeonly>

Revision as of 09:06, 2 December 2010

Usage

Returns first word of the first parameter. Words are delimited by spaces only.

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