Difference between revisions of "Template:LanguageSet"

From BITPlan Wiki
Jump to navigation Jump to search
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>
+
</noinclude><includeonly>{{#set:
[[master page::{{{master page}}}]] [[language code::{{{language}}}]]
+
|master page={{{master page|}}}
</includeonly>
+
|language code={{{language|de}}}
 +
}}</includeonly>

Revision as of 13:31, 16 September 2017

From http://semantic-mediawiki.org/wiki/Template:Language

This template is used for stating the language for some content page.

Usage:

{{languageTest|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