Jump to content
切換選單
  • 8 篇文章
  • 75 份檔
  • 7 位用戶
  • 3.7萬 次修改
Neodyland Wiki
Toggle preferences menu
切換個人選單
未簽到
Your IP address will be publicly visible if you make any edits.

Template:LanguageSelector/switch/doc

模組頁

Selects a default icon.

Usage

{{LanguageSelector/switch |1= |2= |action= }}

模參數

參數描述預設狀態
1language codeempty必填
2determines what is displayed
  • yes: icons and text
  • only: only icons, no text
  • code: English language codes
  • anything else: only text, no icons
code必填
actionis passed through to {{LanguageSelector/link}}, and ultimately to {{UselangLink}}.empty可選

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

Relies on:
{{LanguageSelector/link}}

Examples

Code Renders as
"{{LanguageSelector/switch|fr}}" "français"
"{{LanguageSelector/switch|fr|code}}" "français [fr]"
"{{LanguageSelector/switch|fr|yes}}" "françaisfrançais"
"{{LanguageSelector/switch|fr|only}}" "français"
"{{LanguageSelector/switch}}" ""
Cookies help us deliver our services. By using our services, you agree to our use of cookies.