Template:Language: Difference between revisions
Jump to navigation
Jump to search
Hoof Hearted (talk | contribs) (fix x/s whitespace) |
Hoof Hearted (talk | contribs) (width tweak to cope with Template:Personal infobox) |
||
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= | {|cellspacing=0 style="width:225px; 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:10pt; 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:10pt; 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> | ||
Line 28: | Line 28: | ||
;<big>Usage</big> | ;<big>Usage</big> | ||
<code><nowiki>{{language|code|level}}</nowiki></code><br> | <code><nowiki>{{language|code|level}}</nowiki></code><br> | ||
Where . . . | Where . . . | ||
* ''<tt>[[#Find code|code]]</tt>'' = the two-or-three code acronym for the language, and | * ''<tt>[[#Find code|code]]</tt>'' = the two-or-three code acronym for the language, and | ||
* ''<tt>level</tt>'' = a number/letter indicating how well the language is spoken: | * ''<tt>level</tt>'' = a number/letter indicating how well the language is spoken: | ||
Line 42: | Line 42: | ||
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. If it isn't there yet, write the language's name in English. You may also ask someone. | ||
;<big> | ;<big>Categorisation</big> | ||
All main language [[Special:Categories|categories]] can be found at [[: | 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. | ||
[[Category:User language templates| ]] | [[Category:User language templates| ]] | ||
[[Category:Category templates]] | [[Category:Category templates]] | ||
[[Category:Wiki People by Language| ]]</noinclude> | [[Category:Wiki People by Language| ]]</noinclude> |
Revision as of 16:24, 10 October 2017
| ||
| ||
| ||
| ||
| ||
| ||
|
- Some examples are shown on the right
- (red links indicate we have no person on WikiIndex who speaks that language at that level)
- Usage
{{language|code|level}}
Where . . .
- code = the two-or-three code acronym for the language, and
- 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 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. If it isn't there yet, write the language's 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 name of a language, and # is a number between 0–5 or an N.