Template:UserLanguageSubcategory: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(Update)
(minor fix)
Line 34: Line 34:
::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|sub-category]] here on WikiIndex listed below '''speak [[:Category:GermanSpeakers|German]]''' at an '''advanced''' level.
:::The '''[[:Category:Wiki People|people]]''' in this [[Special:Categories|sub-category]] here on WikiIndex listed below '''speak [[:Category:GermanSpeakers|German]]''' at an '''advanced''' level.
*three-input <u>two-language output</u> example:  <code><nowiki>{{UserLanguageSubcategory|sv|'''[[:Category:Wiki People|Personerna]]''' i denna [[Special:Categories|underkategori]] här på WikiIndex listade nedan talar '''{{tag|SwedishSpeakers|svenska}}''' på '''modersmålsnivå'''|level=N}}</nowiki></code>
*three-input <u>two-language output</u> example:  <code><nowiki>{{UserLanguageSubcategory|sv|'''[[:Category:Wiki People|Personerna]]''' i denna [[Special:Categories|underkategori]] här på WikiIndex listade nedan '''talar {{tag|SwedishSpeakers|svenska}}''' på '''modersmålsnivå'''|level=N}}</nowiki></code>
::which displays at the top of the page:
::which displays at the top of the page:
:::'''[[:Category:Wiki People|Personerna]]''' i denna [[Special:Categories|underkategori]] här på WikiIndex listade nedan talar '''[[:Category:SwedishSpeakers|svenska]]''' på '''modersmålsnivå'''.
:::'''[[:Category:Wiki People|Personerna]]''' i denna [[Special:Categories|underkategori]] här på WikiIndex listade nedan '''talar [[:Category:SwedishSpeakers|svenska]]''' på '''modersmålsnivå'''.
:::------------------------------------------------------------------------------------------------------
:::------------------------------------------------------------------------------------------------------
:::The '''[[:Category:Wiki People|people]]''' in this [[Special:Categories|sub-category]] here on WikiIndex listed below '''speak [[:Category:SwedishSpeakers|Swedish]]''' at a '''native''' level.
:::The '''[[:Category:Wiki People|people]]''' in this [[Special:Categories|sub-category]] here on WikiIndex listed below '''speak [[:Category:SwedishSpeakers|Swedish]]''' at a '''native''' level.

Revision as of 17:54, 9 April 2022

This user language template renders the appropriate page display in the sub-categories of a specific language which is spoken by the people who edit (or have previously edited) this WikiIndex wiki site. In a similar manner as template: UserLanguageCategory, it creates a standardised display, with uniform formatting. These specific categories are all part of category: Wiki People by Language. This particular template has three (3) input requirements – immediately after {{UserLanguageSubcategory| . . .: the first and third are compulsory; the second default no is acceptable, but the native translation is ideally preferred.

  • 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 also template:LanguageNames);
  • 2nd — native translation of 'The people in this sub-category here on WikiIndex listed below speak (language) at a (level) level'; if no is entered, only the description in English will be displayed;
  • 3rd — the level of proficiency of said language: 0, 1, 2, 3, 4, 5, or N (for 'native').
Usage

{{UserLanguageSubcategory|ISO 639 code|native language translation|level=?}}

  • three-input one-language output example: {{UserLanguageSubcategory|de|no|level=3}}
which displays at the top of the page:
The people in this sub-category here on WikiIndex listed below speak German at an advanced level.
  • three-input two-language output example: {{UserLanguageSubcategory|sv|'''[[:Category:Wiki People|Personerna]]''' i denna [[Special:Categories|underkategori]] här på WikiIndex listade nedan '''talar {{tag|SwedishSpeakers|svenska}}''' på '''modersmålsnivå'''|level=N}}
which displays at the top of the page:
Personerna i denna underkategori här på WikiIndex listade nedan talar svenskamodersmålsnivå.
------------------------------------------------------------------------------------------------------
The people in this sub-category here on WikiIndex listed below speak Swedish at a native level.
See also
External links