Welcome to the Virtual Education Wiki ~ Open Education Wiki

Template:Language: Difference between revisions

From Virtual Education Wiki
Jump to navigation Jump to search
No edit summary
(removed {{#template_params: 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) |numL1 (label=Native speakers (L1); property=Has population) |numL2 (label=Second-language speakers (L2); property=Has population bis) }})
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
# two extra fields for L1 and L2 speaker numbers.
# two extra fields for L1 and L2 speaker numbers.


It should be called in the following format:
<pre>
{{Language
|langcode
|langcode2
|numL1
|numL2
}}
</pre>
{{#template_params:
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)
|numL1 (label=Native speakers (L1); property=Has population)
|numL2 (label=Second-language speakers (L2); property=Has population bis)
}}
[[Category:Languages/tools]]
[[Category:Languages/tools]]
</noinclude>
</noinclude>
<includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
<includeonly>{{#template_display:_format=infobox}}
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
|-
|-

Latest revision as of 15:21, 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.