Template:Languages: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
">
">
<!--
<!--
 
/* Translating the message displayed next to the flag /*
--><small>'''{{#switch: {{#titleparts: {{FULLPAGENAME}} | | -1 }}
--><small>'''{{#switch: {{#titleparts: {{FULLPAGENAME}} | | -1 }}
               | nl = In andere talen
               | nl = In andere talen
Line 18: Line 18:
               | #default = In other languages
               | #default = In other languages
           }}:'''</small> <!--
           }}:'''</small> <!--
/* Using manual language adding by inserting the language code in the template's paramters /*
-->{{#if: {{{1|}}}
-->{{#if: {{{1|}}}
     | {{Flag|{{{1}}}}}<!--
     | {{Flag|{{{1}}}}}<!--
Line 29: Line 30:
       --> {{#if:{{{9|}}}|{{Flag|{{{9}}}}}}}<!--
       --> {{#if:{{{9|}}}|{{Flag|{{{9}}}}}}}<!--
       --> {{#if:{{{10|}}}|{{Flag|{{{10}}}}}}}<!--
       --> {{#if:{{{10|}}}|{{Flag|{{{10}}}}}}}<!--
/* If no language code is inserted into the template's paramters, search for pages with the same title in other languages /*
       -->
       -->
     | {{#ifeq: {{#titleparts: {{FULLPAGENAME}} | | -1 }} | cs | |{{#ifexist: {{#switch: {{#titleparts: {{FULLPAGENAME}} | | -1 }}
     | {{#ifeq: {{#titleparts: {{FULLPAGENAME}} | | -1 }} | cs | |{{#ifexist: {{#switch: {{#titleparts: {{FULLPAGENAME}} | | -1 }}

Revision as of 21:28, 5 September 2014


[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