Template:UserLanguageCategory: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(*{{WMF-Meta|Template:List of language names ordered by code}} — at Wikimedia Meta-Wiki)
(tweak to transcluded category display order)
Line 54: Line 54:
==[[:Category:Translation needed|Translation needed]]==
==[[:Category:Translation needed|Translation needed]]==
Please help [[:Category:Translation|translate]] the {{LanguageNames|{{{1}}}}} text of [[:Category:Translation from {{LanguageNames|{{{1}}}}}|these articles]].
Please help [[:Category:Translation|translate]] the {{LanguageNames|{{{1}}}}} text of [[:Category:Translation from {{LanguageNames|{{{1}}}}}|these articles]].
[[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 '''{{tag|User language templates|user language template}}''' renders the appropriate page display in the primary or 'mother' [[category]] of a specific {{tag|language}} which is '''spoken''' by the [[:Category:Wiki People|people]] who use (or have previously used) this [[WikiIndex]] wiki site; and creates a standardised display, with uniform formatting, and appropriately targeted links (internal [[wikilink]]s, and external links by way of [[interwiki]]).  These specific [[Special:Categories|categories]] are all part of [[:category: Wiki People by Language]].  This [[Special:Templates|template]] has either '''one''' ''or'' '''two''' input requirements – immediately after <code>{{UserLanguageCategory| . . .</code>, the first is compulsory, the second being optional (but preferred when possible).
This '''{{tag|User language templates|user language template}}''' renders the appropriate page display in the primary or 'mother' [[category]] of a specific {{tag|language}} which is '''spoken''' by the [[:Category:Wiki People|people]] who use (or have previously used) this [[WikiIndex]] wiki site; and creates a standardised display, with uniform formatting, and appropriately targeted links (internal [[wikilink]]s, and external links by way of [[interwiki]]).  These specific [[Special:Categories|categories]] are all part of [[:category: Wiki People by Language]].  This [[Special:Templates|template]] has either '''one''' ''or'' '''two''' input requirements – immediately after <code>{{UserLanguageCategory| . . .</code>, the first is compulsory, the second being optional (but preferred when possible).

Revision as of 12:41, 29 March 2022

This user language template renders the appropriate page display in the primary or 'mother' category of a specific language which is spoken by the people who use (or have previously used) this WikiIndex wiki site; and creates a standardised display, with uniform formatting, and appropriately targeted links (internal wikilinks, and external links by way of interwiki). These specific categories are all part of category: Wiki People by Language. This template has either one or two input requirements – immediately after {{UserLanguageCategory| . . ., the first is compulsory, the second being optional (but preferred when possible).

  • 1st — the two- or three- letter ISO 639 language code, (plus any sub-language letters, eg: en-gb, pt-br, zh-hk, zh-tw, etc); see template:Language and template:LanguageNames;
  • 2nd — native translation of 'The people in this category listed below (language)'; if no is entered, only the English description will be displayed.
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
External links