Template:UserLanguageSubcategory: Difference between revisions
Jump to navigation
Jump to search
Hoof Hearted (talk | contribs) (Undid revision 214012 by Hoof Hearted (talk) - whoops, my mistake) |
Hoof Hearted (talk | contribs) (grammar improvements) |
||
Line 11: | Line 11: | ||
---- | ---- | ||
}} | }} | ||
{{#ifeq:{{{level}}}|0|The '''[[:Category:Wiki People|people]]''' in this [[Special:Categories|sub-category]] listed below ''' | {{#ifeq:{{{level}}}|0|The '''[[:Category:Wiki People|people]]''' in this [[Special:Categories|sub-category]] listed below '''do not understand''' '''[[:Category:{{LanguageNames|{{{1}}}}}|{{LanguageNames|{{{1}}}}}]]''' (or not very well, at least, but would like to).|The '''[[:Category:Wiki People|people]]''' in this [[Special:Categories|sub-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== | ||
Line 24: | Line 24: | ||
[[Category:{{LanguageNames|{{{1}}}}}| ]]__NOTOC__ __NOEDITSECTION__</includeonly><noinclude> | [[Category:{{LanguageNames|{{{1}}}}}| ]]__NOTOC__ __NOEDITSECTION__</includeonly><noinclude> | ||
This {{tag|User language templates|user language template}} renders the appropriate page display in the specific {{tag|language}} sub-categories of [[:category: Wiki People by Language]]. This template has three (3) input requirements – immediately after <code>{{UserLanguageSubcategory| . . .</code>. | This {{tag|User language templates|user language template}} renders the appropriate page display in the specific {{tag|language}} sub-categories of [[:category: Wiki People by Language]]. This template has three (3) input requirements – immediately after <code>{{UserLanguageSubcategory| . . .</code>. | ||
*'''1st''' — the two- (or three-) letter | *'''1st''' — the two- (or three-) letter {{W|ISO 639}} language code; see [[template:Language]]; | ||
*'''2nd''' — native translation of "These users speak (language) at a (level) level"; if <code>no</code> is entered, only the English description will be displayed; | *'''2nd''' — native translation of "These users speak (language) at a (level) level"; if <code>no</code> is entered, only the English description will be displayed; | ||
*'''level''' — 0, 1, 2, 3, 4, 5, or N (for 'native'). | *'''level''' — 0, 1, 2, 3, 4, 5, or N (for 'native'). |
Revision as of 22:56, 19 July 2021
This user language template renders the appropriate page display in the specific language sub-categories of category: Wiki People by Language. This template has three (3) input requirements – immediately after {{UserLanguageSubcategory| . . .
.
- 1st — the two- (or three-) letter Template:W language code; see template:Language;
- 2nd — native translation of "These users speak (language) at a (level) level"; if
no
is entered, only the English description will be displayed; - level — 0, 1, 2, 3, 4, 5, or N (for 'native').
- Usage
{{UserLanguageSubcategory|ISO 639 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 sub-category 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 sub-category 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