Jump to content

Template:OpenLinkInNewTab

From Swarthmore Knowledge Base
Revision as of 18:50, 16 July 2026 by Aruethe2 (talk | contribs) (Created page with "<includeonly>{{#widget:OpenLinkInNewTab|url={{{url}}}|link_text={{{Link Text|url}}}}}</includeonly> <noinclude>== Usage == <nowiki>{{OpenLinkInNewTab|https://example.com|Link to example.com}}</nowiki> <templatedata> { "params": { "url": { "description": "Link url (including https://)", "type": "url", "required": true }, "Link Text": { "description": "Text to use for the link. Will use url if left blank", "type": "number" } }, "paramOrder": [...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{OpenLinkInNewTab|https://example.com|Link to example.com}}

Create a link that opens in a new tab

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
urlurl

Link url (including https://)

URLrequired
Link TextLink Text

Text to use for the link. Will use url if left blank

Numberoptional