Difference between revisions of "Πρότυπο:First item of a comma separated list/Documentation"

From protonation
Jump to navigation Jump to search
(Νέα σελίδα με 'It returns the first item of a comma separated list. ==Use== <nowiki>{</nowiki>{first item of a comma separated list|''string''}} ==Example== <nowiki>{</nowiki>{fir...')
 
Line 1: Line 1:
It returns the first item of a comma separated list.
+
Returns the first item of a comma separated list.
  
 
==Use==
 
==Use==
Line 6: Line 6:
 
==Example==
 
==Example==
 
  <nowiki>{</nowiki>{first item of a comma separated list|foo, bar, boo}}
 
  <nowiki>{</nowiki>{first item of a comma separated list|foo, bar, boo}}
gives:
+
Result:
  
 
{{first item of a comma separated list|foo, bar, boo}}
 
{{first item of a comma separated list|foo, bar, boo}}
 +
 +
==See also==
 +
*[[Meta:Create YouTube playlists on-the-fly with semantic queries]]

Latest revision as of 02:51, 24 May 2020

Returns the first item of a comma separated list.

Use

{{first item of a comma separated list|string}}

Example

{{first item of a comma separated list|foo, bar, boo}}

Result:

foo

See also