Difference between revisions of "Template:Domain uses/doc"
Jump to navigation
Jump to search
imported>Newslinger (Add categories) |
imported>Newslinger (→Usage: Clarify unnamed) |
||
Line 8: | Line 8: | ||
== Usage == | == Usage == | ||
− | This template accepts two [[WP:PARAMETER|parameters]]: | + | This template accepts two unnamed [[WP:PARAMETER|parameters]]: |
# The domain name to be searched, e.g. <code>example.com</code> or <code>subdomain.example.com</code> | # The domain name to be searched, e.g. <code>example.com</code> or <code>subdomain.example.com</code> | ||
# Link text for the first link (which uses <code>[[H:INSOURCE|insource:]]</code>) | # Link text for the first link (which uses <code>[[H:INSOURCE|insource:]]</code>) |
Latest revision as of 14:52, 13 January 2019
![]() | 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 unnamed parameters:
- The domain name to be searched, e.g.
example.com
orsubdomain.example.com
- 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}}
{{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