Template:Languages: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Displaytitle now works in Tutorial and main namespace instead of just the main namespace) |
||
(73 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
<!-- Translating the title of the page using the DISPLAYTITLE magic word --> | |||
{{#switch: {{NAMESPACE}} | Tutorial | = {{DISPLAYTITLE: {{Translation| {{#titleparts: {{FULLPAGENAME}} | -1 }} }} }} }}<!-- | |||
Add page to that language's category if the page actually exists, and only if the page is not a category itself | |||
-->{{#ifexist: {{FULLPAGENAME}} | {{#ifeq: {{NAMESPACE}}|Category||[[Category:{{Get language name}} page]]}}}}<!-- | |||
Automatically show flags of other language's versions of this page | |||
--><indicator name="languages-container"> | |||
<div class="languages-container"> | |||
<span class="languages-message"> | |||
{{Translation|In other languages:}} | |||
</span> | |||
<span class="languages-flags"> | |||
<!-- | {{Language exist|cs}} | ||
{{Language exist|da}} | |||
--> | {{Language exist|de}} | ||
{{Language exist|en}} | |||
{{Language exist|es}} | |||
{{Language exist|fr}} | |||
{{Language exist|hu}} | |||
{{Language exist|it}} | |||
{{Language exist|ja}} | |||
{{Language exist|ko}} | |||
{{Language exist|ms}} | |||
{{Language exist|nl}} | |||
{{Language exist|pl}} | |||
{{Language exist|pt-br}} | |||
{{Language exist|pt-pt}} | |||
{{Language exist|ru}} | |||
{{Language exist|sv}} | |||
{{Language exist|tr}} | |||
{{Language exist|uk}} | |||
{{Language exist|vi}} | |||
{{Language exist|zh}} | |||
</span> | |||
</div></indicator><noinclude> | |||
{{documentation}} | |||
[[Category:Localisation templates]] [[Category:Main]] | |||
{{ | |||
[[Category:Localisation templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 14:03, 2 December 2020
[View] [Edit] [Page history]
DocumentationThis template has a Sandbox for testing new features at Template:Languages/Sandbox.
This template will display a bar with links to international versions of the same page. List of all templates