Template:LanguageSelector/doc: Difference between revisions
Template page
More actions
documentation for flags=only case |
update documentation |
||
| Line 8: | Line 8: | ||
|2def= optional | |2def= optional | ||
|name={{BASEPAGENAME}} | |name={{BASEPAGENAME}} | ||
|desc= | |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= | ||