Template:Languagename: Difference between revisions

From translatewiki.net
Content deleted Content added
Nike (talk | contribs)
m Nike moved page Template:Languagename/entry to Template:Languagename without leaving a redirect
Nike (talk | contribs)
No edit summary
Line 3: Line 3:
 
|fr|fr-be|fr-ca|fr-ch|fr-fr=fr
 
|fr|fr-be|fr-ca|fr-ch|fr-fr=fr
 
|#default={{#replace:{{lc:{{{2|}}}}}|_|-}}
 
|#default={{#replace:{{lc:{{{2|}}}}}|_|-}}
  +
}}}}<noinclude>{{Documentation}}</noinclude>
}}}}
 

Revision as of 13:36, 24 October 2021

undetermined or multiple languages

The documentation of this template is included from its /doc subpage. [Edit]
Usage:
This template is just a wrapper for the {{#language:}} magic word. If possible, just use the parser function directly instead. Like the magic word, the template takes two unnamed parameters: The first is the language code of the language name you wish to display, and the second optional parameter is a language code for the language the name should be displayed in. If the second parameter is not used, it will display the language's autonym.