Template:w: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[w:{{#if:{{{lang|}}}|{{{lang}}}:}}{{{1|Main Page}}}|{{{2|{{{1|Wikipedia}}}}}}]] |
[[w:{{#if:{{{lang|}}}|{{{lang}}}:}}{{ucfirst:{{{1|Main Page}}}}}|{{{2|{{{1|Wikipedia}}}}}}]]<noinclude> |
||
==Documentation== |
|||
Inserts an interwiki link to a Wikipedia article. |
|||
===Template data=== |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"1": { |
|||
"label": "Link target", |
|||
"type": "string", |
|||
"required": true |
|||
}, |
|||
"2": { |
|||
"label": "Link text", |
|||
"type": "content", |
|||
"suggested": true |
|||
}, |
|||
"lang": { |
|||
"label": "Interlanguage prefix", |
|||
"description": "To link another edition than English Wikipedia. Usually a two-letter language code.", |
|||
"type": "string" |
|||
} |
|||
}, |
|||
"paramOrder": [ |
|||
"1", |
|||
"2", |
|||
"lang" |
|||
] |
|||
} |
|||
</templatedata></noinclude> |
Latest revision as of 01:06, 27 April 2024
Documentation[edit source]
Inserts an interwiki link to a Wikipedia article.
Template data[edit source]
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Link target | 1 | no description | String | required |
Link text | 2 | no description | Content | suggested |
Interlanguage prefix | lang | To link another edition than English Wikipedia. Usually a two-letter language code. | String | optional |