Template:UserLanguageSubcategory: Difference between revisions
Jump to navigation
Jump to search
Hoof Hearted (talk | contribs) m (Hoof Hearted moved page Template:LanguageSubcategory to Template:UserLanguageSubcategory: old page name was ambiguous - new name is much clearer) |
Hoof Hearted (talk | contribs) m (fix help text following rename) |
||
Line 28: | Line 28: | ||
*'''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>{{ | <code><nowiki>{{UserLanguageSubcategory|</nowiki>''<nowiki>code|native language translation</nowiki>''<nowiki>|level=</nowiki>''<nowiki>?</nowiki>''<nowiki>}}</nowiki></code><br> | ||
*three-input one-language output example: <code><nowiki>{{ | *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: | ||
:::The people in this [[Special:Categories|subcategory]] listed below speak '''[[:Category:German|German]]''' at an '''Advanced''' level. | :::The people in this [[Special:Categories|subcategory]] listed below speak '''[[:Category:German|German]]''' at an '''Advanced''' level. | ||
*three-input two-language output example: <code><nowiki>{{ | *three-input two-language output example: <code><nowiki>{{UserLanguageSubcategory|sv|De här användarna har '''svenska''' som '''modersmål'''.|level=N}}</nowiki></code> | ||
::which displays at the top of the page: | ::which displays at the top of the page: | ||
:::De här användarna har '''svenska''' som '''modersmål'''. | :::De här användarna har '''svenska''' som '''modersmål'''. |
Revision as of 18:20, 24 September 2012
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"; no if English
- 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.
- which displays at the top of the page:
- 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.
- which displays at the top of the page:
- See also
- Template:LanguageCategory — for rendering the page display of the 'mother' language categories of Category:Wiki People by Language