Template:Interwiki: Difference between revisions
Jump to navigation
Jump to search
m added empty copy template |
test to ignore self-references on en pages |
||
| Line 6: | Line 6: | ||
float: right; | float: right; | ||
">{{#if: {{{en|}}} | | ">{{#if: {{{en|}}} | | ||
[[{{{en|}}}|English]] <includeonly>[[Category:Pages with faked interwiki links]]</includeonly> | | {{#ifeq: {{{en}}} | {{PAGENAME}} | <!-- don't display self-references --> | | ||
[[{{{en|}}}|English]] <includeonly>[[Category:Pages with faked interwiki links]]</includeonly> | |||
}} | | |||
}}{{#if: {{{ja|}}} | | }}{{#if: {{{ja|}}} | | ||
[[{{{ja|}}}|日本語]] <includeonly>[[Category:Pages with faked interwiki links]]</includeonly> | | [[{{{ja|}}}|日本語]] <includeonly>[[Category:Pages with faked interwiki links]]</includeonly> | | ||
Revision as of 22:30, 12 October 2018
This template controls the appearance of interwiki links between German (de) English (en) Spanish (sp) Japanse (ja) in the English Xenwiki.
These parameters are supported:
| parameter | argument and special rules |
|---|---|
| de | name of a page in the German wiki without the de prefix |
| en | name of an English page: use on a Japanese pages |
| es | name of a page in the Spanish wiki without the es prefix |
| ja | name of a Japanese page: use on English pages |
Use it for example like this:
{{interwiki| en = en-pagename }}
{{interwiki| de = de-pagename | ja = ja-pagename }}
... or like this:
{{interwiki
| de = German page name
| es = Spanisch page name
| ja = Japanese page name
}}
Here an empty copy template with all parameters in alphabetical order:
{{interwiki
| de =
| en =
| es =
| ja =
}}
This causes a small box in the upper right corner if the built-in interwiki feature is not feasible.
There is also a category:pages with faked interwiki links that contains affected Japanese pages (and currently also affected English pages).