Template:Insecure url: Difference between revisions

From Alpine Linux
m (hmmm)
m (Why is mediawiki obsessed with wrapping this template in a <p>?)
 
Line 15: Line 15:
If a reason is given (it should be!), hovering over the open padlock icon will create a small popup displaying the reason.
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 class="nowrap" display="inline" title="Insecure URL {{{1}}}">&#128275;</span></includeonly>
<includeonly><small class="nowrap" title="Insecure URL {{{1}}}">&#128275;</small></includeonly>

Latest revision as of 09:32, 12 September 2023

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 🔓

Note: Inside a wikitable, the link and the template should be wrapped inside an HTML paragraph (i.e. <p>), otherwise mediawiki will wrap the template to the next line for some reason

For instance:
<p>[http://www.example.org Example hyperlink]{{insecure url|Server times out on HTTPS}}</p>

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