Difference between revisions of "Template:En/sandbox"
Jump to navigation
Jump to search
en>Lfdder |
(No difference)
|
Revision as of 13:07, 26 February 2014
English: {{{1}}}
This is the template sandbox page for Template:En (diff). |
This template is only for use in File namespace, when moving files between here and Commons. |
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 {{en icon}} instead.
To fix this error, uses of {{En}} without parameters should usually be replaced by {{En icon}} (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
.
See also
ar:قالب:En ko:틀:En ur:سانچہ:En vep:Šablon:En
The above documentation is transcluded from Template:En/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |