You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:Concat: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(template for concatenating a slash-separated string)
 
m (bugfix)
 
Line 1: Line 1:
{{P1|{{#titleparts:{{{1}}}|1|1}} {{#titleparts:{{{1}}}|1|2}} {{#titleparts:{{{1}}}|1|3}} {{#titleparts:{{{1}}}|1|4}} {{#titleparts:{{{1}}}|1|5}} {{#titleparts:{{{1}}}|1|6}} {{#titleparts:{{{1}}}|1|7}} {{#titleparts:{{{1}}}|1|8}} {{#titleparts:{{{1}}}|1|9}} {{#titleparts:{{{1}}}|1|10}} {{#titleparts:{{{1}}}|1|11}} {{#titleparts:{{{1}}}|1|12}} {{#titleparts:{{{1}}}|1|13}} {{#titleparts:{{{1}}}|1|14}} {{#titleparts:{{{1}}}|1|15}} {{#titleparts:{{{1}}}|1|16}} {{#titleparts:{{{1}}}|1|17}} {{#titleparts:{{{1}}}|1|18}} {{#titleparts:{{{1}}}|1|19}} {{#titleparts:{{{1}}}|1|20}}}}<noinclude>{{concat/doc}}</noinclude>
{{P1|1={{#titleparts:{{{1}}}|1|1}} {{#titleparts:{{{1}}}|1|2}} {{#titleparts:{{{1}}}|1|3}} {{#titleparts:{{{1}}}|1|4}} {{#titleparts:{{{1}}}|1|5}} {{#titleparts:{{{1}}}|1|6}} {{#titleparts:{{{1}}}|1|7}} {{#titleparts:{{{1}}}|1|8}} {{#titleparts:{{{1}}}|1|9}} {{#titleparts:{{{1}}}|1|10}} {{#titleparts:{{{1}}}|1|11}} {{#titleparts:{{{1}}}|1|12}} {{#titleparts:{{{1}}}|1|13}} {{#titleparts:{{{1}}}|1|14}} {{#titleparts:{{{1}}}|1|15}} {{#titleparts:{{{1}}}|1|16}} {{#titleparts:{{{1}}}|1|17}} {{#titleparts:{{{1}}}|1|18}} {{#titleparts:{{{1}}}|1|19}} {{#titleparts:{{{1}}}|1|20}}}}<noinclude>{{concat/doc}}</noinclude>

Latest revision as of 00:01, 28 May 2018

{{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}}

Name:
  • Concat
Types:
Sub-Template:
  • Yes
Designer:

{{concat}} concatenates all the elements of a slash-separated string, leaving spaces in between. Any leading and trailing whitespace is stripped, and if the string starts with a letter, it will be capitalised.

Examples

  • [{{concat|1/2/3}}] → [1 2 3]
  • [{{concat|one two/three four}}] → [One two three four]
  • [{{concat| a b / c d / e f}}] → [A b c d e f]