Template:Insecure url: Difference between revisions

From Alpine Linux
(Initial creation of template.)
 
m (Documentation. Corrected a typo)
Line 1: Line 1:
<noinclude>{{template}}
<noinclude>{{template}}
This template is intended to mark insecure URLs (e.g. HTTP URLs) that cannot be rewritten to secure URLs (e.g. HTTPS) because the destination server in question does not work for some reason.
This template is intended to mark insecure URLs (e.g. HTTP URLs) that cannot be rewritten to secure URLs (e.g. HTTPS) because the destination server in question does not work for some reason.
==Example usage==
Wiki markup:<br />
<code><nowiki>[http://www.example.org Example hyperlink]{{insecure url|Server times out on HTTPS}}</nowiki></code>
Which renders as:<br />
[http://www.example.org Example hyperlink]{{insecure url|Server times out on HTTPS}}
Remarks:<br />
If a reason is given (it should be!), hovering over the open padlock icon will create a small popup displaying the reason.
</noinclude>
</noinclude>
<includeonly><span title="Insecure URL {{{1}}}}">&#128275;</span></includeonly>
<includeonly><span title="Insecure URL {{{1}}}">&#128275;</span></includeonly>

Revision as of 00:55, 23 December 2021

Template Documentation for Insecure url

This page is a template and should only be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

This template is intended to mark insecure URLs (e.g. HTTP URLs) that cannot be rewritten to secure URLs (e.g. HTTPS) because the destination server in question does not work for some reason.

Example usage

Wiki markup:
[http://www.example.org Example hyperlink]{{insecure url|Server times out on HTTPS}}

Which renders as:
Example hyperlink 🔓

Remarks:
If a reason is given (it should be!), hovering over the open padlock icon will create a small popup displaying the reason.