Template:Languages: Difference between revisions
Jump to navigation
Jump to search
(wrapped the language container in indicator tags to automatically place it at the top of pages and fix various issues with overlapping) |
(fixed extra whitespace) |
||
Line 1: | Line 1: | ||
<!-- Translating the title of the page using the DISPLAYTITLE magic word --> | <!-- Translating the title of the page using the DISPLAYTITLE magic word --> | ||
{{#ifeq: {{NAMESPACE}}||{{DISPLAYTITLE: {{Translation| {{#titleparts: {{FULLPAGENAME}} | -1 }} }} }} }} | {{#ifeq: {{NAMESPACE}}||{{DISPLAYTITLE: {{Translation| {{#titleparts: {{FULLPAGENAME}} | -1 }} }} }} }}<!-- | ||
<!-- Add page to that language's category --> | Add page to that language's category | ||
[[Category:{{Get language name}} page]] | -->[[Category:{{Get language name}} page]]<!-- | ||
<!-- Automatically show flags of other language's versions of this page --> | Automatically show flags of other language's versions of this page | ||
<indicator name="languages-container"> | --><indicator name="languages-container"> | ||
<div class="languages-container"> | <div class="languages-container"> | ||
<span class="languages-message"> | <span class="languages-message"> |
Revision as of 08:50, 10 August 2017
[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