Template:LanguageExisting
Jump to navigation
Jump to search
{{{1}}}m
This documentation is transcluded from Template:LanguageExisting/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Purpose
This template is used in Template:Languages.
If a page exists in a particular language, this template generates a parameter name for Template:Languages/Interface to show the existence. Don't use this for "en". "en" case has a special naming rule, then it was separated to Template:LanguageExistingEn.
Input parameters
- ns: (optional) leading namespace prefix such as Help: or Template: (default is empty)
- 1st: (mandatory) language code
- 2nd: (mandatory) Page name
Return
- {{{1}}}e, if {{{ns|}}}{{{1}}}:{{{2}}} exists.
- {{{1}}}m, if {{{ns|}}}{{{1}}}:{{{2}}} is missing.
Note
This template should not be used to test the existence of more than 50 languages. So it should be used only on the major languages. For other languages, that will be displayed in an unrollable sublist but not by default, using static links (possibly red links), use the template: LanguageNotTested instead, with the same parameters.