Template:Language Category: Difference between revisions
Hoof Hearted (talk | contribs) (try to get actual Wikipedia interwiki language link to work, wikilinks, tidy) |
Hoof Hearted (talk | contribs) (→External links: *[https://r12a.github.io/app-subtags/ r12a > apps > BCP47 language subtag lookup] — search by description or subtag, check hyphenation, display ordered lists; at r12a.github.io) |
||
(29 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Not|:category: Wiki {{PAGENAME}}}} | |||
:''[[ | '''{{NAMESPACE}}: {{PAGENAME}}''' — this [[Special:Categories|category]] here on WikiIndex is for [[:Category:All|wiki sites]] whose '''[[:Category:Wiki Topic|subject matter]]''' <u>is</u>, or <u>discusses</u> the '''{{Wp|{{PAGENAME}} language}}'''. | ||
< | |||
<noinclude> | See also [[:category: Multilingual]] – for those [[wiki]] sites with a <u>[[:Category:Wiki Topic|subject matter]]</u> of more than one {{tag|language}}. | ||
[[Category:Language | |||
[[Category:Language| ]]</noinclude> | :For those [[WhatIsWiki|wiki sites]] whose <u>contents are written</u> in their actual language (ie, <u>not</u> [[:Category:Wiki English|English]]), they should go into their relevant [[:Category:Wiki language|Wiki language]] sub-[[category]] instead. In this instance, wiki sites with contents written in {{PAGENAME}} should be included in [[:category: Wiki {{PAGENAME}}]] instead. See also [[:category: Wiki Multilingual]], for those wiki sites <u>written</u> in more than one language.<includeonly>[[Category:Language]]</includeonly><noinclude> | ||
<br> | |||
----{{TOC right}} | |||
===For=== | |||
This {{tag|Language templates|language template}} is used on individual [[Special:Categories|sub-category]] pages ONLY within [[:category: Language]]. Its purpose is to render a standard header text for a language category, along with an [[interwiki]] link to the relevant language article on the [[English Wikipedia]] (En.Wp) wiki site. Usage of this '''{{NAMESPACE}}: {{PAGENAME}}''' will auto-include [[categories]] as a sub-category within [[:category: Language]]. This [[Special:Templates|template]] should <u>not</u> be used anywhere else. | |||
===Usage=== | |||
Simply select (highlight) <code><nowiki>{{Language Category}}</nowiki></code> and copy (<tt>Ctrl-c</tt> or <tt>⌘-c</tt> on your keyboard), then paste (<tt>Ctrl-v</tt> or <tt>⌘-v</tt>) at the <u>top</u> of the [[edit box]] of the required {{tag|language}} category, and save (<tt>Ctrl-s</tt> or <tt>⌘-s</tt>) your edit. | |||
It will also be helpful to add a further one- or two-line brief explanation (two carriage returns after the end of the <tt><nowiki>{{Language Category}}</nowiki></tt> template code) about where, or which [[:Category:Country|countries]] the specific language is used in. For an example of the [[:Category:Oromo|Oromo language category]], the following was added: | |||
<tt><nowiki>The '''Oromo language''' is an {{Wp|Afroasiatic languages|Afro-Asiatic language}}; spoken by the {{Wp|Oromo people}}, and the neighbouring peoples in {{tag|Ethiopia}} and {{tag|Kenya}}.</nowiki></tt> | |||
;''Which displays | |||
The '''Oromo language''' is an {{Wp|Afroasiatic languages|Afro-Asiatic language}}; spoken by the {{Wp|Oromo people}}, and the neighbouring peoples in [[:Category:Ethiopia|Ethiopia]] and [[:Category:Kenya|Kenya]]. | |||
===See also=== | |||
*[[Template: Wiki language category]] — a similar template for use in sub-category pages ONLY within [[:category: Wiki language]] | |||
===External links=== | |||
*{{WMF-Meta|Template: List of language names ordered by code}} — at [[Wikimedia Meta-Wiki]] | |||
*[https://iso639-3.sil.org/code_tables/639/data ISO 639 Code Tables] — at ISO639-3.sil.org | |||
*[https://iso639-3.sil.org/about/relationships Relationship between ISO 639-3 and the other parts of ISO 639] — at ISO639-3.sil.org | |||
*[https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry Language subtag registry] — list of two-letter language codes, their names and status; at IANA.org, the Internet Assigned Numbers Authority | |||
*[https://r12a.github.io/app-subtags/ r12a > apps > BCP47 language subtag lookup] — search by description or subtag, check hyphenation, display ordered lists; at r12a.github.io | |||
[[Category:Language| ]] | |||
[[Category:Category templates]]</noinclude> |
Latest revision as of 11:49, 16 July 2023
- Not to be confused with category: Wiki Language Category
Template: Language Category — this category here on WikiIndex is for wiki sites whose subject matter is, or discusses the Language Category language.
See also category: Multilingual – for those wiki sites with a subject matter of more than one language.
- For those wiki sites whose contents are written in their actual language (ie, not English), they should go into their relevant Wiki language sub-category instead. In this instance, wiki sites with contents written in Language Category should be included in category: Wiki Language Category instead. See also category: Wiki Multilingual, for those wiki sites written in more than one language.
For
This language template is used on individual sub-category pages ONLY within category: Language. Its purpose is to render a standard header text for a language category, along with an interwiki link to the relevant language article on the English Wikipedia (En.Wp) wiki site. Usage of this Template: Language Category will auto-include categories as a sub-category within category: Language. This template should not be used anywhere else.
Usage
Simply select (highlight) {{Language Category}}
and copy (Ctrl-c or ⌘-c on your keyboard), then paste (Ctrl-v or ⌘-v) at the top of the edit box of the required language category, and save (Ctrl-s or ⌘-s) your edit.
It will also be helpful to add a further one- or two-line brief explanation (two carriage returns after the end of the {{Language Category}} template code) about where, or which countries the specific language is used in. For an example of the Oromo language category, the following was added:
The '''Oromo language''' is an {{Wp|Afroasiatic languages|Afro-Asiatic language}}; spoken by the {{Wp|Oromo people}}, and the neighbouring peoples in {{tag|Ethiopia}} and {{tag|Kenya}}.
- Which displays
The Oromo language is an Afro-Asiatic language; spoken by the Oromo people, and the neighbouring peoples in Ethiopia and Kenya.
See also
- Template: Wiki language category — a similar template for use in sub-category pages ONLY within category: Wiki language
External links
- Template: List of language names ordered by code — at Wikimedia Meta-Wiki
- ISO 639 Code Tables — at ISO639-3.sil.org
- Relationship between ISO 639-3 and the other parts of ISO 639 — at ISO639-3.sil.org
- Language subtag registry — list of two-letter language codes, their names and status; at IANA.org, the Internet Assigned Numbers Authority
- r12a > apps > BCP47 language subtag lookup — search by description or subtag, check hyphenation, display ordered lists; at r12a.github.io