Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:2x/doc" to edit its documentation if it is available. (How does this work?)


Repeats what you enter twice.

Usage

{{2x|your text here}}
produces:
your text hereyour text here
{{2x|your text here|,}}
produces:
your text here,your text here

Example

Code Result
{{2x|Red Sox!}} Red Sox!Red Sox!
{{2x|Red Sox!| }} Red Sox! Red Sox!

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:2x in articles based on its TemplateData.

TemplateData for 2x

Repeats what you enter twice.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

This text will be repeated

Unbalanced wikitextrequired
Separator2

Goes between the two repetitions

Example
,
Unbalanced wikitextoptional

See also

  • {{1x}}
  • {{2x}}
  • {{3x}}
  • {{4x}}
  • {{5x}}
  • {{Loop}} (for arbitrary numbers of repetitions)