Welcome to WikiIndex — the 'wiki index' of all wikis, wiki people, wiki software, wiki farms, and wiki ideas.
Please add your wiki, and join our community. Note: WikiIndex is not a wiki hosting service.

(please log-in to bypass the anti-spam Captcha and remove this heading notice)

Template:UserLanguageCategory: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(mother language cat inclusion)
m (Text replacement - "Wiki People" to "Wiki people")
 
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{|border="0" style=float:right; text-align:center
<includeonly>{|border=0 style=float:right
![[Template:Language|How it appears]]
|+'''[[Template:Language|How the babels appear]]
|-
|-
|<tt><nowiki>{{language|</nowiki>{{{1}}}<nowiki>|0}}</nowiki></tt>
|<tt><nowiki>{{Language|</nowiki>{{{1}}}<nowiki>|0}}</nowiki></tt>
|-
|-
|{{language|{{{1}}}|0|cat=no}}
|{{Language|{{{1}}}|0|cat=no}}
|-
|-
|<tt><nowiki>{{language|</nowiki>{{{1}}}<nowiki>|1}}</nowiki></tt>
|<tt><nowiki>{{Language|</nowiki>{{{1}}}<nowiki>|1}}</nowiki></tt>
|-
|-
|{{language|{{{1}}}|1|cat=no}}
|{{Language|{{{1}}}|1|cat=no}}
|-
|-
|<tt><nowiki>{{language|</nowiki>{{{1}}}<nowiki>|2}}</nowiki></tt>
|<tt><nowiki>{{Language|</nowiki>{{{1}}}<nowiki>|2}}</nowiki></tt>
|-
|-
|{{language|{{{1}}}|2|cat=no}}
|{{Language|{{{1}}}|2|cat=no}}
|-
|-
|<tt><nowiki>{{language|</nowiki>{{{1}}}<nowiki>|3}}</nowiki></tt>
|<tt><nowiki>{{Language|</nowiki>{{{1}}}<nowiki>|3}}</nowiki></tt>
|-
|-
|{{language|{{{1}}}|3|cat=no}}
|{{Language|{{{1}}}|3|cat=no}}
|-
|-
|<tt><nowiki>{{language|</nowiki>{{{1}}}<nowiki>|4}}</nowiki></tt>
|<tt><nowiki>{{Language|</nowiki>{{{1}}}<nowiki>|4}}</nowiki></tt>
|-
|-
|{{language|{{{1}}}|4|cat=no}}
|{{Language|{{{1}}}|4|cat=no}}
|-
|-
|<tt><nowiki>{{language|</nowiki>{{{1}}}<nowiki>|5}}</nowiki></tt>
|<tt><nowiki>{{Language|</nowiki>{{{1}}}<nowiki>|5}}</nowiki></tt>
|-
|-
|{{language|{{{1}}}|5|cat=no}}
|{{Language|{{{1}}}|5|cat=no}}
|-
|-
|<tt><nowiki>{{language|</nowiki>{{{1}}}<nowiki>|N}}</nowiki></tt>
|<tt><nowiki>{{Language|</nowiki>{{{1}}}<nowiki>|N}}</nowiki></tt>
|-
|-
|{{language|{{{1}}}|N|cat=no}}
|{{Language|{{{1}}}|N|cat=no}}
|}
|}
'''{{NAMESPACE}}:&nbsp;{{PAGENAME}}'''
{{#switch:{{{2}}}
{{#switch:{{{2}}}
|no=  
|no=
|#default= {{{2}}}
|#default={{{2}}}.
----
----
}}
}}
The people in this [[Special:Categories|category]] listed below speak '''{{LanguageNames|{{{1}}}}}'''.
The '''[[:Category:Wiki people|people]]''' in this [[Special:Categories|category]] here on WikiIndex listed below '''speak {{tag|{{Language names|{{{1}}}}}}}'''.
==Info==
==Information==
*ISO 639 language code: '''{{{1}}}'''
*{{Wp|ISO 639}} language code: <big>'''{{{1}}}'''</big>
{{#switch:{{{3}}}
{{#switch:{{{3}}}
|no=  
|no=
|#default=*[[wikipedia:{{{3|{{LanguageNames|{{{1}}}}} language}}}|Wikipedia article]]
|#default=*{{Wp|{{{3|{{Language names|{{{1}}}}} language}}}|{{{3|{{Language names|{{{1}}}}} language}}}}} article on the [[English Wikipedia]] (En.Wp)
}}
}}
*Native name: '''{{#language:{{{1}}}}}'''
*Native language name: '''{{#Language:{{{1}}}}}'''
*Native wiki main page: {{#WikiMainPage-Languages:{{{1}}}}}
==Levels==
==Levels==
'''0'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (0)|Not speaking]],
'''0'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (0)|not speaking]],
'''1'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (1)|Basic]],
'''1'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (1)|basic]],
'''2'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (2)|Intermediate]],
'''2'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (2)|intermediate]],
'''3'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (3)|Advanced]],
'''3'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (3)|advanced]],
'''4'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (4)|Near-native]],
'''4'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (4)|near native]],
'''5'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (5)|Professional]],
'''5'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (5)|professional]],
'''N'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (N)|Native]]
'''N'''&nbsp;=&nbsp;[[:{{FULLPAGENAME}} (N)|native]].
==Translation needed==
==[[:Category:Translation needed|Translation needed]]==
Please help translate the {{LanguageNames|{{{1}}}}} text of [[:Category:Translation from {{LanguageNames|{{{1}}}}}|these articles]].
Please help [[:Category:Translation|translate]] the {{Language names|{{{1}}}}} text of [[:Category:Translation from {{Language names|{{{1}}}}}|these articles]].
[[Category:{{{1}}}| ]]
[[Category:{{Language names|{{{1}}}}}|*]]
[[Category:Wiki People by Language|{{{1}}}]]__NOTOC__ __NOEDITSECTION__</includeonly><noinclude>
[[Category:Wiki people by language|{{{1}}}]]__NOTOC__ __NOEDITSECTION__</includeonly><noinclude>{{TOC right}}
This [[:Category:User language templates|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.
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 [[edit]] (or have previously edited) this [[WikiIndex]] wiki site.  It creates a standardised display, with uniform formatting, and appropriately targeted links; internal [[wikilink]]s here on WikiIndex, and external links by way of [[interwiki]] to the [[English Wikipedia]] (En.Wp).  These specific [[Special:Categories|categories]] are all part of [[:category: Wiki people by language]].  This particular [[Special:Templates|template]] has '''two''' (2) input requirements – immediately after <code>{{UserLanguageCategory| . . .</code>: both are compulsory; the second default '<tt>no</tt>' is acceptable, but the native translation is ideally preferred.
*'''1''' — the language abbreviation, see [[Template:Language]]
 
*'''2''' — translation of "These users speak (language)"; <tt>no</tt> if English
===Input requirements===
*'''3''' — if there is a [[:Category:Wikipedia|Wikipedia]] article on the language, write the article's name if it doesn't end with "language".
*'''1st''' — the {{Wp|List of ISO 639-1 codes|two}}- or {{Wp|List of ISO 639-3 codes|three}}- letter {{Wp|ISO 639}} language code, (plus any sub-language letters, eg: <tt>en-gb</tt>, <tt>pt-br</tt>, <tt>zh-hk</tt>, <tt>zh-tw</tt>, etc); see [[template:Language]] and [[template:Language names]];
;See also
*'''2nd''' — native translation of 'The people in this category here on WikiIndex listed below speak (language)'; if <code>no</code> is entered, <u>only</u> the description in English will be displayed.
*[[Template:LanguageSubcategory]] — for rendering the page display of the [[Special:Categories|subcategories]] of [[:Category:Wiki People by Language]]
 
===Usage===
<code><nowiki>{{UserLanguageCategory|</nowiki>''<nowiki>ISO 639 code</nowiki>''|''<nowiki>native language translation</nowiki>''<nowiki>}}</nowiki></code><br>
====One-language output====
Two-input, <u>one-language output</u> example:<br>
 
<code><nowiki>{{UserLanguageCategory|es|no}}</nowiki></code>
:which displays at the top of the category page:
:::The '''[[:Category:Wiki people|people]]''' in this [[Special:Categories|category]] here on WikiIndex listed below '''speak [[:Category:Spanish|Spanish]]'''.
====Two-language output====
Two-input, <u>two-language output</u> example:<br>
 
<code><nowiki>{{UserLanguageCategory|sv|'''[[:Category:Wiki people|Personerna]]''' i denna [[Special:Categories|kategori]] här på WikiIndex listade nedan '''talar {{tag|Swedish|svenska}}'''}}</nowiki></code>
:which displays at the top of the category page:
:::'''[[:Category:Wiki people|Personerna]]''' i denna [[Special:Categories|kategori]] här på WikiIndex listade nedan '''talar [[:Category:Swedish|svenska]]'''.
:::------------------------------------------------------------------------------------------------------
:::The '''[[:Category:Wiki people|people]]''' in this [[Special:Categories|category]] here on WikiIndex listed below '''speak [[:Category:Swedish|Swedish]]'''.
 
===See also===
*[[Template: UserLanguageSubcategory]] — for rendering the page display of the [[Special:Categories|'''sub'''-categories]] of specific user language of [[:category: Wiki people by language]]
*[[Template: ISO 639-2]] — creates an interwiki link to the ISO 639-2 Identifier Documentation of the two-letter (alpha-2) language code on the ISO 639-2 Registration Authority website
*[[Template: ISO 639-3]] — creates an interwiki link to the ISO 639-3 Identifier Documentation of the three-letter (alpha-3) language code on the ISO 639-3 Registration Authority website
*[[Template: IETF-language-tag]] — a template to display the standardised language code for a specific language from the Internet Engineering Task Force
 
===External links===
*{{WMF-Meta|Template: List of language names ordered by code}} — at [[Wikimedia Meta-Wiki]]


[[Category:User language templates|Category]]</noinclude>
[[Category:Language| ]]
[[Category:Wiki people by language| ]]
[[Category:Category templates]]</noinclude>

Latest revision as of 17:54, 29 May 2024

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 edit (or have previously edited) this WikiIndex wiki site. It creates a standardised display, with uniform formatting, and appropriately targeted links; internal wikilinks here on WikiIndex, and external links by way of interwiki to the English Wikipedia (En.Wp). These specific categories are all part of category: Wiki people by language. This particular template has two (2) input requirements – immediately after {{UserLanguageCategory| . . .: both are compulsory; the second default 'no' is acceptable, but the native translation is ideally preferred.

Input requirements

  • 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:Language names;
  • 2nd — native translation of 'The people in this category here on WikiIndex listed below speak (language)'; if no is entered, only the description in English will be displayed.

Usage

{{UserLanguageCategory|ISO 639 code|native language translation}}

One-language output

Two-input, one-language output example:

{{UserLanguageCategory|es|no}}

which displays at the top of the category page:
The people in this category here on WikiIndex listed below speak Spanish.

Two-language output

Two-input, two-language output example:

{{UserLanguageCategory|sv|'''[[:Category:Wiki people|Personerna]]''' i denna [[Special:Categories|kategori]] här på WikiIndex listade nedan '''talar {{tag|Swedish|svenska}}'''}}

which displays at the top of the category page:
Personerna i denna kategori här på WikiIndex listade nedan talar svenska.
------------------------------------------------------------------------------------------------------
The people in this category here on WikiIndex listed below speak Swedish.

See also

External links