Difference between revisions of "Template:En/doc"
Jump to navigation
Jump to search
imported>Ilyushka88 m (Reverted edits by 66.87.65.14 (talk) (HG) (3.1.21)) |
imported>JJMC89 bot III |
||
| Line 24: | Line 24: | ||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| − | [[Category: | + | [[Category:Wikipedia multilingual support templates]] |
[[ar:قالب:En]] | [[ar:قالب:En]] | ||
Revision as of 08:02, 4 September 2019
| This is a documentation subpage for Template:En. It contains usage information, categories and other content that is not part of the original template page. |
| 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 {{in lang|en}} 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