Ad placeholder

Template:Url: Difference between revisions

Jump to navigation Jump to search
Use named args
(create)
 
(Use named args)
Line 1: Line 1:
<includeonly><onlyinclude>[http://{{{1}}} {{{2}}}]</onlyinclude></includeonly>
<includeonly><onlyinclude>{{{link}}} {{{text}}}</onlyinclude></includeonly><noinclude>{{documentation|content=
Does an external link. First parameter is the link and the second parameter is the link text.
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>

Navigation menu