Template:Languages: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Polish lang) |
||
Line 13: | Line 13: | ||
| it = [[Category:Italian page]] | | it = [[Category:Italian page]] | ||
| nl = [[Category:Dutch page]] | | nl = [[Category:Dutch page]] | ||
| pl = [[Category:Polish page]] | |||
| pt-br = [[Category:Brazilian Portuguese page]] | | pt-br = [[Category:Brazilian Portuguese page]] | ||
| ru = [[Category:Russian page]] | | ru = [[Category:Russian page]] | ||
Line 18: | Line 19: | ||
| zh = [[Category:Chinese page]] | | zh = [[Category:Chinese page]] | ||
| #default = [[Category:English page]] | | #default = [[Category:English page]] | ||
}}}}{{#ifeq: {{#expr: {{#if: {{{1|}}} | 1 | 0 }} + {{#if: {{{cs|}}} | 1 | 0 }} + {{#if: {{{de|}}} | 1 | 0 }} + {{#if: {{{es|}}} | 1 | 0 }} + {{#if: {{{fr|}}} | 1 | 0 }} + {{#if: {{{it|}}} | 1 | 0 }} + {{#if: {{{nl|}}} | 1 | 0 }} + {{#if: {{{pt-br|}}} | 1 | 0 }} + {{#if: {{{ru|}}} | 1 | 0 }} + {{#if: {{{uk|}}} | 1 | 0 }} + {{#if: {{{zh|}}} | 1 | 0 }} + {{Other test|cs}}+{{Other test|de}}+{{Other test|es}}+{{Other test|fr}}+{{Other test|it}}+{{Other test|nl}}+{{Other test|pt-br}}+{{Other test|ru}}+{{Other test|uk}}+{{Other test|zh}}+{{#ifeq: {{No language suffix}} | {{FULLPAGENAME}} | 0 | {{#ifexist: {{No language suffix}} | 1 | 0 }} }} | }}}}{{#ifeq: {{#expr: {{#if: {{{1|}}} | 1 | 0 }} + {{#if: {{{cs|}}} | 1 | 0 }} + {{#if: {{{de|}}} | 1 | 0 }} + {{#if: {{{es|}}} | 1 | 0 }} + {{#if: {{{fr|}}} | 1 | 0 }} + {{#if: {{{it|}}} | 1 | 0 }} + {{#if: {{{nl|}}} | 1 | 0 }} + {{#if: {{{pl|}}} | 1 | 0 }} + {{#if: {{{pt-br|}}} | 1 | 0 }} + {{#if: {{{ru|}}} | 1 | 0 }} + {{#if: {{{uk|}}} | 1 | 0 }} + {{#if: {{{zh|}}} | 1 | 0 }} + {{Other test|cs}}+{{Other test|de}}+{{Other test|es}}+{{Other test|fr}}+{{Other test|it}}+{{Other test|nl}}+{{Other test|pl}}+{{Other test|pt-br}}+{{Other test|ru}}+{{Other test|uk}}+{{Other test|zh}}+{{#ifeq: {{No language suffix}} | {{FULLPAGENAME}} | 0 | {{#ifexist: {{No language suffix}} | 1 | 0 }} }} | ||
}} | 0 | |{{#ifeq: {{{list|}}} | yes | |<div | }} | 0 | |{{#ifeq: {{{list|}}} | yes | |<div | ||
style="background-color: #EFEFEF; | style="background-color: #EFEFEF; | ||
Line 38: | Line 39: | ||
| it = In altre lingue | | it = In altre lingue | ||
| nl = In andere talen | | nl = In andere talen | ||
| pl = W innych językach | |||
| pt-br = In other languages | | pt-br = In other languages | ||
| ru = Другими языками | | ru = Другими языками | ||
Line 45: | Line 47: | ||
}}: '''</small> <!-- | }}: '''</small> <!-- | ||
/* Using manual language adding by inserting the language code in the template's parameters /* | /* Using manual language adding by inserting the language code in the template's parameters /* | ||
-->}}{{#if: {{{1|}}}{{{cs|}}}{{{de|}}}{{{en|}}}{{{es|}}}{{{fr|}}}{{{it|}}}{{{nl|}}}{{{pt-br|}}}{{{ru|}}}{{{uk|}}}{{{zh|}}} | -->}}{{#if: {{{1|}}}{{{cs|}}}{{{de|}}}{{{en|}}}{{{es|}}}{{{fr|}}}{{{it|}}}{{{nl|}}}{{{pl|}}}{{{pt-br|}}}{{{ru|}}}{{{uk|}}}{{{zh|}}} | ||
| {{#if:{{{1|}}}|{{Flag|{{{1}}}}}}}<!-- | | {{#if:{{{1|}}}|{{Flag|{{{1}}}}}}}<!-- | ||
--> {{#if:{{{2|}}}|{{Flag|{{{2}}}}}}}<!-- | --> {{#if:{{{2|}}}|{{Flag|{{{2}}}}}}}<!-- | ||
Line 57: | Line 59: | ||
--> {{#if:{{{10|}}}|{{Flag|{{{10}}}}}}}<!-- | --> {{#if:{{{10|}}}|{{Flag|{{{10}}}}}}}<!-- | ||
--> {{#if:{{{11|}}}|{{Flag|{{{11}}}}}}}<!-- | --> {{#if:{{{11|}}}|{{Flag|{{{11}}}}}}}<!-- | ||
--> {{#if:{{{12|}}}|{{Flag|{{{12}}}}}}}<!-- | |||
--> {{#if:{{{cs|}}}|{{Flag|cs|link={{{cs}}}}}}}<!-- | --> {{#if:{{{cs|}}}|{{Flag|cs|link={{{cs}}}}}}}<!-- | ||
--> {{#if:{{{de|}}}|{{Flag|de|link={{{de}}}}}}}<!-- | --> {{#if:{{{de|}}}|{{Flag|de|link={{{de}}}}}}}<!-- | ||
Line 64: | Line 67: | ||
--> {{#if:{{{it|}}}|{{Flag|it|link={{{it}}}}}}}<!-- | --> {{#if:{{{it|}}}|{{Flag|it|link={{{it}}}}}}}<!-- | ||
--> {{#if:{{{nl|}}}|{{Flag|nl|link={{{nl}}}}}}}<!-- | --> {{#if:{{{nl|}}}|{{Flag|nl|link={{{nl}}}}}}}<!-- | ||
--> {{#if:{{{pl|}}}|{{Flag|pl|link={{{pl}}}}}}}<!-- | |||
--> {{#if:{{{pt-br|}}}|{{Flag|pt-br|link={{{pt-br}}}}}}}<!-- | --> {{#if:{{{pt-br|}}}|{{Flag|pt-br|link={{{pt-br}}}}}}}<!-- | ||
--> {{#if:{{{ru|}}}|{{Flag|ru|link={{{ru}}}}}}}<!-- | --> {{#if:{{{ru|}}}|{{Flag|ru|link={{{ru}}}}}}}<!-- | ||
Line 73: | Line 77: | ||
-->{{Language exist|de|{{{list}}}}} <!-- | -->{{Language exist|de|{{{list}}}}} <!-- | ||
-->{{#switch: {{Language suffix}} | -->{{#switch: {{Language suffix}} | ||
| cs| de | es | fr | it | nl | pt-br | ru | uk | zh = {{#ifexist: {{#switch: {{Language suffix}} | | cs| de | es | fr | it | nl | pl | pt-br | ru | uk | zh = {{#ifexist: {{#switch: {{Language suffix}} | ||
| cs| de | es | fr | it | nl | pt-br | ru | uk | zh = {{#titleparts: {{FULLPAGENAME}}| -1 }} | | cs| de | es | fr | it | nl | pl | pt-br | ru | uk | zh = {{#titleparts: {{FULLPAGENAME}}| -1 }} | ||
| #default = {{FULLPAGENAME}} | | #default = {{FULLPAGENAME}} | ||
}} | {{#ifeq: {{{list|}}} | yes | {{Flag|en|text=yes}} | {{Flag|en}} }} | }} | {{#ifeq: {{{list|}}} | yes | {{Flag|en|text=yes}} | {{Flag|en}} }} | ||
Line 82: | Line 86: | ||
-->{{Language exist|it|{{{list}}}}} <!-- | -->{{Language exist|it|{{{list}}}}} <!-- | ||
-->{{Language exist|nl|{{{list}}}}} <!-- | -->{{Language exist|nl|{{{list}}}}} <!-- | ||
-->{{Language exist|pl|{{{list}}}}} <!-- | |||
-->{{Language exist|pt-br|{{{list}}}}} <!-- | -->{{Language exist|pt-br|{{{list}}}}} <!-- | ||
-->{{Language exist|ru|{{{list}}}}} <!-- | -->{{Language exist|ru|{{{list}}}}} <!-- |
Revision as of 13:32, 12 February 2015
[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