No edit summary
No edit summary
 
Line 8: Line 8:
</pre>
</pre>
</noinclude><includeonly>{{#switch: {{PAGELANGUAGE}}
</noinclude><includeonly>{{#switch: {{PAGELANGUAGE}}
  | pt-br = brazilian
  | pt-br = portuguese
  | {{lc:{{#language:{{PAGELANGUAGE}}|en}}}}
  | {{lc:{{#language:{{PAGELANGUAGE}}|en}}}}
}}</includeonly>
}}</includeonly>

Latest revision as of 08:13, 8 September 2024

Used in Template:Menu bar to manage cases, such as that of Brazilian Portuguese, where we need to customise the conversion between the code associated to the page's language by MediaWiki into the string used on GitHub where the downloadable versions are listed.

Syntax:

{{Language code to language name}}