Template:Language: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(smiddle, I want subcategories for languages by level)
No edit summary
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}}}}}}}-{{#switch:{{{2}}}
| style="font-size:8pt;padding:4pt;line-height:1.25em" | This user is [[Category:{{LanguageNames|{{{1}}}}}}}Speakers ({{{2}}})|{{#switch:{{{2}}}
| 0 =0 not able to communicate with another
| 0 =0 not able to communicate with another
| 1 =1 a basic
| 1 =1 a basic
Line 12: Line 12:
| U =U an unknown level
| U =U an unknown level
| | U an unknown level | #default=U an unknown level
| | U an unknown level | #default=U an unknown level
}}]</span class> [[:Category:{{LanguageNames|{{{1}}}}}Speakers|{{LanguageNames|{{{1}}}}}Speaker]].
}}]] [[: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}}}]]
| [[Category:{{LanguageNames|{{{1}}}}}Speakers|{{PAGENAME}}]] [[Category:{{LanguageNames|{{{1}}}}}Speakers ({{{2}}})]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
==Usage==
==Usage==

Revision as of 14:46, 2 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}}Speakers (N)|N a native]] [[:Category:Template:LanguageNamesSpeakers|Template:LanguageNamesSpeaker]].
[[:Category:Template:LanguageNames|en]]-5 This user is [[Category:Template:LanguageNames}}Speakers (5)|5 a professional]] [[:Category:Template:LanguageNamesSpeakers|Template:LanguageNamesSpeaker]].
[[:Category:Template:LanguageNames|de]]-4 This user is [[Category:Template:LanguageNames}}Speakers (4)|4 a near native]] [[:Category:Template:LanguageNamesSpeakers|Template:LanguageNamesSpeaker]].
[[:Category:Template:LanguageNames|es]]-3 This user is [[Category:Template:LanguageNames}}Speakers (3)|3 an advanced]] [[:Category:Template:LanguageNamesSpeakers|Template:LanguageNamesSpeaker]].
[[:Category:Template:LanguageNames|pt]]-2 This user is [[Category:Template:LanguageNames}}Speakers (2)|2 an intermediate]] [[:Category:Template:LanguageNamesSpeakers|Template:LanguageNamesSpeaker]].
[[:Category:Template:LanguageNames|it]]-1 This user is [[Category:Template:LanguageNames}}Speakers (1)|1 a basic]] [[:Category:Template:LanguageNamesSpeakers|Template:LanguageNamesSpeaker]].
[[:Category:Template:LanguageNames|zh]]-0 This user is [[Category:Template:LanguageNames}}Speakers (0)|0 not able to communicate with another]] [[:Category:Template:LanguageNamesSpeakers|Template:LanguageNamesSpeaker]].