Template:Language: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
m (upper case)
(full description, additional tags & wikilinks, Sub-pages and related or linked templates)
Line 1: Line 1:
<includeonly><div style="float:left; border:solid #{{LanguageColours1|{{{2}}}}} 1px;margin:1px">
<includeonly><div style="float:left; border:solid #{{LanguageColours1|{{{2}}}}} 1px; margin:1px">
{|cellspacing=0 style="width:225px; background:#{{LanguageColours2|{{{2}}}}}"
{|cellspacing=0 style="width:225px; 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}}}'''
Line 8: Line 8:
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{|style=float:right
{|style=float:right
!examples
|-
|-
|{{Language|fr|N|cat=no}}
|{{Language|fr|N|cat=no}}
Line 24: Line 25:
|}
|}
;Some examples are shown on the right
;Some examples are shown on the right
:''([[red link]]s indicate we have no person on WikiIndex who speaks that 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)''


;<big>Usage</big>
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 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 template has two (2) input requirements – immediately after <code>{{Language| . . .</code>.
<code><nowiki>{{Language|code|level}}</nowiki></code><br>
*'''1st''' — ''ISO 639 code'' – the two- (or three-) letter [[wp:ISO 639|ISO 639]] language code;
*'''2nd''' — ''level'' – 0, 1, 2, 3, 4, 5, or N (for 'native').
 
;''<big>Usage</big>
<code><nowiki>{{Language|</nowiki>''<nowiki>ISO 639 code</nowiki>''|level=''<nowiki>?</nowiki>''<nowiki>}}</nowiki></code><br>
Where . . .
Where . . .
* ''<tt>[[#Find code|code]]</tt>'' = the two-or-three code acronym for the language, and
* ''<tt>[[#Find code|ISO 639 code]]</tt>'' the two-or-three letter language code, and;
* ''<tt>level</tt>'' = a number/letter indicating how well the language is spoken:
* ''<tt>level=?</tt>'' a number or letter indicating how well the language is spoken:
** 0 — not able to speak
** 0 — not able to speak
** 1 — basic
** 1 — basic
Line 39: Line 44:
** N — native
** N — native


;<big>Find code</big>
;''<big>Find code</big>
See [[wp:List of ISO 639-1 codes#Partial ISO 639 table|Wikipedia: List of ISO 639-1 codes]], and in the table of languages, look at the column saying '''"639-1"'''.  If your language isn't there, see [[Wikipedia: List of ISO 639-2 codes]], and look at the '''Alpha-3''' column.  If it still isn't there, look at [[wp:List of ISO 639-3 codes|the ISO 639-3 codes list]] and click a letter.  If it isn't there yet, write the language's name in English.  You may also ask someone.
See [[wp:List of ISO 639-1 codes#Partial ISO 639 table|Wikipedia: List of ISO 639-1 codes]]; and in the table of languages, look at the column saying '''639-1'''.  If your language isn't there, see [[Wikipedia: List of ISO 639-2 codes]], and look at the '''Alpha-3''' column.  If it still isn't there, look at [[wp:List of ISO 639-3 codes|the ISO 639-3 codes list]], and click a letter.  Finally, if it isn't there yet, write the languages' name in English.  You may also ask someone.
 
;''<big>Categorisation</big>
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.


;<big>Categorisation</big>
;''<big>Sub-pages and related or linked templates</big>
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 name of a language, and <tt>#</tt> is a number between 0–5 or an N.
{{Special:PrefixIndex/{{FULLPAGENAME}}}}


[[Category:Wiki People by Language| ]]
[[Category:Language| ]]
[[Category:User language templates| ]]
[[Category:User language templates| ]]
[[Category:Category templates]]
[[Category:Category templates]]</noinclude>
[[Category:Wiki People by Language| ]]</noinclude>

Revision as of 20:02, 5 December 2019

examples
[[: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 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

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

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

See Wikipedia: List of ISO 639-1 codes; and in the table of languages, look at the column saying 639-1. If your language isn't there, see Wikipedia: List of ISO 639-2 codes, and look at the Alpha-3 column. If it still isn't there, look at the ISO 639-3 codes list, and click a letter. Finally, if it isn't there yet, write the languages' name in English. You may also ask someone.

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