Difference between revisions of "Template:Languages"
Jump to navigation
Jump to search
(This may break things) |
m (Undo revision 57691 by DoesItReallyMatter (talk)) |
||
Line 4: | Line 4: | ||
<td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #888;">'''Languages:''' </td><td style="padding: 1px 1em 0; background: #F6F9ED;"> | <td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #888;">'''Languages:''' </td><td style="padding: 1px 1em 0; background: #F6F9ED;"> | ||
'''[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}|English]]''' | '''[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}|English]]''' | ||
− | {{Languages/Lang|de}} | + | {{Languages/Lang|de|{{{1|}}}|}} |
− | {{Languages/Lang|fr}} | + | {{Languages/Lang|fr|{{{1|}}}|}} |
− | {{Languages/Lang|nl}} | + | {{Languages/Lang|nl|{{{1|}}}|}} |
− | {{Languages/Lang|sk}} | + | {{Languages/Lang|sk|{{{1|}}}|}} |
</td></tr></table></div></onlyinclude><noinclude> | </td></tr></table></div></onlyinclude><noinclude> | ||
==Syntax== | ==Syntax== |
Revision as of 09:48, 7 February 2019
Languages: |
|
Syntax
{{Languages|PageName}}
PageName (optional) - name of the page on which we would like to show the language links.
- Leave blank on the main page. For example, on Common Problems we use simply {{Languages}}.
- Put the name of the page itself on language sub-pages. For example, on Common Problems/fr we must use {{Languages|Common Problems}}.
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.