Template:Languages: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<!-- | <!-- | ||
/* Translating the title of the page using the DISPLAYTITLE magic word /* | /* Translating the title of the page using the DISPLAYTITLE magic word /* | ||
Line 15: | Line 5: | ||
{{#ifeq: {{NAMESPACE}}||{{DISPLAYTITLE: {{Translation| {{No mod prefix| {{FULLPAGENAME}} }} }} }} }} | {{#ifeq: {{NAMESPACE}}||{{DISPLAYTITLE: {{Translation| {{No mod prefix| {{FULLPAGENAME}} }} }} }} }} | ||
<!-- | <!-- | ||
/* | /* Adding the page to the correct language category /* | ||
-->{{#switch: {{Language suffix}} | --> | ||
{{#switch: {{Language suffix}} | |||
| cs = [[Category:Czech page]] | | cs = [[Category:Czech page]] | ||
| de = [[Category:German page]] | | de = [[Category:German page]] | ||
Line 28: | Line 19: | ||
| zh = [[Category:Chinese page]] | | zh = [[Category:Chinese page]] | ||
| #default = [[Category:English page]] | | #default = [[Category:English page]] | ||
}} | }}{{Other languages|{{#ifeq: {{{list|}}} | yes | |<div | ||
{{Other languages|<small>'''{{#switch: {{Language suffix}} | style="background-color: #EFEFEF; | ||
padding: 5px; | |||
border-color: #ACACAC; | |||
border-width: 1px; | |||
border-style: solid; | |||
border-bottom-width: medium; | |||
position: absolute; | |||
right: 0; | |||
top: -2.4em; | |||
"><!-- | |||
/* Translating the message displayed next to the flag /* | |||
--><small>'''{{#switch: {{Language suffix}} | |||
| cs = V jiných jazycích | | cs = V jiných jazycích | ||
| de = In anderen Sprachen | | de = In anderen Sprachen |
Revision as of 17:25, 28 October 2014
[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