Template:UserLanguageCategory: Difference between revisions
Hoof Hearted (talk | contribs) (→See also: *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) |
Hoof Hearted (talk | contribs) m (Text replacement - "Wiki People" to "Wiki people") |
||
(One intermediate revision by the same user not shown) | |||
Line 37: | Line 37: | ||
---- | ---- | ||
}} | }} | ||
The '''[[:Category:Wiki | The '''[[:Category:Wiki people|people]]''' in this [[Special:Categories|category]] here on WikiIndex listed below '''speak {{tag|{{Language names|{{{1}}}}}}}'''. | ||
==Information== | ==Information== | ||
*{{Wp|ISO 639}} language code: <big>'''{{{1}}}'''</big> | *{{Wp|ISO 639}} language code: <big>'''{{{1}}}'''</big> | ||
Line 58: | Line 58: | ||
[[Category:{{Language names|{{{1}}}}}|*]] | [[Category:{{Language names|{{{1}}}}}|*]] | ||
[[Category:Wiki people by language|{{{1}}}]]__NOTOC__ __NOEDITSECTION__</includeonly><noinclude>{{TOC right}} | [[Category:Wiki people by language|{{{1}}}]]__NOTOC__ __NOEDITSECTION__</includeonly><noinclude>{{TOC right}} | ||
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 | 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. | ||
===Input requirements=== | ===Input requirements=== | ||
Line 71: | Line 71: | ||
<code><nowiki>{{UserLanguageCategory|es|no}}</nowiki></code> | <code><nowiki>{{UserLanguageCategory|es|no}}</nowiki></code> | ||
:which displays at the top of the category page: | :which displays at the top of the category page: | ||
:::The '''[[:Category:Wiki | :::The '''[[:Category:Wiki people|people]]''' in this [[Special:Categories|category]] here on WikiIndex listed below '''speak [[:Category:Spanish|Spanish]]'''. | ||
====Two-language output==== | ====Two-language output==== | ||
Two-input, <u>two-language output</u> example:<br> | Two-input, <u>two-language output</u> example:<br> | ||
<code><nowiki>{{UserLanguageCategory|sv|'''[[:Category:Wiki | <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: | :which displays at the top of the category page: | ||
:::'''[[:Category:Wiki | :::'''[[:Category:Wiki people|Personerna]]''' i denna [[Special:Categories|kategori]] här på WikiIndex listade nedan '''talar [[:Category:Swedish|svenska]]'''. | ||
:::------------------------------------------------------------------------------------------------------ | :::------------------------------------------------------------------------------------------------------ | ||
:::The '''[[:Category:Wiki | :::The '''[[:Category:Wiki people|people]]''' in this [[Special:Categories|category]] here on WikiIndex listed below '''speak [[:Category:Swedish|Swedish]]'''. | ||
===See also=== | ===See also=== | ||
Line 85: | Line 85: | ||
*[[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-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: 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=== | ===External links=== |
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:
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:
See also
- Template: UserLanguageSubcategory — for rendering the page display of the 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