Difference between revisions of "Template:Domain uses/doc"
Jump to navigation
Jump to search
imported>Newslinger (Create documentation for Template:Domain uses) |
imported>Newslinger (Add {{duses}} shortcut) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
| + | {{tsh|duses}} | ||
This template displays three links to search results for uses of a [[domain name]] across Wikipedia pages: | This template displays three links to search results for uses of a [[domain name]] across Wikipedia pages: | ||
# An <code>[[H:INSOURCE|insource:]]</code> [[Special:Search|search]] for the domain name | # An <code>[[H:INSOURCE|insource:]]</code> [[Special:Search|search]] for the domain name | ||
Revision as of 11:00, 8 December 2018
| This is a documentation subpage for Template:Domain uses. It contains usage information, categories and other content that is not part of the original template page. |
This template displays three links to search results for uses of a domain name across Wikipedia pages:
- An
insource:search for the domain name - An external links search for
https://URLs of the domain and its subdomains - An external links search for
http://URLs of the domain and its subdomains
Usage
This template accepts two parameters:
- The domain name to be searched, e.g.
example.comorsubdomain.example.com - Link text for the first link (which uses
insource:)- This parameter is optional, and defaults to parameter #1 if left empty.
Examples
{{Domain uses|example.com}}
{{Domain uses|example.com|Link text}}
See also
- {{In source}}, which displays a link to a search using
insource: - {{Linksearch}}, which displays a link to an external links search
- {{Search link}}, which displays a link to a search