Template:UselangLink: Difference between revisions
Template page
More actions
fixing documentation |
helpful link |
||
| Line 5: | Line 5: | ||
The text of the link defaults to the language's [[w:autonym|autonym]], and can be replaced with the optional named parameter {{code|1={{!}}text=}} | The text of the link defaults to the language's [[w:autonym|autonym]], and can be replaced with the optional named parameter {{code|1={{!}}text=}} | ||
Uses only magic words, should work on any MediaWiki installation. | Uses only [[mw:Help:Magic words|magic words]], should work on any MediaWiki installation. | ||
== Examples == | == Examples == | ||
Revision as of 13:55, 13 January 2010
Takes a mandatory unnamed parameter containing a language code. Returns a link to the corresponding language version of the page it's used on.
The text of the link defaults to the language's autonym, and can be replaced with the optional named parameter |text=
Uses only magic words, should work on any MediaWiki installation.