Difference between revisions of "Template:Languages"
Jump to navigation
Jump to search
m (HTML validation fixes: obsolete attributes width, valign; reduce hex code) |
m (Remove check for alternate page names on this page) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <onlyinclude><div class="LanguageLinks" | + | <onlyinclude><div class="LanguageLinks" style="width: 100%; background: #f6f9ed; padding: calc(0.5em - 2px) 0em;"><span class="nowrap" style="background: #ebf0fa; width: 10px; padding: 0.5em 1em; border-right: 1px solid #888;">'''Languages:''' </span><span style="padding: 0.5em 1em;">'''[[{{#titleparts:{{FULLPAGENAME}}|1}}{{!}}English]]'''<includeonly><!-- |
− | + | -->{{Languages/Lang|de}}<!-- | |
− | + | -->{{Languages/Lang|fr}}<!-- | |
− | < | + | -->{{Languages/Lang|nl}}<!-- |
− | '''[[{{ | + | --></includeonly></span></div></onlyinclude><noinclude> |
− | {{Languages/Lang|de | ||
− | {{Languages/Lang|fr | ||
− | {{Languages/Lang|nl | ||
− | |||
− | |||
==Syntax== | ==Syntax== | ||
− | <nowiki>{{Languages | + | <!--dummy edit--> |
+ | <nowiki>{{Languages}}</nowiki> | ||
− | + | * On both [[Common Problems]] and [[Common Problems/fr]] we use simply <nowiki>{{Languages}}</nowiki> and the pages will be linked. | |
− | * | ||
− | |||
==Usage== | ==Usage== |
Latest revision as of 08:47, 19 March 2019
Languages: English
Syntax
{{Languages}}
- On both Common Problems and Common Problems/fr we use simply {{Languages}} and the pages will be linked.
Usage
- Place only pages that exist in more than one language
- Place in the same location on each translation of the page
- The English version of a page is always the main version
- Using the appropriate language code in the format "pagenamehere/language_code"
For example, see above.