Template:UserLanguageSubcategory: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(display example)
(make it clear these are 'sub' categories)
Line 11: Line 11:
----
----
}}
}}
{{#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.
{{#ifeq:{{{level}}}|0|The people in this [[Special:Categories|subcategory]] listed below '''don't understand''' '''[[:Category:{{LanguageNames|{{{1}}}}}|{{LanguageNames|{{{1}}}}}]]''' (or not very well, at least).|The people in this [[Special:Categories|subcategory]] 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==
Line 33: Line 33:
::which displays at the top of the page:
::which displays at the top of the page:
:::De här användarna har '''svenska''' som '''modersmål'''.
:::De här användarna har '''svenska''' som '''modersmål'''.
:::The people in this [[Special:Categories|category]] listed below speak '''[[:Category:Swedish|Swedish]]''' at a '''Native''' level.
:::The people in this [[Special:Categories|subcategory]] listed below speak '''[[:Category:Swedish|Swedish]]''' at a '''Native''' level.
;See also
;See also
*[[Template:LanguageCategory]] — for rendering the page display of the 'mother' [[Special:Categories|categories]] of [[:Category:Wiki People by Language]]
*[[Template:LanguageCategory]] — for rendering the page display of the 'mother' [[Special:Categories|categories]] of [[:Category:Wiki People by Language]]

Revision as of 12:16, 22 September 2012

This user language template renders the appropriate page display in the subcategories of Category:Wiki People by Language. This template has three outputs.

  • 1 — the language abbreviation, see Template:Language
  • 2 — translation of "These users speak (language) at a (level) level"; no if English
  • level — 0, 1, 2, 3, 4, 5 or N (for native)
Usage

{{LanguageSubcategory|code|native language translation}}

three-output one-language example: {{LanguageSubcategory|ro|no|level=3}}
three-output two-language example: {{LanguageSubcategory|sv|De här användarna har '''svenska''' som '''modersmål'''.|level=N}}
which displays at the top of the page:
De här användarna har svenska som modersmål.
The people in this subcategory listed below speak Swedish at a Native level.
See also