Template:Language: Difference between revisions
Jump to navigation
Jump to search
Hoof Hearted (talk | contribs) |
Hoof Hearted (talk | contribs) m (better sub-category) |
||
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: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}}}}}Speakers|{{{1}}}]]-{{{2}}}''' | |style="width:45px; height:45px; background:#{{LanguageColours3|{{{2}}}}}; text-align:center; font-size:14pt"|'''[[:Category:{{LanguageNames|{{{1}}}}}Speakers|{{{1}}}]]-{{{2}}}''' | ||
| style="font-size:8pt;padding:4pt;line-height:1.25em" | This person is {{#switch:{{{2}}}|2=an|3=an|#default=a}} [[:Category:{{LanguageNames|{{{1}}}}}Speakers ({{{2}}})|{{lc:{{Language/{{{2}}}}}}} {{LanguageNames|{{{1}}}}} speaker]]. | |style="font-size:8pt; padding:4pt; line-height:1.25em"|This person is {{#switch:{{{2}}}|2=an|3=an|#default=a}} [[:Category:{{LanguageNames|{{{1}}}}}Speakers ({{{2}}})|{{lc:{{Language/{{{2}}}}}}} {{LanguageNames|{{{1}}}}} speaker]]. | ||
|}</div>{{#switch:{{{cat}}} | |}</div>{{#switch:{{{cat}}} | ||
| no = | |no= | ||
| #default=[[Category:{{LanguageNames|{{{1}}}}}Speakers|{{PAGENAME}}]][[Category:{{LanguageNames|{{{1}}}}}Speakers ({{{2}}})|{{PAGENAME}}]] | |#default=[[Category:{{LanguageNames|{{{1}}}}}Speakers|{{PAGENAME}}]][[Category:{{LanguageNames|{{{1}}}}}Speakers ({{{2}}})|{{PAGENAME}}]] | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
__NOTOC__ | __NOTOC__ | ||
Line 45: | Line 45: | ||
[[Category:Wiki People by Language| ]] | [[Category:Wiki People by Language| ]] | ||
[[Category: | [[Category:User language templates| ]]</noinclude> |
Revision as of 13:36, 7 January 2012
- Examples shown on the right
| ||
| ||
| ||
| ||
| ||
| ||
|
Usage
{{language|code|level}}
- Code = the two/three code acronym for the language
- Level = a number/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 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. You may also ask someone.
Categorization
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 name of a language, and # is a number between 0–5 or an N.