Difference between revisions of "Template:Domain uses/doc"

From blackwiki
Jump to navigation Jump to search
imported>Newslinger
imported>Newslinger
(Add categories)
Line 30: Line 30:
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
+
[[Category:Search templates|{{PAGENAME}}]]
 +
[[Category:External link templates|{{PAGENAME}}]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 14:40, 13 January 2019

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 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 HTTPS links HTTP links


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

Link text HTTPS links HTTP links

See also