Template:UserLanguageSubcategory: Difference between revisions

Jump to navigation Jump to search
Grammar
(→‎See also: *Template: IETF-language-tag — a template to display the standardised language code for a specific language from the Internet Engineering Task Force)
(Grammar)
Line 13: Line 13:
----
----
}}
}}
The '''[[:Category:Wiki People|people]]''' in this [[Special:Categories|sub-category]] here on WikiIndex listed below {{#ifeq:{{{level}}}|0|'''do not understand [[:Category:{{Language names|{{{1}}}}}|{{Language names|{{{1}}}}}]]''' (or not very well, at least, but would like to).|'''speak [[:Category:{{Language names|{{{1}}}}}Speakers|{{Language names|{{{1}}}}}]]''' at {{#switch:{{{level}}}|1=a|2=an|3=an|4=a|5=a|N=a}} '''{{Language/{{{level}}}}}''' level.
The '''[[:Category:Wiki People|people]]''' in this [[Special:Categories|sub-category]] here on WikiIndex listed below {{#ifeq:{{{level}}}|0|'''do not understand [[:Category:{{Language names|{{{1}}}}}|{{Language names|{{{1}}}}}]]''' (or not very well, at least, but would like to).|'''speak [[:Category:{{Language names|{{{1}}}}} speakers|{{Language names|{{{1}}}}}]]''' at {{#switch:{{{level}}}|1=a|2=an|3=an|4=a|5=a|N=a}} '''{{Language/{{{level}}}}}''' level.
}}
}}
==Levels==
==Levels==
{{#ifeq:{{{level}}}|0||'''0''' = [[:Category:{{Language names|{{{1}}}}}Speakers (0)|not speaking]],}}
{{#ifeq:{{{level}}}|0||'''0''' = [[:Category:{{Language names|{{{1}}}}} speakers (0)|not speaking]],}}
{{#ifeq:{{{level}}}|1||'''1''' = [[:Category:{{Language names|{{{1}}}}}Speakers (1)|basic]],}}
{{#ifeq:{{{level}}}|1||'''1''' = [[:Category:{{Language names|{{{1}}}}} speakers (1)|basic]],}}
{{#ifeq:{{{level}}}|2||'''2''' = [[:Category:{{Language names|{{{1}}}}}Speakers (2)|intermediate]],}}
{{#ifeq:{{{level}}}|2||'''2''' = [[:Category:{{Language names|{{{1}}}}} speakers (2)|intermediate]],}}
{{#ifeq:{{{level}}}|3||'''3''' = [[:Category:{{Language names|{{{1}}}}}Speakers (3)|advanced]],}}
{{#ifeq:{{{level}}}|3||'''3''' = [[:Category:{{Language names|{{{1}}}}} speakers (3)|advanced]],}}
{{#ifeq:{{{level}}}|4||'''4''' = [[:Category:{{Language names|{{{1}}}}}Speakers (4)|near native]],}}
{{#ifeq:{{{level}}}|4||'''4''' = [[:Category:{{Language names|{{{1}}}}} speakers (4)|near native]],}}
{{#ifeq:{{{level}}}|5||'''5''' = [[:Category:{{Language names|{{{1}}}}}Speakers (5)|professional]],}}
{{#ifeq:{{{level}}}|5||'''5''' = [[:Category:{{Language names|{{{1}}}}} speakers (5)|professional]],}}
{{#ifeq:{{{level}}}|N||'''N''' = [[:Category:{{Language names|{{{1}}}}}Speakers (N)|native]].}}
{{#ifeq:{{{level}}}|N||'''N''' = [[:Category:{{Language names|{{{1}}}}} speakers (N)|native]].}}
[[Category:{{Language names|{{{1}}}}}Speakers| ]]
[[Category:{{Language names|{{{1}}}}} speakers| ]]
[[Category:{{Language names|{{{1}}}}}|*]]__NOTOC__ __NOEDITSECTION__</includeonly><noinclude>{{TOC right}}
[[Category:{{Language names|{{{1}}}}}|*]]__NOTOC__ __NOEDITSECTION__</includeonly><noinclude>{{TOC right}}
This '''{{tag|User language templates|user language template}}''' renders the appropriate page display in the '''[[Category|sub-categories]]''' of a specific {{tag|language}} which is '''spoken''' by the [[:Category:Wiki People|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 [[Special:Categories|categories]] are all part of [[:category: Wiki people by language]].  This particular [[Special:Templates|template]] has '''three''' (3) input requirements – immediately after <code>{{UserLanguageSubcategory| . . .</code>: the first ''and'' third are compulsory; whilst the second default '<tt>no</tt>' is acceptable, but the native translation is ideally preferred.
This '''{{tag|User language templates|user language template}}''' renders the appropriate page display in the '''[[Category|sub-categories]]''' of a specific {{tag|language}} which is '''spoken''' by the [[:Category:Wiki People|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 [[Special:Categories|categories]] are all part of [[:category: Wiki people by language]].  This particular [[Special:Templates|template]] has '''three''' (3) input requirements – immediately after <code>{{UserLanguageSubcategory| . . .</code>: the first ''and'' third are compulsory; whilst the second default '<tt>no</tt>' is acceptable, but the native translation is ideally preferred.
Line 39: Line 39:
<code><nowiki>{{UserLanguageSubcategory|de|no|level=3}}</nowiki></code>
<code><nowiki>{{UserLanguageSubcategory|de|no|level=3}}</nowiki></code>
:which displays at the top of the category page:
:which displays at the top of the category 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:German speakers|German]]''' at an '''advanced''' level.
====Two-language output====
====Two-language output====
Three-input <u>two-language output</u> example:<br>
Three-input <u>two-language output</u> example:<br>


<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>
<code><nowiki>{{UserLanguageSubcategory|sv|'''[[:Category:Wiki People|Personerna]]''' i denna [[Special:Categories|underkategori]] här på WikiIndex listade nedan '''talar {{tag|Swedish speakers|svenska}}''' på '''modersmålsnivå'''|level=N}}</nowiki></code>
:which displays at the top of the category page:
:which displays at the top of the category 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:Swedish speakers|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:Swedish speakers|Swedish]]''' at a '''native''' level.


===See also===
===See also===

Navigation menu