Template:Url: Difference between revisions
Jump to navigation
Jump to search
(create) |
m (Also add the missing prefix) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>[ | <includeonly><onlyinclude>[https://{{{link}}} {{{text}}}]</onlyinclude></includeonly><noinclude>{{documentation|content= | ||
Does an external link | Does an external link. | ||
Why is this needed? Due to Mediawiki quirks with parsing and bare http links. Primarily used for [[Template:VA]] at the moment. | Why is this needed? Due to Mediawiki quirks with parsing and bare http links. Primarily used for [[Template:VA]] at the moment. | ||
==Template data== | |||
<templatedata> | |||
{ | |||
"params": { | |||
"link": { | |||
"description": "The external link, without an https:// prefix.", | |||
"required": true | |||
}, | |||
"text": { | |||
"description": "The display text." | |||
} | |||
}, | |||
"format": "inline", | |||
"description": "Does an external link.\n" | |||
} | |||
</templatedata> | |||
}} | |||
</noinclude> |
Latest revision as of 09:58, 15 November 2023
Template documentation
Does an external link.
Why is this needed? Due to Mediawiki quirks with parsing and bare http links. Primarily used for Template:VA at the moment.
Template data
Does an external link.
Parameter | Description | Type | Status | |
---|---|---|---|---|
link | link | The external link, without an https:// prefix. | Unknown | required |
text | text | The display text. | Unknown | optional |