Welcome to the Virtual Education Wiki ~ Open Education Wiki

Template:Language: Difference between revisions

From Virtual Education Wiki
Jump to navigation Jump to search
(interim save of R3)
(added non-edittable field for Wikipedia page)
Line 8: Line 8:
langcode (label=Language code (ISO 639-1); list; property=Has langcode)
langcode (label=Language code (ISO 639-1); list; property=Has langcode)
|langcode2 (label=Language code (ISO 639-2) 3-char; list; property=Has langcode bis)
|langcode2 (label=Language code (ISO 639-2) 3-char; list; property=Has langcode bis)
|numL1 (label=First-language speakers; property=Has population)
|numL1 (label=Native speakers (L1); property=Has population)
|numL2 (label=Second-language speakers; property=Has population bis)
|numL2 (label=Second-language speakers (L2); property=Has population bis)
}}
}}
[[Category:Languages/tools]]
[[Category:Languages/tools]]
Line 27: Line 27:
! 2nd language speakers (L2)  
! 2nd language speakers (L2)  
| [[Has population bis::{{{numL2|}}}]]
| [[Has population bis::{{{numL2|}}}]]
|-
! Wikipedia page to check
| [[wikipedia:{{PAGENAME}} language]]
|}
|}


[[Category:Languages]][[Category:VISCED]]
[[Category:Languages]][[Category:VISCED]]
</includeonly>
</includeonly>

Revision as of 14:43, 12 May 2023

Release levels:

  1. one field, for language code (ISO 639-1)
  2. an extra field for ISO 639-2 3-char values.
  3. two extra fields for L1 and L2 speaker numbers.

This is the "Language" template.

It should be called in the following format:

{{Language
|langcode=
|langcode2=
|numL1=
|numL2=
}}

Edit the page to see the template text.