Bureaucrats, checkuser, Interface administrators, interwiki, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), staff, Suppressors, Administrators
83,693
edits
Hoof Hearted (talk | contribs) (wikilinks) |
Hoof Hearted (talk | contribs) (minor tweaks) |
||
| Line 1: | Line 1: | ||
<includeonly>{|border= | <includeonly>{|border=0 style=float:right; text-align:center | ||
![[Template:Language|How it appears]] | ![[Template:Language|How it appears]] | ||
|- | |- | ||
| Line 31: | Line 31: | ||
|} | |} | ||
{{#switch:{{{2}}} | {{#switch:{{{2}}} | ||
|no= | |no= | ||
|#default= {{{2}}} | |#default= {{{2}}} | ||
---- | ---- | ||
| Line 39: | Line 39: | ||
*ISO 639 language code: '''{{{1}}}''' | *ISO 639 language code: '''{{{1}}}''' | ||
{{#switch:{{{3}}} | {{#switch:{{{3}}} | ||
|no= | |no= | ||
|#default=*[[wp:{{{3|{{LanguageNames|{{{1}}}}} language}}}|English Wikipedia article]] | |#default=*[[wp:{{{3|{{LanguageNames|{{{1}}}}} language}}}|English Wikipedia article]] | ||
}} | }} | ||
| Line 55: | Line 55: | ||
[[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 [[:Category:User language templates|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 | This [[:Category:User language templates|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, the third being optional. | ||
*'''1st''' — the language abbreviation, see [[template:Language]] | *'''1st''' — the language abbreviation, see [[template:Language]] | ||
*'''2nd''' — translation of "These users speak (language)"; <tt>no</tt> if only English is to be displayed | *'''2nd''' — translation of "These users speak (language)"; <tt>no</tt> if only English text is to be displayed | ||
*'''3rd''' — if there is an [[English Wikipedia]] article on the language, write the article's name if it doesn't end with | *'''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|native language translation</nowiki>''<nowiki>}}</nowiki></code><br> | <code><nowiki>{{UserLanguageCategory|</nowiki>''<nowiki>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: | ||
edits