Difference between revisions of "Template:Domain uses"

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
(tweak)
imported>Newslinger
(Add alts for icons)
Line 1: Line 1:
[[Special:Search/insource:/{{#invoke:String|replace|{{{1}}}|.|\.|plain=true}}/|{{{2|{{{1}}}}}}]]&nbsp;[[File:Ic lock outline 48px.svg|16px|link={{fullurl:Special:Linksearch|target=https://*.{{urlencode:{{{1}}}}}}}]]&nbsp;[[File:OOjs UI icon link-ltr.svg|16px|link={{fullurl:Special:Linksearch|target=*.{{urlencode:{{{1}}}}}}}]]<noinclude>
+
[[Special:Search/insource:/{{#invoke:String|replace|{{{1}}}|.|\.|plain=true}}/|{{{2|{{{1}}}}}}]]&nbsp;[[File:Ic lock outline 48px.svg|16px|link={{fullurl:Special:Linksearch|target=https://*.{{urlencode:{{{1}}}}}}}|alt=HTTPS links]]&nbsp;[[File:OOjs UI icon link-ltr.svg|16px|link={{fullurl:Special:Linksearch|target=*.{{urlencode:{{{1}}}}}}}|alt=HTTP links]]<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
 
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
 
</noinclude>
 
</noinclude>

Revision as of 11:11, 3 March 2020

[[Special:Search/insource:/{{{1}}}/|{{{1}}}]] 16px 16px

50px Template documentation[view] [edit] [history] [purge]

This template displays three links to search results for uses of a domain name across Wikipedia pages:

  1. An insource: search for the domain name
  2. An external links search for https:// URLs of the domain and its subdomains
  3. An external links search for http:// URLs of the domain and its subdomains

Usage

This template accepts two unnamed parameters:

  1. The domain name to be searched, e.g. example.com or subdomain.example.com
  2. Link text for the first link (which uses insource:)
    • This parameter is optional, and defaults to the domain name if left empty.

Examples

{{Domain uses|example.com}}

example.com 16px 16px


{{Domain uses|example.com|Link text}}

Link text 16px 16px

See also