Template:Expand language
You can help expand this article with text translated from the corresponding article in another language. Click [show] for important translation instructions.
|
This template is used on many 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 should usually not be placed on article pages directly. Instead, language-specific templates from Category:Expand by language templates are preferred if only one language is linked. |
This template has two purposes: it is primarily used in transclusion from other templates such as {{Expand French}} or {{Expand Spanish}} to mark English Wikipedia articles that can be improved by a translation from a foreign-language Wikipedia. Second, this template may be placed directly on article pages if an article can be improved by translations from multiple foreign-language Wikipedias. Generally, you should use one of the templates in this list whenever possible, rather than this template. If you're not sure if this is the right template to use, it probably isn't.
Direct transclusion on article pages
A secondary use of this template is to place it directly on an article page. This generally should be avoided when a specific language template (such as {{Expand French}}) is available for use instead. But direct transclusion may be useful for an article that can be improved with translations from more than one foreign-language Wikipedia.
Usage
{{Expand language |langcode=xx |otherarticle=<Article-1 in lang-xx> |langcode2=yy |otherarticle2=<Article-2 in lang-yy> |langcode3=zz |otherarticle3=<Article-3 in lang-zz>}}
Tip: If there is only one language involved, then do not use this template.[a]
Parameters
|langcode=
– 2- or 3-letter language code of the first foreign Wikipedia article to link[b] E.g.,fr
. Required.|langcode2=
– code of the second foreign Wikipedia article.[a] E.g.,de
. Optional.)|langcode3=
– code of the third foreign Wikipedia article.[b] E.g.,es
. Optional.|otherarticle=
– name of the article in the original language, corresponding to the first langcode. Required.|otherarticle2=
– name of the article in the original language, corresponding to the second langcode. Optional.[a]|otherarticle3=
– name of the article in the original language, corresponding to the third langcode. Optional.|section=yes
– optional; set to 'yes' when used in a section of the article instead of at the top. Optional.|date=
– optional; updated by bot if omitted.|fa=
– optional; whether the article is a feature article or not.
Do not use these parameters for direct transclusion:
|name=
(defaults to 'Expand language'; only needed for transcluding templates; could change css class membership if altered, which could affect rendered appearance of the box)|topic=
(could interfere with categorization)
Examples
This section is empty. You can help by adding to it. |
Expensive parser functions
This template uses between 1 and 9 expensive parser functions depending on what parameters are used. On certain pages with very large numbers of other templates using expensive parser functions this may result in template limits being hit.
Notes
- ^ a b c If there is only one langcode and otherarticle name, then this template probably isn't the right one. Use one of the child templates instead.
- ^ a b For values of
|langcode=
, see column one from meta:Table of Wikimedia projects#Projects per language codes.
<templatedata> { "params": { "name": {}, "subst": {}, "langcode2": {}, "section": {}, "otherarticle": {}, "langcode": { "required": true }, "override_language": {}, "langcode3": {}, "otherarticle3": {}, "otherarticle2": {}, "date": {}, "googlelangcode": {}, "topic": {}, "demospace": {}, "nodoc": {}, "category": {}, "fa": {}, "no interwiki": {} } } </templatedata>