跳转到内容
打开/关闭菜单
  • 8 条目
  • 75 文件
  • 7 用户
  • 37.8K 编辑
Neodyland Wiki
打开/关闭外观设置菜单
打开/关闭个人菜单
呒不登录
未登录用户的IP地址会在进行任意编辑后公开展示。

Template:LanguageSelector/switch

模板页面
模板文档[ 查看 · 编辑 · 历史 · 清除缓存 ]

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}}" ""
我们为您提供服务需要使用Cookie。使用我们的服务即表示您同意我们使用Cookie。