Metalab Wiki:Languages: Unterschied zwischen den Versionen
|  Added language codes | K →How to:  Formatting fixes | ||
| Zeile 9: | Zeile 9: | ||
| Here's how to add language bar to a page: | Here's how to add language bar to a page: | ||
| # Create a sub-page and name it after the corresponding language code, for example de for German, en for English. | # Create a sub-page and name it after the corresponding language code, for example de for German, en for English. <br/>See the list of supported languages and corresponding codes below. | ||
| #  | # Write a special markup on the top of the page and all sub-pages: <br/>Add <code><nowiki>{{Languages}}</nowiki></code> to use German by default (i.e. language of the main page) or <br/>add <code><nowiki>{{Languages|en}}</nowiki></code> to use English by default (or any other language supported).<br/>It's also possible to use German markup: <code><nowiki>{{Sprache}}</nowiki></code> or <code><nowiki>{{Sprache|fr}}</nowiki></code> | ||
| == Language codes == | == Language codes == | ||