Template:Interwiki: Difference between revisions

Xenwolf (talk | contribs)
m added empty copy template
Xenwolf (talk | contribs)
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> |