Template:BCP47/doc: Difference between revisions
From Bonkipedia
[[mw:]]>Tacsipacsi (Created page with "{{Documentation subpage}} {{#invoke:TNT|doc|BCP47}}") |
ManfredoDo (talk | contribs) m (1 revision imported: Template documentation pages) |
(No difference)
|
Latest revision as of 18:04, 12 November 2022
This is a documentation subpage for Template:BCP47. It contains usage information, categories and other content that is not part of the original Template page. |
This template translates a MediaWiki language code into a BCP47-compliant one to be used in HTML lang attributes. The two are mostly the same (for example, English’s code is “en” in both systems), but sometimes they are different (for example, Serbian using Latin script is “sr-el” in MediaWiki but “sr-latn” in BCP47). More extensive documentation at https://meta.wikimedia.org/wiki/Template:BCP47
Parameter | Description | Type | Status | |
---|---|---|---|---|
MediaWiki code | 1 | The MediaWiki language code
| Line | required |
Edit parameter translations