Changes

Template:UserLanguageCategory

389 bytes added, 18 June
add new information for 'Native wiki main page' - just a start, so might not work correctly yet!
<includeonly>{|border="0" style=float:right; text-align:center
![[Template:Language|How it appears]]
|-
|<tt><nowiki>{{languageLanguage|</nowiki>{{{1}}}<nowiki>|0}}</nowiki></tt>
|-
|{{languageLanguage|{{{1}}}|0|cat=no}}
|-
|<tt><nowiki>{{languageLanguage|</nowiki>{{{1}}}<nowiki>|1}}</nowiki></tt>
|-
|{{languageLanguage|{{{1}}}|1|cat=no}}
|-
|<tt><nowiki>{{languageLanguage|</nowiki>{{{1}}}<nowiki>|2}}</nowiki></tt>
|-
|{{languageLanguage|{{{1}}}|2|cat=no}}
|-
|<tt><nowiki>{{languageLanguage|</nowiki>{{{1}}}<nowiki>|3}}</nowiki></tt>
|-
|{{languageLanguage|{{{1}}}|3|cat=no}}
|-
|<tt><nowiki>{{languageLanguage|</nowiki>{{{1}}}<nowiki>|4}}</nowiki></tt>
|-
|{{languageLanguage|{{{1}}}|4|cat=no}}
|-
|<tt><nowiki>{{languageLanguage|</nowiki>{{{1}}}<nowiki>|5}}</nowiki></tt>
|-
|{{languageLanguage|{{{1}}}|5|cat=no}}
|-
|<tt><nowiki>{{languageLanguage|</nowiki>{{{1}}}<nowiki>|N}}</nowiki></tt>
|-
|{{languageLanguage|{{{1}}}|N|cat=no}}
|}
{{#switch:{{{2}}}
|no= |#default= {{{2}}}
----
}}
The '''[[:Category:Wiki People|people ]]''' in this [[Special:Categories|category]] listed below speak '''speak {{tag|{{LanguageNames|{{{1}}}}}}}'''.
==Info==
*[[wp:ISO 639|ISO 639 ]] language code: <big>'''{{{1}}}'''</big>
{{#switch:{{{3}}}
|no= |#default=*[[wikipediawp:{{{3|{{LanguageNames|{{{1}}}}} language}}}|English Wikipedia language article]]
}}
*Native language name: '''{{#languageLanguage:{{{1}}}}}'''*Native wiki main page: {{#WikiMainPage-Languages:{{{1}}}}}
==Levels==
'''0'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (0)|Not not speaking]],'''1'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (1)|Basicbasic]],'''2'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (2)|Intermediateintermediate]],'''3'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (3)|Advancedadvanced]],'''4'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (4)|Near-near native]],'''5'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (5)|Professionalprofessional]],'''N'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (N)|Nativenative]].
==Translation needed==
Please help translate the {{LanguageNames|{{{1}}}}} text of [[:Category:Translation from {{LanguageNames|{{{1}}}}}|these articles]].
[[Category:{{LanguageNames|{{{1}}}}}| ]]
[[Category:Wiki People by Language|{{{1}}}]]__NOTOC__ __NOEDITSECTION__</includeonly><noinclude>
This [[:Category:{{tag|User language templates|user language template]] }} renders the appropriate page display in the 'mother' {{tag|language }} categories of [[:Categorycategory:Wiki People by Language]]. This template has either two or three input requirements (– immediately after <code>{{UserLanguageCategory| . . .</code>, the third being optional).*'''1st''' — the two- (or three-) letter [[wp:ISO 639|ISO 639]] language abbreviation, code; see [[Templatetemplate:Language]];*'''2nd''' — native translation of "These users speak (language)"; if <ttcode>no</ttcode> if is entered, only the Englishdescription will be displayed;*'''3rd''' — if there is a an [[:Category:Wikipedia|English Wikipedia]] article on the language, write the article's name if it doesn't end with "'language"'.;''Usage<code><nowiki>{{LanguageCategoryUserLanguageCategory|</nowiki>''<nowiki>ISO 639 code</nowiki>''|''<nowiki>native language translation</nowiki>''<nowiki>}}</nowiki></code><br>*two-input one-language output example: <code><nowiki>{{LanguageCategoryUserLanguageCategory|es|no}}</nowiki></code>
::which displays at the top of the page:
:::The '''[[:Category:Wiki People|people ]]''' in this [[Special:Categories|category]] listed below speak '''speak [[:Category:Spanish|Spanish]]'''.*two-input two-language output example: <code><nowiki>{{LanguageCategoryUserLanguageCategory|sv|Dessa användare pratar '''svenska'''.}}</nowiki></code>
::which displays at the top of the page:
:::Dessa användare pratar '''svenska'''.
:::The '''[[:Category:Wiki People|people ]]''' in this [[Special:Categories|category]] listed below speak '''speak [[:Category:Swedish|Swedish]]'''.;''See also*[[Template:UserLanguageSubcategory]] — for rendering the page display of the specific language [[Special:Categories|subcategoriessub-categories]] of [[:Categorycategory:Wiki People by Language]]
[[Category:User language templatesLanguage|Category]]
[[Category:Wiki People by Language| ]]
[[Category:Language| Category templates]]</noinclude>