Template:LanguageSelector/doc: Difference between revisions
Template page
More actions
added alias to See also |
added example |
||
| Line 18: | Line 18: | ||
<tr><td><code><nowiki>{{LanguageSelector|flags=only}}</nowiki></code></td><td>{{LanguageSelector|flags=only}}</td></tr> | <tr><td><code><nowiki>{{LanguageSelector|flags=only}}</nowiki></code></td><td>{{LanguageSelector|flags=only}}</td></tr> | ||
<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> | ||
<tr><td><code><nowiki>{{LanguageSelector|invalid}}</nowiki></code></td><td>{{LanguageSelector|invalid}}</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 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. | ||