Template:UserLanguageSubcategory: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(wikilinks)
m (Minor tweaks)
Line 1: Line 1:
<includeonly>{|border="0" style=float:right; text-align:center
<includeonly>{|border=0 style=float:right; text-align:center
![[Template:Language|How it appears]]
![[Template:Language|How it appears]]
|-
|-
Line 25: Line 25:
This [[:Category:User language templates|user language template]] renders the appropriate page display in the specific language subcategories of [[:category: Wiki People by Language]].  This template has three input requirements.
This [[:Category:User language templates|user language template]] renders the appropriate page display in the specific language subcategories of [[:category: Wiki People by Language]].  This template has three input requirements.
*'''1st''' — the language abbreviation, see [[template:Language]]
*'''1st''' — the language abbreviation, see [[template:Language]]
*'''2nd''' — translation of "These users speak (language) at a (level) level"; <tt>no</tt> if only English is to be displayed
*'''2nd''' — translation of "These users speak (language) at a (level) level"; if <tt>no</tt> is entered, only English is to be displayed
*'''level''' — 0, 1, 2, 3, 4, 5 or N (for native)
*'''level''' — 0, 1, 2, 3, 4, 5 or N (for native)
;Usage
;Usage
<code><nowiki>{{UserLanguageSubcategory|</nowiki>''<nowiki>code|native language translation</nowiki>''<nowiki>|level=</nowiki>''<nowiki>?</nowiki>''<nowiki>}}</nowiki></code><br>
<code><nowiki>{{UserLanguageSubcategory|</nowiki>''<nowiki>code</nowiki>''|''<nowiki>native language translation</nowiki>''<nowiki>|level=</nowiki>''<nowiki>?</nowiki>''<nowiki>}}</nowiki></code><br>
*three-input one-language output example:  <code><nowiki>{{UserLanguageSubcategory|de|no|level=3}}</nowiki></code>
*three-input one-language output example:  <code><nowiki>{{UserLanguageSubcategory|de|no|level=3}}</nowiki></code>
::which displays at the top of the page:
::which displays at the top of the page:
Line 39: Line 39:
*[[Template:UserLanguageCategory]] — for rendering the page display of the 'mother' language [[Special:Categories|categories]] of [[:category: Wiki People by Language]]
*[[Template:UserLanguageCategory]] — for rendering the page display of the 'mother' language [[Special:Categories|categories]] of [[:category: Wiki People by Language]]


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

Revision as of 21:17, 25 April 2017

This user language template renders the appropriate page display in the specific language subcategories of category: Wiki People by Language. This template has three input requirements.

  • 1st — the language abbreviation, see template:Language
  • 2nd — translation of "These users speak (language) at a (level) level"; if no is entered, only English is to be displayed
  • level — 0, 1, 2, 3, 4, 5 or N (for native)
Usage

{{UserLanguageSubcategory|code|native language translation|level=?}}

  • three-input one-language output example: {{UserLanguageSubcategory|de|no|level=3}}
which displays at the top of the page:
The people in this subcategory listed below speak German at an Advanced level.
  • three-input two-language output example: {{UserLanguageSubcategory|sv|De här användarna har '''svenska''' som '''modersmål'''.|level=N}}
which displays at the top of the page:
De här användarna har svenska som modersmål.
The people in this subcategory listed below speak Swedish at a Native level.
See also