Template:UserLanguageSubcategory: Difference between revisions
Jump to navigation
Jump to search
Hoof Hearted (talk | contribs) |
Hoof Hearted (talk | contribs) (wikilinks) |
||
Line 11: | Line 11: | ||
---- | ---- | ||
}} | }} | ||
{{#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. | {{#ifeq:{{{level}}}|0|The [[:Category:Wiki People|people]] in this [[Special:Categories|subcategory]] listed below '''don't understand''' '''[[:Category:{{LanguageNames|{{{1}}}}}|{{LanguageNames|{{{1}}}}}]]''' (or not very well, at least).|The [[:Category:Wiki People|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 23: | Line 23: | ||
[[Category:{{LanguageNames|{{{1}}}}}Speakers| ]] | [[Category:{{LanguageNames|{{{1}}}}}Speakers| ]] | ||
[[Category:{{LanguageNames|{{{1}}}}}| ]]__NOTOC__ __NOEDITSECTION__</includeonly><noinclude> | [[Category:{{LanguageNames|{{{1}}}}}| ]]__NOTOC__ __NOEDITSECTION__</includeonly><noinclude> | ||
This [[:Category:User language templates|user language template]] renders the appropriate page display in the specific language subcategories of [[: | This [[:Category:User language templates|user language template]] renders the appropriate page display in the specific language subcategories of [[:category: Wiki People by Language]]. This template has three input requirements. | ||
*'''1st''' — the language abbreviation, see [[ | *'''1st''' — the language abbreviation, see [[template:Language]] | ||
*'''2nd''' — translation of "These users speak (language) at a (level) level"; <tt>no</tt> if English | *'''2nd''' — translation of "These users speak (language) at a (level) level"; <tt>no</tt> if only English is to be displayed | ||
*'''level''' — 0, 1, 2, 3, 4, 5 or N (for native) | *'''level''' — 0, 1, 2, 3, 4, 5 or N (for native) | ||
;Usage | ;Usage | ||
Line 31: | Line 31: | ||
*three-input one-language output example: <code><nowiki>{{UserLanguageSubcategory|de|no|level=3}}</nowiki></code> | *three-input one-language output example: <code><nowiki>{{UserLanguageSubcategory|de|no|level=3}}</nowiki></code> | ||
::which displays at the top of the page: | ::which displays at the top of the page: | ||
:::The people in this [[Special:Categories|subcategory]] listed below speak '''[[:Category:German|German]]''' at an '''Advanced''' level. | :::The [[:Category:Wiki People|people]] in this [[Special:Categories|subcategory]] listed below speak '''[[:Category:German|German]]''' at an '''Advanced''' level. | ||
*three-input two-language output example: <code><nowiki>{{UserLanguageSubcategory|sv|De här användarna har '''svenska''' som '''modersmål'''.|level=N}}</nowiki></code> | *three-input two-language output example: <code><nowiki>{{UserLanguageSubcategory|sv|De här användarna har '''svenska''' som '''modersmål'''.|level=N}}</nowiki></code> | ||
::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|subcategory]] listed below speak '''[[:Category:Swedish|Swedish]]''' at a '''Native''' level. | :::The [[:Category:Wiki People|people]] in this [[Special:Categories|subcategory]] listed below speak '''[[:Category:Swedish|Swedish]]''' at a '''Native''' level. | ||
;See also | ;See also | ||
*[[Template:UserLanguageCategory]] — for rendering the page display of the 'mother' language [[Special:Categories|categories]] of [[: | *[[Template:UserLanguageCategory]] — for rendering the page display of the 'mother' language [[Special:Categories|categories]] of [[:category: Wiki People by Language]] | ||
[[Category:User language templates]] | [[Category:User language templates]] |
Revision as of 13:50, 21 June 2014
This user language template renders the appropriate page display in the specific language subcategories of category: Wiki People by Language. This template has three input requirements.
- 1st — the language abbreviation, see template:Language
- 2nd — translation of "These users speak (language) at a (level) level"; no if only English is to be displayed
- level — 0, 1, 2, 3, 4, 5 or N (for native)
- Usage
{{UserLanguageSubcategory|code|native language translation|level=?}}
- three-input one-language output example:
{{UserLanguageSubcategory|de|no|level=3}}
- which displays at the top of the page:
- The people in this subcategory listed below speak German at an Advanced level.
- which displays at the top of the page:
- three-input two-language output example:
{{UserLanguageSubcategory|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.
- which displays at the top of the page:
- See also
- Template:UserLanguageCategory — for rendering the page display of the 'mother' language categories of category: Wiki People by Language