Please remember that WiKirby contains spoilers, which you read at your own risk! See our general disclaimer for details.

Template:UserLang: Difference between revisions

From WiKirby, your independent source of Kirby knowledge.
Jump to navigationJump to search
mNo edit summary
(use Lua-based Template:LangSwitch)
Line 1: Line 1:
{{#switch:{{USERLANGUAGECODE}}|en={{{us}}}|en-gb={{{gb}}}|{{{us}}}}}<noinclude>
{{LangSwitch|en={{{us}}}|en-gb={{{gb}}}|lang={{USERLANGUAGECODE}}|default={{{us}}}}}<noinclude>


{{doc}}
{{doc}}
[[Category:Meta-templates|{{PAGENAME}}]]
[[Category:Meta-templates|{{PAGENAME}}]]

Revision as of 12:33, 3 January 2021

Template:LangSwitch

Usage

Notice: This template has been retired, and should not be used in mainspace.

Used to switch words in articles according to the language preference the user has chosen in Special:Preferences. The template has two compulsory parameters, us and gb. us should hold the US English spelling, and gb the British English spelling of a word. For example, the word Template:LangSwitch:

{{UserLang|us=authorize|gb=authorise}}