Difference between revisions of "Template:Languagelink"

From BITPlan Wiki
Jump to navigation Jump to search
m (transfered by WikiBackup wikiTask at 2017-11-04T09:59:28Z)
Line 17: Line 17:
 
* <span class="lang-es">Spanish</span>
 
* <span class="lang-es">Spanish</span>
 
* <span class="lang-uk">Ukrainian</span>
 
* <span class="lang-uk">Ukrainian</span>
 
+
[[Category:Template]]
 
</noinclude><span style="text-transform: uppercase;" class="lang-{{{2}}}">[[{{{1}}}|{{{2}}}]]</span>
 
</noinclude><span style="text-transform: uppercase;" class="lang-{{{2}}}">[[{{{1}}}|{{{2}}}]]</span>
 
 
[[Category:Translations]]
 
[[Category:Translations]]
[[Category:Template]]
 

Revision as of 09:26, 11 November 2017


From http://semantic-mediawiki.org/wiki/Template:Languagelink This template creates a link to another page (parameter 1), using the language code as a link text (parameter 2). Flags can be shown by defining suitable styles for the span classes lang-LANGCODE (using MediaWiki:Common.css).

Languages with special styles currently are:

  • Chinese (simplified)
  • Dutch
  • English
  • French
  • German
  • Japanese
  • Russian
  • Spanish
  • Ukrainian

[[{{{1}}}|{{{2}}}]]