Difference between revisions of "Template:Translations"
Line 16: | Line 16: | ||
| {{#ifeq:{{#explode:{{PAGENAME}}|:|0}}|{{PAGENAME}} | | {{#ifeq:{{#explode:{{PAGENAME}}|:|0}}|{{PAGENAME}} | ||
| [[Has language::{{CONTENTLANGUAGE}}| ]] | | [[Has language::{{CONTENTLANGUAGE}}| ]] | ||
− | | {{#ifeq: {{#language:{{lc:{{#explode:{{ | + | | {{#ifeq: {{#language:{{lc:{{#explode:{{PAGENAME}}|:|0}}}}}} |
− | | {{lc:{{#explode:{{ | + | | {{lc:{{#explode:{{PAGENAME}}|:|0}}}} |
| [[Has language::{{CONTENTLANGUAGE}}| ]] | | [[Has language::{{CONTENTLANGUAGE}}| ]] | ||
− | | [[Has language::{{lc:{{#explode:{{ | + | | [[Has language::{{lc:{{#explode:{{PAGENAME}}|:|0}}}}| ]] |
}} | }} | ||
}} | }} | ||
− | | {{#ifeq: {{#language:{{lc:{{#explode:{{SUBPAGENAME}}| |0}}}}}} | + | | {{#ifeq: {{#language:{{lc:{{#explode:{{SUBPAGENAME}}|:|0}}}}}} |
− | | {{lc:{{#explode:{{SUBPAGENAME}}| |0}}}} | + | | {{lc:{{#explode:{{SUBPAGENAME}}|:|0}}}} |
| [[Has language::{{CONTENTLANGUAGE}}| ]] | | [[Has language::{{CONTENTLANGUAGE}}| ]] | ||
− | | [[Has language::{{lc:{{#explode:{{SUBPAGENAME}}| |0}}}}| ]] | + | | [[Has language::{{lc:{{#explode:{{SUBPAGENAME}}|:|0}}}}| ]] |
}} | }} | ||
}} | }} |
Revision as of 15:31, 18 April 2011
This is the Translations
template. It can be used to link to translations of an article in the wiki. To use it in your article, insert it as follows:
{{Translations| articles=Es:Foo,Hr:Bar }}
Any number of translations can be listed in the articles
parameter, separated by commas.
If no translations are specified, the page is marked as Untranslated.