Template:Subscription required/doc: Difference between revisions
meta>Pol098 (→Examples: example given didn't actually require subscription, replace with one that does) |
m (64 revisions imported) |
||
(13 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- PLEASE ADD CATEGORIES | <!-- PLEASE ADD CATEGORIES AT THE END OF THIS PAGE --> | ||
{{cs1 function|by use of {{para|url-access}} and {{para|via}}}} | |||
:''See [[WP:PAYWALL]] for the related policy'' | |||
The {{tlc|subscription required}} template can be used to flag an external link that requires a [[paid subscription]]. | The {{tlc|subscription required}} template can be used to flag an external link that requires a [[paid subscription]]. | ||
Line 30: | Line 30: | ||
====Common form==== | ====Common form==== | ||
{{tlc|subscription required}} | {{tlc|subscription required}} | ||
This generates : | |||
{{subscription required}} | |||
====Optional parameters==== | ====Optional parameters==== | ||
Line 37: | Line 41: | ||
where ''via'' is the publication or website used. | where ''via'' is the publication or website used. | ||
In order to get the result as a sentence, | In order to get the result as a sentence, write <code><nowiki>{{subscription required|s}}</nowiki></code>. This generates : | ||
{{subscription required|s}} | {{subscription required|s}} | ||
Line 53: | Line 57: | ||
====Categorization==== | ====Categorization==== | ||
Using this template in its common form will add pages to | Using this template in its common form will add pages to {{clc|Pages containing links to subscription-only content}}; when the {{para|via}} parameter is added, pages will also be placed into {{clc|Subscription required using via}}. | ||
===Examples=== | ===Examples=== | ||
* <code><nowiki><ref>{{cite web |url=http://www.example.org |title=Webpage title |accessdate=22 September 2012}} {{subscription required|s}}</ref></nowiki></code> <br />→ <span style="background:white"><ref>{{cite web |url=http://www.example.org |title=Webpage title |accessdate=22 September 2012}} {{subscription required|s}}</ref></span> | * <code><nowiki><ref>{{cite web |url=http://www.example.org |title=Webpage title |accessdate=22 September 2012}} {{subscription required|s}}</ref></nowiki></code> <br />→ <span style="background:white"><ref>{{cite web |url=http://www.example.org |title=Webpage title |accessdate=22 September 2012}} {{subscription required|s}}</ref></span> | ||
* <code><nowiki><ref>{{cite news |first=Marie |last=Woolf |url=http://www.timesonline.co.uk/tol/news/uk/article3736239.ece |title=Pirates can claim UK asylum |newspaper= [[The Sunday Times]]|date= April 13, 2008|accessdate=April 22, 2009 | location=London}}{{subscription required|s}</ref></nowiki></code> <br />→ <span style="background:white"><ref>{{cite news |first=Marie |last=Woolf |url=http://www.timesonline.co.uk/tol/news/uk/article3736239.ece |title=Pirates can claim UK asylum |newspaper= [[The Sunday Times]]|date= April 13, 2008|accessdate=April 22, 2009 | location=London}}{{subscription required|s}</ref></span> | * <code><nowiki><ref>{{cite news |first=Marie |last=Woolf |url=http://www.timesonline.co.uk/tol/news/uk/article3736239.ece |title=Pirates can claim UK asylum |newspaper= [[The Sunday Times]]|date= April 13, 2008|accessdate=April 22, 2009 | location=London}}{{subscription required|s}}</ref></nowiki></code> <br />→ <span style="background:white"><ref>{{cite news |first=Marie |last=Woolf |url=http://www.timesonline.co.uk/tol/news/uk/article3736239.ece |title=Pirates can claim UK asylum |newspaper= [[The Sunday Times]]|date= April 13, 2008|accessdate=April 22, 2009 | location=London}}{{subscription required|s}}</ref></span> | ||
* Using '''''via''''': <code><nowiki><ref>{{Cite book |title=Profit Theory and Capitalism |author=Obrinsky, Mark |location=Philadelphia |publisher=University of Pennsylvania Press {{Subscription required |via=[[Questia]]}} |url= | * Using '''''via''''': <code><nowiki><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></nowiki></code> <br />→ <span style="background:white"><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></span> | ||
<references /> | <references /> | ||
Line 71: | Line 75: | ||
==See also== | ==See also== | ||
* {{tl|Registration required}} to flag an external link that requires free registration. | * {{tl|Registration required}} to flag an external link that requires free registration. | ||
* {{para| | * {{para|url-access}} in {{[[Template:cite news#Subscription or registration required|cite news]]}} and {{[[Template:cite web#Subscription or registration required|cite web]]}} | ||
* [[Wikipedia:WikiProject Open Access/Signalling OA-ness]] | * [[Wikipedia:WikiProject Open Access/Signalling OA-ness]] | ||
** {{tl|Closed access}} and {{tl|Open access}} templates/symbols | |||
<includeonly>{{Sandbox other|| | |||
<!-- CATEGORIES HERE, THANKS --> | |||
[[Category:External link note templates]] | [[Category:External link note templates]] | ||
[[Category:Templates that add a tracking category]] | |||
}}</includeonly> | |||
[[ | |||
</includeonly> |
Latest revision as of 05:13, 3 September 2020
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= . |
- See WP:PAYWALL for the related policy
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 (4); when the |via=
parameter is added, pages will also be placed into Category:Subscription required using via (2).
Examples
<ref>{{cite web |url=http://www.example.org |title=Webpage title |accessdate=22 September 2012}} {{subscription required|s}}</ref>
→ [1]<ref>{{cite news |first=Marie |last=Woolf |url=http://www.timesonline.co.uk/tol/news/uk/article3736239.ece |title=Pirates can claim UK asylum |newspaper= [[The Sunday Times]]|date= April 13, 2008|accessdate=April 22, 2009 | location=London}}{{subscription required|s}}</ref>
→ [2]- Using via:
<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>
→ [3]
- ↑ "Webpage title". Retrieved 22 September 2012. (Subscription required.)
- ↑ Woolf, Marie (April 13, 2008). "Pirates can claim UK asylum". The Sunday Times. London. Retrieved April 22, 2009.(Subscription required.)
- ↑ Obrinsky, Mark (1983). Profit Theory and Capitalism. Philadelphia: University of Pennsylvania Press – via Questia (subscription required). p. 1. ISBN 978-0812278637.
== External links ==
* [http://www.example.org/webpage.html Example web page title] {{subscription required}}
External links
- Example web page title (subscription required)
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