Template:UserLanguageCategory: Difference between revisions
Jump to navigation
Jump to search
Hoof Hearted (talk | contribs) (minor tweaks) |
Hoof Hearted (talk | contribs) m (upper case) |
||
Line 2: | Line 2: | ||
![[Template:Language|How it appears]] | ![[Template:Language|How it appears]] | ||
|- | |- | ||
|<tt><nowiki>{{ | |<tt><nowiki>{{Language|</nowiki>{{{1}}}<nowiki>|0}}</nowiki></tt> | ||
|- | |- | ||
|{{ | |{{Language|{{{1}}}|0|cat=no}} | ||
|- | |- | ||
|<tt><nowiki>{{ | |<tt><nowiki>{{Language|</nowiki>{{{1}}}<nowiki>|1}}</nowiki></tt> | ||
|- | |- | ||
|{{ | |{{Language|{{{1}}}|1|cat=no}} | ||
|- | |- | ||
|<tt><nowiki>{{ | |<tt><nowiki>{{Language|</nowiki>{{{1}}}<nowiki>|2}}</nowiki></tt> | ||
|- | |- | ||
|{{ | |{{Language|{{{1}}}|2|cat=no}} | ||
|- | |- | ||
|<tt><nowiki>{{ | |<tt><nowiki>{{Language|</nowiki>{{{1}}}<nowiki>|3}}</nowiki></tt> | ||
|- | |- | ||
|{{ | |{{Language|{{{1}}}|3|cat=no}} | ||
|- | |- | ||
|<tt><nowiki>{{ | |<tt><nowiki>{{Language|</nowiki>{{{1}}}<nowiki>|4}}</nowiki></tt> | ||
|- | |- | ||
|{{ | |{{Language|{{{1}}}|4|cat=no}} | ||
|- | |- | ||
|<tt><nowiki>{{ | |<tt><nowiki>{{Language|</nowiki>{{{1}}}<nowiki>|5}}</nowiki></tt> | ||
|- | |- | ||
|{{ | |{{Language|{{{1}}}|5|cat=no}} | ||
|- | |- | ||
|<tt><nowiki>{{ | |<tt><nowiki>{{Language|</nowiki>{{{1}}}<nowiki>|N}}</nowiki></tt> | ||
|- | |- | ||
|{{ | |{{Language|{{{1}}}|N|cat=no}} | ||
|} | |} | ||
{{#switch:{{{2}}} | {{#switch:{{{2}}} | ||
Line 69: | Line 69: | ||
:::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| | *[[Template:UserLanguageSubcategory]] — for rendering the page display of the specific language [[Special:Categories|sub-categories]] of [[:category: Wiki People by Language]] | ||
[[Category:User language templates]] | [[Category:User language templates]] |
Revision as of 20:12, 29 September 2018
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, the third being optional.
- 1st — the language abbreviation, see template:Language
- 2nd — translation of "These users speak (language)"; no 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 'language'.
- Usage
{{UserLanguageCategory|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