Template:UserLanguageCategory: Difference between revisions
Jump to navigation
Jump to search
Hoof Hearted (talk | contribs) m (upper case) |
Hoof Hearted (talk | contribs) (improve grammar) |
||
Line 32: | Line 32: | ||
{{#switch:{{{2}}} | {{#switch:{{{2}}} | ||
|no= | |no= | ||
|#default= {{{2}}} | |#default={{{2}}} | ||
---- | ---- | ||
}} | }} | ||
The [[:Category:Wiki People|people]] in this [[Special:Categories|category]] listed below | The '''[[:Category:Wiki People|people]]''' in this [[Special:Categories|category]] listed below '''speak {{tag|{{LanguageNames|{{{1}}}}}}}'''. | ||
==Info== | ==Info== | ||
*ISO 639 language code: '''{{{1}}}''' | *[[wp:ISO 639|ISO 639]] language code: <big>'''{{{1}}}'''</big> | ||
{{#switch:{{{3}}} | {{#switch:{{{3}}} | ||
|no= | |no= | ||
|#default=*[[wp:{{{3|{{LanguageNames|{{{1}}}}} language}}}|English Wikipedia article]] | |#default=*[[wp:{{{3|{{LanguageNames|{{{1}}}}} language}}}|English Wikipedia language article]] | ||
}} | }} | ||
*Native name: '''{{#language:{{{1}}}}}''' | *Native language name: '''{{#language:{{{1}}}}}''' | ||
==Levels== | ==Levels== | ||
'''0''' = [[:{{FULLPAGENAME}} (0)| | '''0''' = [[:{{FULLPAGENAME}} (0)|not speaking]], | ||
'''1''' = [[:{{FULLPAGENAME}} (1)| | '''1''' = [[:{{FULLPAGENAME}} (1)|basic]], | ||
'''2''' = [[:{{FULLPAGENAME}} (2)| | '''2''' = [[:{{FULLPAGENAME}} (2)|intermediate]], | ||
'''3''' = [[:{{FULLPAGENAME}} (3)| | '''3''' = [[:{{FULLPAGENAME}} (3)|advanced]], | ||
'''4''' = [[:{{FULLPAGENAME}} (4)| | '''4''' = [[:{{FULLPAGENAME}} (4)|near native]], | ||
'''5''' = [[:{{FULLPAGENAME}} (5)| | '''5''' = [[:{{FULLPAGENAME}} (5)|professional]], | ||
'''N''' = [[:{{FULLPAGENAME}} (N)| | '''N''' = [[:{{FULLPAGENAME}} (N)|native]]. | ||
==Translation needed== | ==Translation needed== | ||
Please help translate the {{LanguageNames|{{{1}}}}} text of [[:Category:Translation from {{LanguageNames|{{{1}}}}}|these articles]]. | Please help translate the {{LanguageNames|{{{1}}}}} text of [[:Category:Translation from {{LanguageNames|{{{1}}}}}|these articles]]. | ||
[[Category:{{LanguageNames|{{{1}}}}}| ]] | [[Category:{{LanguageNames|{{{1}}}}}| ]] | ||
[[Category:Wiki People by Language|{{{1}}}]]__NOTOC__ __NOEDITSECTION__</includeonly><noinclude> | [[Category:Wiki People by Language|{{{1}}}]]__NOTOC__ __NOEDITSECTION__</includeonly><noinclude> | ||
This | This {{tag|User language templates|user language template}} renders the appropriate page display in the 'mother' {{tag|language}} categories of [[:category: Wiki People by Language]]. This template has either two or three input requirements – immediately after <code>{{UserLanguageCategory| . . .</code>, the third being optional. | ||
*'''1st''' — the language | *'''1st''' — the two- (or three-) letter [[wp:ISO 639|ISO 639]] language code; see [[template:Language]]; | ||
*'''2nd''' — translation of "These users speak (language)"; < | *'''2nd''' — native translation of "These users speak (language)"; if <code>no</code> is entered, only the English description will be displayed; | ||
*'''3rd''' — if there is an [[English Wikipedia]] article on the language, write the article's name if it doesn't end with 'language'. | *'''3rd''' — if there is an [[English Wikipedia]] article on the language, write the article's name if it doesn't end with 'language'. | ||
;Usage | ;''Usage | ||
<code><nowiki>{{UserLanguageCategory|</nowiki>''<nowiki>code</nowiki>|<nowiki>native language translation</nowiki>''<nowiki>}}</nowiki></code><br> | <code><nowiki>{{UserLanguageCategory|</nowiki>''<nowiki>ISO 639 code</nowiki>''|''<nowiki>native language translation</nowiki>''<nowiki>}}</nowiki></code><br> | ||
*two-input one-language output example: <code><nowiki>{{UserLanguageCategory|es|no}}</nowiki></code> | *two-input one-language output example: <code><nowiki>{{UserLanguageCategory|es|no}}</nowiki></code> | ||
::which displays at the top of the page: | ::which displays at the top of the page: | ||
Line 68: | Line 68: | ||
:::Dessa användare pratar '''svenska'''. | :::Dessa användare pratar '''svenska'''. | ||
:::The [[:Category:Wiki People|people]] in this [[Special:Categories|category]] listed below speak '''[[:Category:Swedish|Swedish]]'''. | :::The [[:Category:Wiki People|people]] in this [[Special:Categories|category]] listed below speak '''[[:Category:Swedish|Swedish]]'''. | ||
;See also | ;''See also | ||
*[[Template:UserLanguageSubcategory]] — for rendering the page display of the specific language [[Special:Categories|sub-categories]] of [[:category: Wiki People by Language]] | *[[Template:UserLanguageSubcategory]] — for rendering the page display of the specific language [[Special:Categories|sub-categories]] of [[:category: Wiki People by Language]] | ||
[[Category: | [[Category:Language| ]] | ||
[[Category:Wiki People by Language| ]] | [[Category:Wiki People by Language| ]] | ||
[[Category: | [[Category:Category templates]]</noinclude> |
Revision as of 18:52, 5 December 2019
This user language template renders the appropriate page display in the 'mother' language categories of category: Wiki People by Language. This template has either two or three input requirements – immediately after {{UserLanguageCategory| . . .
, the third being optional.
- 1st — the two- (or three-) letter ISO 639 language code; see template:Language;
- 2nd — native translation of "These users speak (language)"; if
no
is entered, only the English description will be displayed; - 3rd — if there is an English Wikipedia article on the language, write the article's name if it doesn't end with 'language'.
- Usage
{{UserLanguageCategory|ISO 639 code|native language translation}}
- two-input one-language output example:
{{UserLanguageCategory|es|no}}
- two-input two-language output example:
{{UserLanguageCategory|sv|Dessa användare pratar '''svenska'''.}}
- See also
- Template:UserLanguageSubcategory — for rendering the page display of the specific language sub-categories of category: Wiki People by Language