Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:LanguageSelector/doc: Difference between revisions

Template page
documentation for flags=only case
update documentation
Line 8: Line 8:
|2def= optional
|2def= optional
|name={{BASEPAGENAME}}
|name={{BASEPAGENAME}}
|desc=This is a first version of a language selector which displays a configurable menu of languages to display a given page in. It is intended to complement {{tl|LangSwitch}}, but you might find previously unintended uses. ;)
|desc=Displays a configurable series of languages to display a given page in. It is intended to complement {{tl|LangSwitch}}, but you might find previously unintended uses. ;)
|namespace=all
|namespace=all
|usergroup=all
|usergroup=all
Line 19: Line 19:
<tr><td><code><nowiki>{{LanguageSelector|zh|de}}</nowiki></code></td><td>{{LanguageSelector|zh|de}}</td></tr>
<tr><td><code><nowiki>{{LanguageSelector|zh|de}}</nowiki></code></td><td>{{LanguageSelector|zh|de}}</td></tr>
</table>
</table>
*The switch only applies to the page the template is transcluded on, clicking other links will return you to the language set in your MediaWiki preferences. This does not generally apply to script calls, e. g. "hide/show" links, or controls for sortable tables or other embedded stuff.
* The template can be used inline, it should not break any layout.
|type=
|type=
|example=
|example=

Revision as of 18:59, 7 January 2010

Cookies help us deliver our services. By using our services, you agree to our use of cookies.