Difference between revisions of "Template:UserLanguageCategory"

WikiIndex - wikis, wiki people, wiki software, and wiki ideas
Jump to: navigation, search
(improve grammar)
(better text emphasis)
Line 63: Line 63:
 
*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:
:::The [[:Category:Wiki People|people]] in this [[Special:Categories|category]] listed below speak '''[[:Category:Spanish|Spanish]]'''.
+
:::The '''[[:Category:Wiki People|people]]''' in this [[Special:Categories|category]] listed below '''speak [[:Category:Spanish|Spanish]]'''.
 
*two-input two-language output example:  <code><nowiki>{{UserLanguageCategory|sv|Dessa användare pratar '''svenska'''.}}</nowiki></code>
 
*two-input two-language output example:  <code><nowiki>{{UserLanguageCategory|sv|Dessa användare pratar '''svenska'''.}}</nowiki></code>
 
::which displays at the top of the page:
 
::which displays at the top of the page:
 
:::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]]

Revision as of 21:24, 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}}
which displays at the top of the page:
The people in this category listed below speak Spanish.
  • two-input two-language output example: {{UserLanguageCategory|sv|Dessa användare pratar '''svenska'''.}}
which displays at the top of the page:
Dessa användare pratar svenska.
The people in this category listed below speak Swedish.
See also