Template:Subscription required/doc
This is a documentation subpage for Template:Subscription required. It may contain usage information, categories and other content that is not part of the original template page. |
This function is now built into {{citation}} and the Citation Style 1 templates by use of |url-access= and |via= . |
This template is used on approximately 35,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
The {{subscription required}}
template can be used to flag an external link that requires a paid subscription.
Use the {{subscription required}}
template when:
- You create or find a link to an external website
- in a reference citation
- OR
- in a paragraph within the body of an article
- OR
- in the "External links" section of an article
- AND
- a reader must pay to subscribe to the website to gain access to the linked page.
Usage
Using {{subscription required}}
will place a note by the link.
Append the {{subscription required}}
template directly after the link or citation template, leaving the original link intact. If the {{subscription required}}
template is not placed directly after the link or citation template, the template will not be correctly detected by automated tools.
If the external link is part of a reference citation, the {{subscription required}}
template should be placed directly after the link or citation template but before the </ref>
tag. Placing {{subscription required}}
directly after the link or citation template but before the </ref>
tag will cause the subscription required message to appear in the footnote reference area of the article rather than in the body of the text. Placing the message in the body of the text is not recommended in this situation.
Common form
{{subscription required}}
This generates :
(subscription required)
Optional parameters
{{subscription required|via=}}
where via is the publication or website used.
In order to get the result as a sentence, write {{subscription required|s}}
. This generates :
(Subscription required.)
Redirects
- {{pay}}
- {{paywall}}
- {{required subscription}}
- {{restricted access}}
- {{subreq}}
- {{subscription}}
- {{subscriptionrequired}}
- {{subscription needed}}
Categorization
Using this template in its common form will add pages to Category:Pages containing links to subscription-only content (49); when the |via=
parameter is added, pages will also be placed into Category:Subscription required using via (4).
Examples
External links
* [http://example.org/ Webpage title] {{subscription required}}
- Webpage title (subscription required)
Citation templates
Example.<ref>{{cite web |url=http://example.org/ |title=Webpage title |access-date=September 22, 2012}} {{subscription required}}</ref>
- Example.[1]
Example.<ref>{{cite news |last=Woolf |first=Marie |date=13 April 2008 |url=http://www.timesonline.co.uk/tol/news/uk/article3736239.ece |title=Pirates can claim UK asylum |newspaper=[[The Sunday Times]] |access-date=22 April 2009 |location=London}} {{subscription required|s}}</ref>
- Example.[2]
Example.<ref>{{Cite book |title=Profit Theory and Capitalism |author=Obrinsky, Mark |location=Philadelphia |publisher=University of Pennsylvania Press {{Subscription required |via=[[Questia]]}} |url=https://www.questia.com/read/4995070/profit-theory-and-capitalism |year=1983 |page=1 |isbn=978-0812278637}}</ref>
- Example.[3]
- ↑ "Webpage title". Retrieved September 22, 2012. (subscription required)
- ↑ Woolf, Marie (13 April 2008). "Pirates can claim UK asylum". The Sunday Times. London. Retrieved 22 April 2009. (Subscription required.)
- ↑ Obrinsky, Mark (1983). Profit Theory and Capitalism. Philadelphia: University of Pennsylvania Press – via Questia (subscription required). p. 1. ISBN 978-0812278637.
Citation templates using |url-access=
and |via=
Example.<ref>{{cite web |url=http://example.org/ |title=Webpage title |access-date=September 22, 2012 |url-access=limited}}</ref>
- Example.[1]
Example.<ref>{{cite news |last=Woolf |first=Marie |date=13 April 2008 |url=http://www.timesonline.co.uk/tol/news/uk/article3736239.ece |title=Pirates can claim UK asylum |newspaper=[[The Sunday Times]] |access-date=22 April 2009 |location=London |url-access=subscription}}</ref>
- Example.[2]
Example.Example.<ref>{{Cite book |title=Profit Theory and Capitalism |author=Obrinsky, Mark |location=Philadelphia |publisher=University of Pennsylvania Press |url-access=subscription |via=[[Questia]] |url=https://www.questia.com/read/4995070/profit-theory-and-capitalism |year=1983 |page=1 |isbn=978-0812278637}}</ref>
- Example.[3]
- ↑ "Webpage title". Retrieved September 22, 2012.
- ↑ Woolf, Marie (13 April 2008). "Pirates can claim UK asylum". The Sunday Times. London. Retrieved 22 April 2009.
- ↑ Obrinsky, Mark (1983). Profit Theory and Capitalism. Philadelphia: University of Pennsylvania Press. p. 1. ISBN 978-0812278637 – via Questia.
See also
- {{Registration required}} – to flag an external link that requires free registration.
|url-access=
in {{cite news}} and {{cite web}}- Wikipedia:WikiProject Open Access/Signalling OA-ness
- {{Closed access}} and {{Open access}} templates/symbols