|
|
(12 intermediate revisions by 5 users not shown) |
Line 1: |
Line 1: |
| <div style=" | | <includeonly>{{#if: {{{en|}}} | |
| border: 1px solid lightgrey;
| | {{#ifeq: {{{en|}}} | {{FULLPAGENAME}} | <!-- Don't display perfect self-references --> | |
| margin: 0 0 1em 2em;
| | [[en:{{{en}}}]] |
| padding: 2px;
| |
| display: block;
| |
| float: right;
| |
| ">{{#if: {{{en|}}} |
| |
| {{#ifeq: {{{en}}} | {{PAGENAME}} | <!-- don't display self-references --> | | |
| [[{{{en|}}}|English]] <includeonly>[[Category:Pages with faked interwiki links]]</includeonly> | |
| }} | | | }} | |
| }}{{#if: {{{ja|}}} | | | }}{{#if: {{{de|}}} | |
| {{#ifeq: {{{ja}}} | {{PAGENAME}} | <!-- don't display self-references --> |
| |
| [[{{{ja|}}}|日本語]] <includeonly>[[Category:Pages with faked interwiki links]]</includeonly>
| |
| }} |
| |
| }}</div>{{#if: {{{de|}}} |
| |
| [[de:{{{de}}}]] | | | [[de:{{{de}}}]] | |
| }}{{#if: {{{es|}}} | | | }}{{#if: {{{es|}}} | |
| [[es:{{{es}}}]] | | | [[es:{{{es}}}]] | |
| }}<noinclude> | | }}{{#if: {{{ja|}}} | |
| | | [[ja:{{{ja}}}]] | |
| This template controls the appearance of interwiki links between German (de) English (en) Spanish (sp) Japanse (ja) in the English Xenwiki.
| | }}{{#if: {{{ko|}}} | |
| | | [[ko:{{{ko}}}]] |
| These parameters are supported:
| | }}{{#if: {{{ro|}}} | |
| | | [[ro:{{{ro}}}]] |
| {| class="wikitable" | | }}{{#if: {{{zh|}}} | |
| ! parameter !! argument and special rules
| | [[zh:{{{zh}}}]] |
| |- | | }}</includeonly><noinclude> |
| | de || name of a page in the German wiki without the de prefix | | {{documentation}} |
| |-
| |
| | 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:
| |
| <nowiki>{{interwiki|</nowiki> en = ''en-pagename'' <nowiki>}}</nowiki>
| |
| <nowiki>{{interwiki|</nowiki> de = ''de-pagename'' | ja = ''ja-pagename'' <nowiki>}}</nowiki>
| |
| | |
| ... or like this:
| |
| <nowiki>{{interwiki</nowiki>
| |
| | de = ''German page name''
| |
| | es = ''Spanisch page name''
| |
| | ja = ''Japanese page name''
| |
| <nowiki>}}</nowiki>
| |
| | |
| Here an empty copy template with all parameters in alphabetical order:
| |
| <nowiki>{{interwiki</nowiki>
| |
| | de =
| |
| | en =
| |
| | es =
| |
| | ja =
| |
| <nowiki>}}</nowiki>
| |
| | |
| 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).
| |
|
| |
|
| [[Category:Templates]] | | [[Category:Templates]] |
| </noinclude> | | </noinclude> |