Template:UserLanguageCategory: Difference between revisions
Jump to navigation
Jump to search
Hoof Hearted (talk | contribs) (better text emphasis) |
Hoof Hearted (talk | contribs) (add new information for 'Native wiki main page' - just a start, so might not work correctly yet!) |
||
Line 42: | Line 42: | ||
|#default=*[[wp:{{{3|{{LanguageNames|{{{1}}}}} language}}}|English Wikipedia language article]] | |#default=*[[wp:{{{3|{{LanguageNames|{{{1}}}}} language}}}|English Wikipedia language article]] | ||
}} | }} | ||
*Native language name: '''{{# | *Native language name: '''{{#Language:{{{1}}}}}''' | ||
*Native wiki main page: {{#WikiMainPage-Languages:{{{1}}}}} | |||
==Levels== | ==Levels== | ||
'''0''' = [[:{{FULLPAGENAME}} (0)|not speaking]], | '''0''' = [[:{{FULLPAGENAME}} (0)|not speaking]], |
Revision as of 18:46, 18 June 2021
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