Template:Language: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(*{{WMF-Meta|Template:List of language names ordered by code}} — at Wikimedia Meta-Wiki)
(OED definition, clarity tweaks)
Line 8: Line 8:
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{|style=float:right
{|style=float:right
!examples below
![[Oxford-Dict:babel|babel]] examples below
|-
|-
|{{Language|fr|N|cat=no}}
|{{Language|fr|N|cat=no}}
Line 27: Line 27:
:''([[red link]]s indicate we have no {{tag|Wiki People by Language|person}} on WikiIndex who speaks that {{tag|language}} at that level)''
:''([[red link]]s indicate we have no {{tag|Wiki People by Language|person}} on WikiIndex who speaks that {{tag|language}} at that level)''


This {{tag|User language templates|user language template}} renders the appropriate specific '''{{tag|language}}''' 'babel' user-box (examples shown right); as used in individual '''[[user page]]s''' of those [[:Category:Wiki People|people]] who identify their {{tag|Wiki People by Language|spoken language(s)}}, along with any 'parent' [[Special:Categories|category]] and its associated sub-categories of [[:category: Wiki People by Language]].
This {{tag|User language templates|user language template}} renders the appropriate specific '''{{tag|language}}''' '[[Oxford-Dict:babel|babel]]' user-box (examples shown right); as used on personal individual '''[[user page]]s''' of those [[:Category:Wiki People|people]] who identify their {{tag|Wiki People by Language|spoken language(s)}}, along with any 'parent' [[Special:Categories|category]] and its associated sub-categories of [[:category: Wiki People by Language]].


This [[Special:Templates|template]] has two (2) input requirements immediately after <code>{{Language| . . .</code>.
This [[Special:Templates|template]] has two (2) input requirements; immediately after <code>{{Language| . . .</code>.
*'''1st''' — ''ISO 639 code'' – the {{Wp|List of ISO 639-1 codes|two}}- or {{Wp|List of ISO 639-3 codes|three}}- letter {{Wp|ISO 639}} language code;
*'''1st''' — ''ISO 639 code'' – the {{Wp|List of ISO 639-1 codes|two}}- or {{Wp|List of ISO 639-3 codes|three}}- letter {{Wp|ISO 639}} language code;
*'''2nd''' — ''level'' – 0, 1, 2, 3, 4, 5, or N (for 'native').
*'''2nd''' — ''level'' – 0, 1, 2, 3, 4, 5, or N (for 'native').


===Usage===
===Usage===
Highlight the following code, copy (<tt>Ctrl+c</tt> on your keyboard), and paste (<tt>Ctrl+v</tt>) in the [[edit box]] of your [[user page]], then amend the ''italics'' to the required information, before saving (<tt>Ctrl+s</tt>) your [[edit]].
To use a [[Oxford-Dict:babel|babel]] box on your own [[user page]], highlight the following code, copy (<tt>Ctrl-c</tt> on your Windows keyboard, or <tt>⌘-c</tt> on a Macintosh keyboard), paste (<tt>Ctrl-v</tt> or <tt>⌘-v</tt>) it in the [[edit box]] of your user page, then amend the two '''''bold-italics''''' to the required information, before saving (<tt>Ctrl-s</tt> or <tt>⌘-s</tt>) your [[edit]].


<code><nowiki>{{Language|</nowiki>''<nowiki>ISO 639 code</nowiki>''|level=''<nowiki>?</nowiki>''<nowiki>}}</nowiki></code><br>
<code><nowiki>{{Language|</nowiki>'''''<nowiki>ISO 639 code</nowiki>'''''|level='''''<nowiki>?</nowiki>'''''<nowiki>}}</nowiki></code><br>
Where . . .
Where . . .
*''<tt>[[#Find code|ISO 639 code]]</tt>'' — the {{Wp|List of ISO 639-1 codes|two}}- or {{Wp|List of ISO 639-3 codes|three}}- letter language code, and;
*<tt>'''''[[#Find code|ISO 639 code]]'''''</tt> — the {{Wp|List of ISO 639-1 codes|two}}- or {{Wp|List of ISO 639-3 codes|three}}- letter language code, and;
*''<tt>level=?</tt>'' — a <u>letter</u> ''or'' <u>number</u> indicating how well, or proficiency the language is spoken:
*<tt>level='''''?'''''</tt> — a <u>letter</u> ''or'' <u>number</u> indicating how well, or proficiency and competency the language is spoken:
**'''N''' — native
**'''N''' — native
**'''5''' — professional
**'''5''' — professional
Line 49: Line 49:


===Find code===
===Find code===
The [[English Wikipedia]] has articles on the {{Wp|ISO 639}} language codes.  To find the specific code for a language, see the {{Wp|List of ISO 639-1 codes#Partial ISO 639 table|list of ISO 639-1 codes}}; and in the table of languages, look at the column saying '''639-1'''.  If the language you seek is not there, see {{Wp|list of ISO 639-2 codes}}, and look at the '''Alpha-3''' column.  If it still is not there, look at {{Wp|List of ISO 639-3 codes|the ISO 639-3 codes list}}, and click a letter.  Finally, if it is not there yet, write the name of the required languages in English.  You may also ask someone, or look for fellow users on any of the language versions of [[:Category:Wikipedia|Wikipedia]].  Finally, [[template: Wikipedia]] has many examples of ISO 639-1 language codes.
The [[English Wikipedia]] has articles on the {{Wp|ISO 639}} language codes.  To find the specific code for a language, see the {{Wp|List of ISO 639-1 codes#Partial ISO 639 table|list of ISO 639-1 codes}}; and in the table of languages, look at the column saying '''639-1'''.  If the language you seek is not there, see {{Wp|list of ISO 639-2 codes}}, and look at the '''Alpha-3''' column.  If it still is not there, look at {{Wp|List of ISO 639-3 codes|the ISO 639-3 codes list}}, and click a letter.  Finally, if it is not there yet, write the name of the required language in English.  You may also ask someone, or look for fellow users on any of the language versions of [[:Category:Wikipedia|Wikipedia]].  Finally, [[template: Wikipedia]] has many examples of ISO 639-1 language codes.


;''See also
;''See also
*{{WMF-Meta|Template:List of language names ordered by code}} — at [[Wikimedia Meta-Wiki]]
*{{WMF-Meta|Template: List of language names ordered by code}} — at [[Wikimedia Meta-Wiki]]


===Categorisation===
===Categorisation===
All main language [[Special:Categories|categories]] can be found at [[:category: Wiki People by Language]], and all sub-categories can be found at Category:<tt>Language</tt>Speakers (<tt>#</tt>), where <tt>Language</tt> is the anglicised name of a language, and <tt>#</tt> is a number between 0–5 or an N.
All main language [[Special:Categories|categories]] can be found at [[:category: Wiki People by Language]], and all sub-categories can be found at Category:<tt><mark>Language</mark></tt>Speakers (<tt><mark>#</mark></tt>), where <tt><mark>Language</mark></tt> is the <u>anglicised</u> name of a language, and <tt><mark>#</mark></tt> is a number between 0-to-5 or an N.


===Sub-pages and related or linked templates===
===Sub-pages and related or linked templates===
{{Special:PrefixIndex/{{FULLPAGENAME}}}}
{{Special:PrefixIndex/{{FULLPAGENAME}}}}
[[Category:Wiki People by Language| ]]
[[Category:Wiki People by Language| ]]
[[Category:Language| ]]
[[Category:Language| ]]

Revision as of 01:55, 2 December 2021

babel examples below
[[:Category:Template:LanguageNamesSpeakers|fr]]-N This person is a [[:Category:Template:LanguageNamesSpeakers (N)|native Template:LanguageNames speaker]].
[[:Category:Template:LanguageNamesSpeakers|en]]-5 This person is a [[:Category:Template:LanguageNamesSpeakers (5)|professional Template:LanguageNames speaker]].
[[:Category:Template:LanguageNamesSpeakers|de]]-4 This person is a [[:Category:Template:LanguageNamesSpeakers (4)|near native Template:LanguageNames speaker]].
[[:Category:Template:LanguageNamesSpeakers|es]]-3 This person is an [[:Category:Template:LanguageNamesSpeakers (3)|advanced Template:LanguageNames speaker]].
[[:Category:Template:LanguageNamesSpeakers|pt]]-2 This person is an [[:Category:Template:LanguageNamesSpeakers (2)|intermediate Template:LanguageNames speaker]].
[[:Category:Template:LanguageNamesSpeakers|it]]-1 This person is a [[:Category:Template:LanguageNamesSpeakers (1)|basic Template:LanguageNames speaker]].
[[:Category:Template:LanguageNamesSpeakers|zh]]-0 This person is a [[:Category:Template:LanguageNamesSpeakers (0)|non Template:LanguageNames speaker]].
Some examples are shown on the right
(red links indicate we have no person on WikiIndex who speaks that language at that level)

This user language template renders the appropriate specific language 'babel' user-box (examples shown right); as used on personal individual user pages of those people who identify their spoken language(s), along with any 'parent' category and its associated sub-categories of category: Wiki People by Language.

This template has two (2) input requirements; immediately after {{Language| . . ..

  • 1stISO 639 code – the two- or three- letter ISO 639 language code;
  • 2ndlevel – 0, 1, 2, 3, 4, 5, or N (for 'native').

Usage

To use a babel box on your own user page, highlight the following code, copy (Ctrl-c on your Windows keyboard, or ⌘-c on a Macintosh keyboard), paste (Ctrl-v or ⌘-v) it in the edit box of your user page, then amend the two bold-italics to the required information, before saving (Ctrl-s or ⌘-s) your edit.

{{Language|ISO 639 code|level=?}}
Where . . .

  • ISO 639 code — the two- or three- letter language code, and;
  • level=? — a letter or number indicating how well, or proficiency and competency the language is spoken:
    • N — native
    • 5 — professional
    • 4 — near native
    • 3 — advanced
    • 2 — intermediate
    • 1 — basic
    • 0 — not able to speak

Find code

The English Wikipedia has articles on the ISO 639 language codes. To find the specific code for a language, see the list of ISO 639-1 codes; and in the table of languages, look at the column saying 639-1. If the language you seek is not there, see list of ISO 639-2 codes, and look at the Alpha-3 column. If it still is not there, look at the ISO 639-3 codes list, and click a letter. Finally, if it is not there yet, write the name of the required language in English. You may also ask someone, or look for fellow users on any of the language versions of Wikipedia. Finally, template: Wikipedia has many examples of ISO 639-1 language codes.

See also

Categorisation

All main language categories can be found at category: Wiki People by Language, and all sub-categories can be found at Category:LanguageSpeakers (#), where Language is the anglicised name of a language, and # is a number between 0-to-5 or an N.

Sub-pages and related or linked templates