Difference between revisions of "Template:L10n/switch"

From PCGamingWiki, the wiki about fixing PC games
(added section presence vardefine (used in Template:Absent properties to detect pages with no rows))
(changed English vardefine to support fan (hackable) state)
Line 59: Line 59:
 
  |Vietnamese
 
  |Vietnamese
 
  |Welsh = {{L10n/row|lang={{{language}}}|ui={{{interface}}}|subs={{{subtitles|unknown}}}|audio={{{audio|unknown}}}|notes={{{notes|}}}|fan={{{fan|}}}|ref={{{ref|}}}}}
 
  |Welsh = {{L10n/row|lang={{{language}}}|ui={{{interface}}}|subs={{{subtitles|unknown}}}|audio={{{audio|unknown}}}|notes={{{notes|}}}|fan={{{fan|}}}|ref={{{ref|}}}}}
  |English = {{L10n/row|lang=English|ui={{{interface}}}|subs={{{subtitles|unknown}}}|audio={{{audio|unknown}}}|notes={{{notes|}}}|fan={{{fan|}}}|ref={{{ref|}}}}}{{#vardefine:English|true}}
+
  |English = {{L10n/row|lang=English|ui={{{interface}}}|subs={{{subtitles|unknown}}}|audio={{{audio|unknown}}}|notes={{{notes|}}}|fan={{{fan|}}}|ref={{{ref|}}}}}{{#switch:{{{fan|}}}
 +
|false={{#vardefine:English|true}}
 +
|true={{#ifeq:{{#var:English|true}}|true||{{#vardefine:English|hackable}}}}
 +
}}
 
  |Farsi
 
  |Farsi
 
  |Persian = {{L10n/row|lang=Persian|ui={{{interface}}}|subs={{{subtitles|unknown}}}|audio={{{audio|unknown}}}|notes={{{notes|}}}|fan={{{fan|}}}|ref={{{ref|}}}}}
 
  |Persian = {{L10n/row|lang=Persian|ui={{{interface}}}|subs={{{subtitles|unknown}}}|audio={{{audio|unknown}}}|notes={{{notes|}}}|fan={{{fan|}}}|ref={{{ref|}}}}}

Revision as of 08:01, 14 October 2021

Documentation for the above template (sometimes hidden from view).

The following languages are currently supported by the template:

  • English
  • Afrikaans
  • Albanian
  • Arabic
  • Asturian
  • Basque
  • Belarusian
  • Breton
  • Bulgarian
  • Simplified Chinese
  • Traditional Chinese
  • Catalan
  • Cornish
  • Croatian
  • Czech
  • Danish
  • Dutch
  • Estonian
  • Filipino
  • Finnish
  • French
  • Galician
  • Georgian
  • German
  • Greek
  • Hebrew
  • Hindi
  • Hungarian
  • Icelandic
  • Indonesian
  • Inuktitut
  • Irish
  • Italian
  • Japanese
  • Korean
  • Latin
  • Latvian
  • Lithuanian
  • Luxembourgish
  • Macedonian
  • Malay
  • Māori
  • Norwegian
  • Persian
  • Polish
  • Portuguese
  • Brazilian Portuguese
    Portuguese - Brazil
  • Ripuarian
  • Romanian
  • Russian
  • Scottish Gaelic
  • Serbian
  • Slovak
  • Slovenian
  • Slovene
  • Spanish
  • Spanish - Spain
  • Latin American Spanish
    Spanish - Latin America
    Mexican Spanish
  • Swedish
  • Tagalog
  • Tatar
  • Thai
  • Turkish
  • Ukrainian
  • Valencian
  • Vietnamese
  • Welsh