Template:PopupLink: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<includeonly> | |||
<a href="{{{1|#}}}" | |||
title="{{{3|}}}" | |||
target="{{{4|_self}}}">{{{2|Click here}}}</a> | |||
</includeonly> | |||
<noinclude> | |||
Usage: {{PopupLink|URL|Link Text|Popup Text|Target}} | |||
- URL: the link (default: #) | |||
- Link Text: text shown (default: Click here) | |||
- Popup Text: text on hover (optional) | |||
- Target: _self, _blank, _top, _parent (default: _self) | |||
Example: | |||
{{PopupLink|https://example.com|Example|This is a popup|_blank}} | |||
</noinclude> | |||
Revision as of 22:02, 6 September 2025
Usage:
<a href="URL"
title="Popup Text" target="Target">Link Text</a>
- URL: the link (default: #)
- Link Text: text shown (default: Click here)
- Popup Text: text on hover (optional)
- Target: _self, _blank, _top, _parent (default: _self)
Example:
<a href="https://example.com"
title="This is a popup" target="_blank">Example</a>