Template:Language: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
m (better sub-category)
(float the babel boxes to the right)
Line 1: Line 1:
<includeonly><div style="float:left; border:solid #{{LanguageColours1|{{{2}}}}} 1px;margin:1px">
<includeonly><div style="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}}}'''  
Line 7: Line 7:
|#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__ __NOEDITSECTION__
;Examples shown on the right
;Examples shown on the right
{|align="right"
{|style=float:right
|-
|-
|{{language|fr|N|cat=no}}
|{{language|fr|N|cat=no}}
Line 44: Line 44:
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&ndash;5 or an N.
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&ndash;5 or an N.


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

Revision as of 18:39, 21 September 2012


Examples shown on the right
[[: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]].

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.