Difference between revisions of "Template:LanguageSet"
Jump to navigation
Jump to search
(7 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
This template is used for stating the language for some content page. | This template is used for stating the language for some content page. | ||
− | Usage: <pre>{{ | + | Usage: <pre>{{LanguageSet|master page=Page title|language=en}}</pre> |
The parameters have the following meaning: | The parameters have the following meaning: | ||
Line 9: | Line 9: | ||
* <tt>language</tt>: a standard [[Property:language code|language code]] | * <tt>language</tt>: a standard [[Property:language code|language code]] | ||
[[Category:Template]] | [[Category:Template]] | ||
− | </noinclude><includeonly> | + | see {{Link|target=Property:Language code}} |
− | {{# | + | </noinclude><includeonly>{{#set: |
− | + | |master page={{{master page|}}} | |
− | + | |Language code={{{language|de}}} | |
− | + | }}</includeonly> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | </includeonly> |
Latest revision as of 11:27, 27 September 2017
From http://semantic-mediawiki.org/wiki/Template:Language
This template is used for stating the language for some content page.
Usage:
{{LanguageSet|master page=Page title|language=en}}
The parameters have the following meaning:
- master page: the «main» page about that topic, usually the article with the English documentation for the most current version
- language: a standard language code