Template:LSpecial/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "To use for Special: links on translated pages so that they take the interfaces {{LSpecial|ProtectedPages}}")
 
No edit summary
Line 1: Line 1:
To use for Special: links on translated pages so that they take the interfaces
To use for Special: links on translated pages so that they take the interfaces
* {{param|1}} - Special: page name
* {{param|2}} - alt names (default uses string defined in MediaWiki namespace i.e interface language)
* {{param|lang}} - force specific language (default use {{T|language}})


{{LSpecial|ProtectedPages}}
 
* {{Code|<nowiki>{{LSpecial|ProtectedPages}}</nowiki>}} = {{LSpecial|ProtectedPages}}
* {{Code|<nowiki>{{LSpecial|AllMessages}}</nowiki>}} = {{LSpecial|AllMessages}}
* {{Code|<nowiki>{{LSpecial|AllMessages}}</nowiki>}} = {{LSpecial|AllMessages|lang=sk}}
* {{Code|<nowiki>{{LSpecial|Random|Rocket Raccoon}}</nowiki>}} = {{LSpecial|Random|Rocket Raccoon}}
 
 
== See Also ==
* {{T|L}}
* {{T|Lx}}
* {{T|LCategory}}
* {{T|ACategory}}

Revision as of 02:08, 11 August 2024

To use for Special: links on translated pages so that they take the interfaces

  • {{{1}}} - Special: page name
  • {{{2}}} - alt names (default uses string defined in MediaWiki namespace i.e interface language)
  • {{{lang}}} - force specific language (default use {{language}})



See Also