Template:InterWiki: Difference between revisions
Appearance
AndrewSayers (talk | contribs) Created page with "<pre><onlyinclude>[{{{prefix|{{{2|}}}{{{suffix|{{{1}}}}}}{{#if:{{{text|{{{4|}}}}}}|<nowiki> </nowiki>{{{text|{{{4|}}}}}}}}]</onlyinclude></pre> <templatedata> { "description": "InterWiki-style link", "params": { "prefix": { "type": "line", "required": true, "description": "Prefix typed by the user", "aliases": ["1"], "example": "WikiPedia" }, "URL": { "type": "line",..." |
AndrewSayers (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<pre><onlyinclude>[{{{ | <pre><onlyinclude>[{{{URL|{{{2|}}}{{{suffix|{{{3|}}}}}}{{#if:{{{text|{{{4|}}}}}}|<nowiki> </nowiki>{{{text|{{{4|}}}}}}}}]</onlyinclude></pre> | ||
<templatedata> | <templatedata> |
Revision as of 14:17, 30 August 2025
<onlyinclude>[{{{URL|{{{2|}}}{{{suffix|{{{3|}}}}}}{{#if:{{{text|{{{4|}}}}}}| {{{text|{{{4|}}}}}}}}]</onlyinclude>
InterWiki-style link
Parameter | Description | Type | Status | |
---|---|---|---|---|
prefix | prefix 1 | Prefix typed by the user
| Line | required |
URL | URL 2 | first part of the URL
| Line | required |
suffix | suffix 3 | URL suffix to link to | Line | required |
text | text 4 | Link text | Line | optional |
The old wiki had an inter-wiki map, for links like [[WikiPedia:article]]. MediaWiki also supports interwiki links, but some links need complex handling that's better implemented with templates.
This page contains a fallback template for links that don't have any special handling.