Template:UserLanguageCategory: Difference between revisions

display example
(another example)
(display example)
Line 61: Line 61:
;Usage
;Usage
<code><nowiki>{{LanguageCategory|</nowiki>''<nowiki>code|native language translation</nowiki>''<nowiki>}}</nowiki></code><br>
<code><nowiki>{{LanguageCategory|</nowiki>''<nowiki>code|native language translation</nowiki>''<nowiki>}}</nowiki></code><br>
:two-output two-language example:  <code><nowiki>{{LanguageCategory|da|Disse brugere taler '''dansk'''.}}</nowiki></code>
:two-output one-language example:  <code><nowiki>{{LanguageCategory|es|no}}</nowiki></code>
:two-output one-language example:  <code><nowiki>{{LanguageCategory|es|no}}</nowiki></code>
:two-output two-language example:  <code><nowiki>{{LanguageCategory|sv|Dessa användare pratar '''svenska'''.}}</nowiki></code>
::which displays at the top of the page:
:::Dessa användare pratar '''svenska'''.
:::The people in this [[Special:Categories|category]] listed below speak '''[[:Category:Swedish|Swedish]]'''.
;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]]