Changes

From SME Server
Jump to navigationJump to search
m
Fixed and extended inlusion instruction
Line 37: Line 37:     
== Syntax ==
 
== Syntax ==
  <nowiki>{{{Languages|PageName}}}</nowiki>
+
  <nowiki><noinclude>{{Languages|PageName}}</noinclude></nowiki>
    
* '''PageName''' (optional) - the name of the page to display language links for.  If omitted then the English version of the current page is used.  This parameter can normally be omitted, as it is only required if you want to link to a page other than the one you place the template on, which is very uncommon.  If this parameter is used on a sub-page make sure you supply the root name, not the full page name (e.g. on [[MediaWiki/fr]] you would need to use <code><nowiki>{{{Languages|MediaWiki}}}</nowiki></code> and not <code><nowiki>{{{Languages|MediaWiki/fr}}}</nowiki></code>).
 
* '''PageName''' (optional) - the name of the page to display language links for.  If omitted then the English version of the current page is used.  This parameter can normally be omitted, as it is only required if you want to link to a page other than the one you place the template on, which is very uncommon.  If this parameter is used on a sub-page make sure you supply the root name, not the full page name (e.g. on [[MediaWiki/fr]] you would need to use <code><nowiki>{{{Languages|MediaWiki}}}</nowiki></code> and not <code><nowiki>{{{Languages|MediaWiki/fr}}}</nowiki></code>).

Navigation menu