Template:Language: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
No edit summary
(2nd try)
Line 2: Line 2:
{| cellspacing="0" style="width:238px;background:#{{LanguageColours2|{{{2}}}}};"
{| cellspacing="0" style="width:238px;background:#{{LanguageColours2|{{{2}}}}};"
| style="width:45px;height:45px;background:#{{LanguageColours3|{{{2}}}}};text-align:center;font-size:14pt" | '''[[:Category:{{LanguageNames|{{{1}}}}}|{{{1}}}]]-{{{2}}}'''  
| style="width:45px;height:45px;background:#{{LanguageColours3|{{{2}}}}};text-align:center;font-size:14pt" | '''[[:Category:{{LanguageNames|{{{1}}}}}|{{{1}}}]]-{{{2}}}'''  
| style="font-size:8pt;padding:4pt;line-height:1.25em" | This user is <span class="plainlinks">[{{SERVER}}{{LOCALURL:Category:{{LanguageNames|{{{1}}}}}}}&from={{#switch:{{{2}}}
| style="font-size:8pt;padding:4pt;line-height:1.25em" | This user is [[Category:{{LanguageNames|{{{1}}}}}}} ({{{2}}})|{{#switch:{{{2}}}
| 0 =0 not able to communicate with another
| 0 =not able to communicate with another
| 1 =1 a basic
| 1 =a basic
| 2 =2 an intermediate
| 2 =an intermediate
| 3 =3 an advanced
| 3 =an advanced
| 4 =4 a near native
| 4 =a near native
| 5 =5 a professional
| 5 =a professional
| N =N a native
| N =a native
| U =U an unknown level
| #default=U an unknown level
| | U an unknown level | #default=U an unknown level
}}]] [[:Category:{{LanguageNames|{{{1}}}}}Speakers|{{LanguageNames|{{{1}}}}}Speaker]].
}}]</span class> [[:Category:{{LanguageNames|{{{1}}}}}Speakers|{{LanguageNames|{{{1}}}}}Speaker]].
|}</div>{{#switch:{{{cat}}}
|}</div>{{#switch:{{{cat}}}
| yes = [[Category:{{LanguageNames|{{{1}}}}}Speakers|{{{2}}}]]
| no =  
| no =  
| | [[Category:{{LanguageNames|{{{1}}}}}Speakers|{{{2}}}]] | #default=[[Category:{{LanguageNames|{{{1}}}}}Speakers|{{{2}}}]]
| #default=[[Category:{{LanguageNames|{{{1}}}}}Speakers|{{PAGENAME}}]][[Category:{{LanguageNames|{{{1}}}}}Speakers ({{{2}}})|{{PAGENAME}}]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
==Usage==
==Usage==

Revision as of 14:41, 3 March 2007

Usage

{{language|code|level}}

  • Code* = the two/three code acronym for the language
  • Level = A number/letter 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 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. If it isn't there yet, write the language's name in English.

Examples

[[:Category:Template:LanguageNames|fr]]-N This user is [[Category:Template:LanguageNames}} (N)|a native]] [[:Category:Template:LanguageNamesSpeakers|Template:LanguageNamesSpeaker]].
[[:Category:Template:LanguageNames|en]]-5 This user is [[Category:Template:LanguageNames}} (5)|a professional]] [[:Category:Template:LanguageNamesSpeakers|Template:LanguageNamesSpeaker]].
[[:Category:Template:LanguageNames|de]]-4 This user is [[Category:Template:LanguageNames}} (4)|a near native]] [[:Category:Template:LanguageNamesSpeakers|Template:LanguageNamesSpeaker]].
[[:Category:Template:LanguageNames|es]]-3 This user is [[Category:Template:LanguageNames}} (3)|an advanced]] [[:Category:Template:LanguageNamesSpeakers|Template:LanguageNamesSpeaker]].
[[:Category:Template:LanguageNames|pt]]-2 This user is [[Category:Template:LanguageNames}} (2)|an intermediate]] [[:Category:Template:LanguageNamesSpeakers|Template:LanguageNamesSpeaker]].
[[:Category:Template:LanguageNames|it]]-1 This user is [[Category:Template:LanguageNames}} (1)|a basic]] [[:Category:Template:LanguageNamesSpeakers|Template:LanguageNamesSpeaker]].
[[:Category:Template:LanguageNames|zh]]-0 This user is [[Category:Template:LanguageNames}} (0)|not able to communicate with another]] [[:Category:Template:LanguageNamesSpeakers|Template:LanguageNamesSpeaker]].