Template:Language: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
mNo edit summary
(float right)
Line 1: Line 1:
<includeonly><div style="float:left; border:solid #{{LanguageColours1|{{{2}}}}} 1px; margin:1px">
<includeonly><div style="float:right; border:solid #{{LanguageColours1|{{{2}}}}} 1px; margin:.1em">
{|cellspacing=0 style="width:230px; background:#{{LanguageColours2|{{{2}}}}}"
{|cellspacing=0 style="width:230px; background:#{{LanguageColours2|{{{2}}}}}"
|style="width:40px; height:45px; background:#{{LanguageColours3|{{{2}}}}}; text-align:center; font-size:13pt"|'''[[:Category:{{LanguageNames|{{{1}}}}}Speakers|{{{1}}}]]-{{{2}}}'''
|style="width:40px; height:45px; background:#{{LanguageColours3|{{{2}}}}}; text-align:center; font-size:13pt"|'''[[:Category:{{LanguageNames|{{{1}}}}}Speakers|{{{1}}}]]-{{{2}}}'''

Revision as of 11:07, 6 September 2021

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 in 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

Highlight the following code, copy (Ctrl+c on your keyboard), and paste (Ctrl+v) in the edit box of your user page, then amend the italics to the required information, before saving (Ctrl+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 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 languages 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.

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–5 or an N.

Sub-pages and related or linked templates