Template:En

Template page
Revision as of 09:00, 17 November 2020 by wikipedia>Gonnym (using {{Lang-en}} for the tagging instead of recreating that functionality here)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

English: {{{1}}}

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:En/doc.

Usage

This template was imported from commons:Template:en to handle language issues that English Wikipedia does not face. It is used on files from Commons or files preparing to be moved to Commons.

Examples

  • {{En|English translation}} produces English: English translation
  • {{En|1=English translation with links}} produces English: English translation with links
  • {{En}} produces English: {{{1}}} (incorrect usage)

Transclusion error

If this template is used outside of File: namespace, it produces the following error:

Transclusion error: {{En}} is only for use in File namespace. Use {{lang-en}} or {{in lang|en}} instead.

To fix this error, uses of {{En}} without parameters should usually be replaced by {{in lang|en}} (or just the language name) and uses with a parameter by {{Lang-en}}. In a cite, to fix |language={{En}} simply remove the curly braces to leave |language=en.

TemplateData

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

TemplateData for En

This template was imported from https://commons.wikimedia.org/wiki/Template:en to handle language issues that English Wikipedia does not face. It is used on files from Commons or files preparing to be moved to Commons. It should not be used outside of the File namespace

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
text1

The text of the English description

Contentrequired

See also