In other languages:

Template:Languages: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added Vietnamese language support)
(Displaytitle now works in Tutorial and main namespace instead of just the main namespace)
(2 intermediate revisions by the same user not shown)
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 }} }} }} }}<!--  
{{#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
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]]}}}}<!--
-->{{#ifexist: {{FULLPAGENAME}} | {{#ifeq: {{NAMESPACE}}|Category||[[Category:{{Get language name}} page]]}}}}<!--
Line 24: Line 24:
{{Language exist|pl}}
{{Language exist|pl}}
{{Language exist|pt-br}}
{{Language exist|pt-br}}
{{Language exist|pt-pt}}
{{Language exist|ru}}
{{Language exist|ru}}
{{Language exist|sv}}
{{Language exist|sv}}
Line 33: Line 34:
</div></indicator><noinclude>
</div></indicator><noinclude>
{{documentation}}
{{documentation}}
[[Category:Localisation templates]] [[Category:Main]]
[[Category:Localisation templates]] [[Category:Main]]
</noinclude>
</noinclude>

Revision as of 14:03, 2 December 2020

[View] [Edit] [Page history]

Documentation

This 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