Template:Wiki language category: Difference between revisions
Hoof Hearted (talk | contribs) (cat auto-include) |
Hoof Hearted (talk | contribs) (Full detail) |
||
| Line 1: | Line 1: | ||
'''{{NAMESPACE}}: {{PAGENAME}}''' — this [[Special:Categories|category]] here on WikiIndex contains wiki sites that are '''<u>written</u>''' in '''<includeonly>{{tag|</includeonly>{{{1}}}<includeonly>}}</includeonly>'''. | '''{{NAMESPACE}}: {{PAGENAME}}''' — this [[Special:Categories|category]] here on WikiIndex contains wiki sites that are '''<u>written</u>''' in '''<includeonly>{{tag|</includeonly>{{{1}}}<includeonly>}}</includeonly>'''.<includeonly>[[Category:{{{1}}}| ]]</includeonly><noinclude> | ||
<br> | |||
----{{TOC right}} | |||
===For=== | |||
This {{tag|Language templates|language template}} is used on individual [[Special:Categories|sub-category]] pages ONLY within [[:category: Wiki language]]. Its purpose is to render a standard header text for a 'Wiki language' category. Usage of this '''{{NAMESPACE}}: {{PAGENAME}}''' will auto-include [[categories]] as a sub-category within [[:category: Wiki language]]. This [[Special:Templates|template]] should <u>not</u> be used anywhere else. | |||
===Usage=== | |||
Simply select (highlight) <code>{{Template|Wiki language category|''Language name''}}</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|Wiki language}} category, then amend <tt>''Language name''</tt> to the actual language name, and then 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>{{Wiki 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:Wiki Oromo|Wiki 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]]. | |||
===External links=== | |||
*{{WMF-Meta|Template: List of language names ordered by code}} — at [[Wikimedia Meta-Wiki]] | |||
[[Category:Language templates|Language, Wiki]] | |||
[[Category:Wiki language| ]] | [[Category:Wiki language| ]] | ||
[[Category:Category templates]]</noinclude> | [[Category:Category templates|Language, Wiki]]</noinclude> | ||
<includeonly> | |||
[[Category:Wiki language|{{{1}}}]]</includeonly> | |||
Revision as of 18:15, 9 June 2023
Template: Wiki language category — this category here on WikiIndex contains wiki sites that are written in {{{1}}}.
For
This language template is used on individual sub-category pages ONLY within category: Wiki language. Its purpose is to render a standard header text for a 'Wiki language' category. Usage of this Template: Wiki language category will auto-include categories as a sub-category within category: Wiki language. This template should not be used anywhere else.
Usage
Simply select (highlight) {{Wiki language category|Language name}} 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 Wiki language category, then amend Language name to the actual language name, and then 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 {{Wiki language category}} template code) about where, or which countries the specific language is used in. For an example of the Wiki 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.