Template:Url: Difference between revisions
Jump to navigation
Jump to search
(create) |
(Use named args) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude> | <includeonly><onlyinclude>{{{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> |
Revision as of 09:57, 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 |