Template:Languages: Difference between revisions

From Shareaza Wiki
Jump to navigation Jump to search
(Modified the template to be used without parameter on english pages.)
No edit summary
Line 30: Line 30:


== Syntax ==
== Syntax ==
Use
  <nowiki>{{Languages}}</nowiki>
  <nowiki>{{Languages}}</nowiki>
on English pages or
on English pages or
  <nowiki>{{Languages|This Page}}</nowiki>
  <nowiki>{{Languages|This Page}}</nowiki>
on all other pages.
on pages of all other languages.


== Correct Usage ==
== Wrong Usage ==
<nowiki>{{Languages|This Page}}</nowiki>
Due to the restrictions of this mediawiki installation, the English page name is now a required parameter on all non-English pages. It is not required, however, on English pages. The alternate [[Template:Language]] was previously used on English pages to not to have to use a parameter. It redirects to this page now.
{{Languages|This Page}}


== Wrong Usage ==
<nowiki>{{Languages}}</nowiki>
Due to the restrictions of this mediawiki installation, the (English) page name is now a required parameter on all non-English pages. If you want to you do not want to specify the page name on an english page you can use the [[Template:Language|Language Template]].
[[Category:Templates]]
[[Category:Templates]]

Revision as of 20:06, 31 July 2010

Template

Old Code

Syntax

Use

{{Languages}}

on English pages or

{{Languages|This Page}}

on pages of all other languages.

Wrong Usage

Due to the restrictions of this mediawiki installation, the English page name is now a required parameter on all non-English pages. It is not required, however, on English pages. The alternate Template:Language was previously used on English pages to not to have to use a parameter. It redirects to this page now.