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.)
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
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]]

Latest revision as of 19:31, 16 November 2023

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.