Template:Languages: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 45: Line 45:
/* If no language code is inserted into the template's parameters, search for pages with the same title in other languages /*
/* If no language code is inserted into the template's parameters, search for pages with the same title in other languages /*
       -->
       -->
     | {{Language exist|cs}} <!--
     | {{Language exist|cs|{{{list}}}}} <!--
   -->{{Language exist|de}} <!--
   -->{{Language exist|de|{{{list}}}}} <!--
   -->{{#switch: {{#titleparts: {{FULLPAGENAME}} | | -1 }}
   -->{{#switch: {{#titleparts: {{FULLPAGENAME}} | | -1 }}
           | cs| de | es | fr | it | nl | pt-br | ru | uk = {{#ifexist: {{#switch: {{#titleparts: {{FULLPAGENAME}} | | -1 }}
           | cs| de | es | fr | it | nl | pt-br | ru | uk = {{#ifexist: {{#switch: {{#titleparts: {{FULLPAGENAME}} | | -1 }}
                                                                             | cs| de | es | fr | it | nl | pt-br | ru | uk = {{#titleparts: {{FULLPAGENAME}}| -1 }}
                                                                             | cs| de | es | fr | it | nl | pt-br | ru | uk = {{#titleparts: {{FULLPAGENAME}}| -1 }}
                                                                             | #default = {{FULLPAGENAME}}
                                                                             | #default = {{FULLPAGENAME}}
                                                                         }} | {{Flag|en}}
                                                                         }} | {{#ifeq: {{{list|}}} | yes | <br/> {{•}} {{Flag|en|text=yes}} | {{Flag|en}} }}
       }}}} <!--
       }}}} <!--
   -->{{Language exist|es}} <!--
   -->{{Language exist|es|{{{list}}}}} <!--
   -->{{Language exist|fr}} <!--
   -->{{Language exist|fr|{{{list}}}}} <!--
   -->{{Language exist|it}} <!--
   -->{{Language exist|it|{{{list}}}}} <!--
   -->{{Language exist|nl}} <!--
   -->{{Language exist|nl|{{{list}}}}} <!--
   -->{{Language exist|pt-br}} <!--
   -->{{Language exist|pt-br|{{{list}}}}} <!--
   -->{{Language exist|ru}} <!--
   -->{{Language exist|ru|{{{list}}}}} <!--
   -->{{Language exist|uk}}}}</div></includeonly><noinclude>
   -->{{Language exist|uk|{{{list}}}}}}}</div></includeonly><noinclude>


{{documentation}}
{{documentation}}

Revision as of 20:52, 2 October 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