Template:LanguageSelector/doc

{{TemplateBox
 * 1= icons
 * 1d=determines what is displayed
 * yes: icons and text
 * only: only icons, no text
 * code: English language codes
 * anything else: only text, no icons
 * 1def= yes
 * 1stat= optional
 * 2=
 * 2d= If present, a link for the corresponding language will be produced. Up to nine languages can currently be specified, and will display in the order indicated by the parameter sequence. If no unnamed parameters are specified, all languages will be displayed in the default order.
 * 2def= optional
 * 3= notpiol
 * 3d= dummy parameter, if assigned any value, it will suppress the 'This page in other languages: ' text
 * 3def= optional
 * 4= action
 * 4d= passed through to {{tl|UselangLink}}, read documentation there for further information
 * 4def= optional
 * name={{BASEPAGENAME}}
 * desc=Displays a configurable set of links that switch the page it's used on to another language. It is intended to complement {{tl|LangSwitch}}, but you might find previously unintended uses. ;)
 * namespace=all
 * usergroup=all
 * placement=
 * usage-notes=A few examples:
 * The switch only applies to the page the template is transcluded on, clicking other links will return you to the language set in your MediaWiki preferences. This does not generally apply to script calls, e. g. "hide/show" links, or controls for sortable tables or other embedded stuff.
 * The template can be used inline, it should not break any layout.
 * type=
 * example=
 * i18n-method=
 * i18n-desc=
 * seealso= === Related templates ===
 * {{tl|autotranslate}} "used to show a template in the user's interface language"
 * {{tl|LangSwitch}} marks up translations of a given string, from which an appropriate language to display is selected based upon user preferences, resorting to default fallback languages when the requested one is not available
 * {{tl|LanguageSelectorFlags}} alias for {{tl|LanguageSelector}}
 * {{tl|LanguageSelectorNoFlags}} wrapper that changes default behavior to {{codef|1=icons=no}}
 * {{tl|Fallback}} determines fallback language when the desired one isn't available, uses {{tl|GetFallback}} and {{tl|GetFallback2}} (secondary fallback language)

Language resources
If you want to add languages, the following resources might be useful }}
 * User:Paradoctor/WikipediaLanguages list of all Wikipedia languages as of 12 January 2010
 * Category:Flags of languages
 * ISO-639 two- and three-letter language codes
 * List of languages by English name
 * List of languages in in their own writing systems, you can also plunder any article with lots of interwiki links, like sex
 * List of Wikipedias at Meta
 * Main_Page list of proposed projects at Incubator
 * setscats=
 * lines=
 * shorthand=
 * relieson=
 * LanguageSelector/full produces a default set when no languages are specified
 * LanguageSelector/switch maps language codes to icons
 * LanguageSelector/link produces a link to a single language, optionally with icon
 * UselangLink
 * LanguageSelector/ThisPageIn returns "This page in other languages", supports LangSwitch
 * LanguageSelector/InterLanguageSpacer used to separate the language links from each other
 * LanguageSelector/iconfile returns filename of default icon for given language code
 * LanguageSelector/IfPageExists cheap replacement for #ifexist: parser extension function