Template:UserLanguageCategory: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(useage help)
Line 59: Line 59:
*'''2''' — translation of "These users speak (language)"; <tt>no</tt> if English
*'''2''' — translation of "These users speak (language)"; <tt>no</tt> if English
*'''3''' — if there is a [[:Category:Wikipedia|Wikipedia]] article on the language, write the article's name if it doesn't end with "language".
*'''3''' — if there is a [[:Category:Wikipedia|Wikipedia]] article on the language, write the article's name if it doesn't end with "language".
;Usage
<code><nowiki>{{LanguageCategory|</nowiki>''<nowiki>code|native language translation</nowiki>''<nowiki>}}</nowiki></code><br>
:two-output example:  <code><nowiki>{{LanguageCategory|da|Disse brugere taler '''dansk'''.}}</nowiki></code>
;See also
;See also
*[[Template:LanguageSubcategory]] — for rendering the page display of the [[Special:Categories|subcategories]] of [[:Category:Wiki People by Language]]
*[[Template:LanguageSubcategory]] — for rendering the page display of the [[Special:Categories|subcategories]] of [[:Category:Wiki People by Language]]

Revision as of 08:39, 22 September 2012

This user language template renders the appropriate page display in the 'mother' categories of Category:Wiki People by Language. This template has either two or three outputs.

  • 1 — the language abbreviation, see Template:Language
  • 2 — translation of "These users speak (language)"; no if English
  • 3 — if there is a Wikipedia article on the language, write the article's name if it doesn't end with "language".
Usage

{{LanguageCategory|code|native language translation}}

two-output example: {{LanguageCategory|da|Disse brugere taler '''dansk'''.}}
See also