Concat – Template

From Bohemia Interactive Community
Revision as of 20:15, 17 May 2022 by Lou Montana (talk | contribs) (Template creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Concatenates (joins) strings together.

This template is used on these pages.

Usage

{{Concat|separator|string#}}

  • separator: string element to place between strings
  • string#: other parameters are strings to be joined - max 10 elements
Examples
Code Result
{{Concat}} -no text provided-
{{Concat|}} -no text provided-
{{Concat||}} -no text provided-
{{Concat|-}} -no text provided-
{{Concat|-|A}} A
{{Concat||A|B|C}} ABC
{{Concat|-|A|B|C}} A-B-C