Jump to content
Toggle menu
  • 8 erthyglau
  • 75 ffeiliau
  • 7 defnyddwyr
  • 37.8K golygiadau
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Heb fewngofnodi
Your IP address will be publicly visible if you make any edits.

Template:LanguageSelector/switch

Template page
Documentation[ view · edit · history · purge ]

Selects a default icon.

Usage

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

Paramedrau templed

ParamedrDisgrifiadYn ddiofynStatws
1language codeemptyangenrheidiol
2determines what is displayed
  • yes: icons and text
  • only: only icons, no text
  • code: English language codes
  • anything else: only text, no icons
codeangenrheidiol
actionis passed through to {{LanguageSelector/link}}, and ultimately to {{UselangLink}}.emptydewisol

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}}" ""
Rydym yn defnyddio cwcis i ddarparu ein gwasanaethau. Rydych chi'n cytuno i'n defnydd o gwcis wrth ddefnyddio ein gwasanaethau.