Template:InterWiki: Difference between revisions
Appearance
AndrewSayers (talk | contribs) No edit summary |
AndrewSayers (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<pre><onlyinclude>[{{{URL|{{{2|}}}}}}{{{suffix|{{{3|}}}}}}{{#if:{{{text|{{{4|}}}}}}| | <pre><onlyinclude>[{{{URL|{{{2|}}}}}}{{{suffix|{{{3|}}}}}}<nowiki> </nowiki>{{#if:{{{text|{{{4|}}}}}}|{{{text|{{{4|}}}}}}|{{{prefix|{{{1|}}}}}}:{{{suffix|{{{3|}}}}}}}}]</onlyinclude></pre> | ||
<templatedata> | <templatedata> |
Revision as of 14:21, 30 August 2025
<onlyinclude>[{{{URL|{{{2|}}}}}}{{{suffix|{{{3|}}}}}} {{#if:{{{text|{{{4|}}}}}}|{{{text|{{{4|}}}}}}|{{{prefix|{{{1|}}}}}}:{{{suffix|{{{3|}}}}}}}}]</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.