Template:En/sandbox
English: {{{1}}}
This is the template sandbox page for Template:En (diff). See also the companion subpage for test cases. |
This template is used on approximately 3,400 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template is only for use in File namespace, when moving files between here and Commons. |
{{En}} 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.
Usage
[edit]{{En|text}}
Examples
[edit]{{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
[edit]If this template is used outside of File: namespace, it produces an error. 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 {{Langx|en}}
. In a cite, to fix |language={{En}}
simply remove the curly braces to leave |language=en
.
TemplateData
[edit]TemplateData for En
This template was imported from http://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
Parameter | Description | Type | Status | |
---|---|---|---|---|
text | 1 | The text of the English description | Content | required |