Template:UserLanguageSubcategory: Difference between revisions

make the layout/grammar the same as Template:LanguageCategory
m (Category:User language templates</noinclude>, tidy)
(make the layout/grammar the same as Template:LanguageCategory)
Line 1: Line 1:
<includeonly>{|border="0" align="right"
<includeonly>{|border="0" style=float:right; text-align:center
![[Template:Language|How it appears]]
![[Template:Language|How it appears]]
|-
|-
Line 11: Line 11:
----
----
}}
}}
{{#ifeq:{{{level}}}|0|These users '''don't understand''' '''[[:Category:{{LanguageNames|{{{1}}}}}|{{LanguageNames|{{{1}}}}}]]''' (or not very well, at least).|These users speak [[:Category:{{LanguageNames|{{{1}}}}}Speakers|'''{{LanguageNames|{{{1}}}}}''']] at {{#switch:{{{level}}}|1=a|2=an|3=an|4=a|5=a|N=a}} '''{{Language/{{{level}}}}}''' level.
{{#ifeq:{{{level}}}|0|The people in this [[Special:Categories|category]] listed below '''don't understand''' '''[[:Category:{{LanguageNames|{{{1}}}}}|{{LanguageNames|{{{1}}}}}]]''' (or not very well, at least).|The people in this [[Special:Categories|category]] listed below speak [[:Category:{{LanguageNames|{{{1}}}}}Speakers|'''{{LanguageNames|{{{1}}}}}''']] at {{#switch:{{{level}}}|1=a|2=an|3=an|4=a|5=a|N=a}} '''{{Language/{{{level}}}}}''' level.
}}
}}
==Levels==
==Levels==
{{#ifeq:{{{level}}}|0|*[[:Category:{{LanguageNames|{{{1}}}}}Speakers (0)|Not speaking]]|}}{{#ifeq:{{{level}}}|1||
{{#ifeq:{{{level}}}|0|'''0'''&nbsp;=&nbsp;[[:Category:{{LanguageNames|{{{1}}}}}Speakers (0)|Not speaking]]|}}{{#ifeq:{{{level}}}|1||,
*[[:Category:{{LanguageNames|{{{1}}}}}Speakers (1)|Basic]]}}{{#ifeq:{{{level}}}|2||
'''1'''&nbsp;=&nbsp;[[:Category:{{LanguageNames|{{{1}}}}}Speakers (1)|Basic]]}}{{#ifeq:{{{level}}}|2||,
*[[:Category:{{LanguageNames|{{{1}}}}}Speakers (2)|Intermediate]]}}{{#ifeq:{{{level}}}|3||
'''2'''&nbsp;=&nbsp;[[:Category:{{LanguageNames|{{{1}}}}}Speakers (2)|Intermediate]]}}{{#ifeq:{{{level}}}|3||,
*[[:Category:{{LanguageNames|{{{1}}}}}Speakers (3)|Advanced]]}}{{#ifeq:{{{level}}}|4||
'''3'''&nbsp;=&nbsp;[[:Category:{{LanguageNames|{{{1}}}}}Speakers (3)|Advanced]]}}{{#ifeq:{{{level}}}|4||,
*[[:Category:{{LanguageNames|{{{1}}}}}Speakers (4)|Near-native]]}}{{#ifeq:{{{level}}}|5||
'''4'''&nbsp;=&nbsp;[[:Category:{{LanguageNames|{{{1}}}}}Speakers (4)|Near-native]]}}{{#ifeq:{{{level}}}|5||,
*[[:Category:{{LanguageNames|{{{1}}}}}Speakers (5)|Professional]]}}{{#ifeq:{{{level}}}|N||
'''5'''&nbsp;=&nbsp;[[:Category:{{LanguageNames|{{{1}}}}}Speakers (5)|Professional]]}}{{#ifeq:{{{level}}}|N||,
*[[:Category:{{LanguageNames|{{{1}}}}}Speakers (N)|Native]]|}}
'''N'''&nbsp;=&nbsp;[[:Category:{{LanguageNames|{{{1}}}}}Speakers (N)|Native]]|}}
[[Category:{{LanguageNames|{{{1}}}}}Speakers|{{{level}}}]]</includeonly>
[[Category:{{LanguageNames|{{{1}}}}}Speakers|{{{level}}}]]__NOTOC__ __NOEDITSECTION__</includeonly><noinclude>
<noinclude>
This [[:Category:User language templates|user language template]] renders the appropriate page display in the subcategories of [[:Category:Wiki People by Language]].  This template has three outputs.
Used for [[:Category:Wiki People by Language]].  The [[:Category:Templates|template]] has three outputs.
*'''1''' — the language abbreviation, see [[Template:Language]]
*'''1''' — the language abbreviation, see [[Template:Language]]
*'''2''' — translation of "These users speak (language) at a (level) level". <tt>no</tt> if English.
*'''2''' — translation of "These users speak (language) at a (level) level"; <tt>no</tt> if English
*'''level''' — 0, 1, 2, 3, 4, 5 or N (for native)
*'''level''' — 0, 1, 2, 3, 4, 5 or N (for native)
;See also
;See also
*[[Template:LanguageCategory]]
*[[Template:LanguageCategory]] — for rendering the page display of the 'mother' [[Special:Categories|categories]] of [[:Category:Wiki People by Language]]


[[Category:User language templates]]</noinclude>
[[Category:User language templates|CategorySub]]</noinclude>