Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:BCP47/doc: Difference between revisions

Template page
mendgelola data saya untuk non publik
+pt-br
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
<templatedata>
<templatedata>
{
{
"description": "This template fixes the current violations of the BCP47 standard (for inclusion in the lang HTML attribute) by Wikimedia sites for their language codes. It also normalizes these codes to lowercase only (though it is not mandatory).",
"description": {
"en": "This template fixes the current violations of the BCP 47 standard (for inclusion in the lang HTML attribute) by Wikimedia sites for their language codes. It also normalizes these codes to lowercase only (though it is not mandatory).",
"pt-br": "Esta predefinição corrige as violações atuais do padrão BCP 47 (para inclusão no atributo HTML “lang”) pelos websites da Wikimedia em seus códigos de idioma. Ela também normaliza esses códigos para apenas letras minúsculas (embora isso não seja obrigatório)."
},
"format": "inline",
"format": "inline",
"params": {
"params": {
"1": {
"1": {
"label": "MediaWiki language code",
"label": {
"description": "The MediaWiki language code that should be translated to BCP 47.",
"en": "MediaWiki language code",
"pt-br": "Código de idioma do MediaWiki"
},
"description": {
"en": "The MediaWiki language code that should be translated to BCP 47.",
"pt-br": "O código de idioma do MediaWiki que deve ser traduzido para o BCP 47."
},
"type": "line",
"type": "line",
"required": true
"required": true
Line 15: Line 24:
</templatedata>
</templatedata>


Use this template only in HTML <code>lang=""</2897> attributes or in CSS <jsonfahmi>lang()</code> selectors, for tagging the linguistic contents or for creating localisations.
Use this template only in HTML <code>lang=""</code> attributes or in CSS <code>lang()</code> selectors, for tagging the linguistic contents or for creating localisations.


== Notes ==
== Notes ==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.