VOOZH about

URL: https://en.wikipedia.org/wiki/Template:Codes

⇱ Template:Codes - Wikipedia


Jump to content
From Wikipedia, the free encyclopedia

👁 Image
Template documentation
[view] [edit] [history] [purge]
👁 Image
This template uses Lua:

This template is a simplified usage of <code>...</code>.

Each anonymous parameter is a string to format. Note that &lt;nowiki>...</nowiki>; is needed around a parameter value if it contains the pipe (|) or equals (=) symbols, or they will be treated as a parameter separator or parameter identifier, respectively. Alternatively, you could also use &lt;nowiki>|</nowiki> or {{=}} instead.

Use the {{{delimiter}}} parameter (aliases {{{delim}}} or {{{d}}}) to change the separator between each string. Set this value to the name in words of the delimiter, such as "and".

Examples

[edit]
  1. {{|text}}text
  2. {{|1|2|3|4|5}}1,2,3,4and5
  3. {{|1|2|3|4|5|delimiter=,}}1,2,3,4,5
  4. {{|1|2|3|4|5|delimiter=and}}1,2,3,4and5
  5. {{|<nowiki>something=one|two|three</nowiki>}}something=one|two|three
  6. {{|something{{=}}one{{!}}two{{!}}three}}something=one|two|three