Template:Subscription required/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Nnemo
(Notably accessibility, sentence param)
m (64 revisions imported)
 
(30 intermediate revisions by 19 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS LINKS AT THE END OF THIS PAGE -->
<!-- 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 20: Line 22:
===Usage===
===Usage===


Using {{tlc|subscription required}} will place a note by the URL.
Using {{tlc|subscription required}} will place a note by the link.


Append the {{tlc|subscription required}} template '''directly after''' the link or citation template, leaving the original link intact. If the {{tlc|subscription required}} template is not placed '''directly after''' the link or citation template, the template will not be correctly detected by automated tools.
Append the {{tlc|subscription required}} template '''directly after''' the link or citation template, leaving the original link intact. If the {{tlc|subscription required}} template is not placed '''directly after''' the link or citation template, the template will not be correctly detected by automated tools.
Line 26: Line 28:
If the external link is part of a '''reference citation''', the {{tlc|subscription required}} template should be placed '''directly after''' the link or citation template but before the <code>&lt;/ref&gt;</code> tag. Placing {{tlc|subscription required}} '''directly after''' the link or citation template but before the <code>&lt;/ref&gt;</code> 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.
If the external link is part of a '''reference citation''', the {{tlc|subscription required}} template should be placed '''directly after''' the link or citation template but before the <code>&lt;/ref&gt;</code> tag. Placing {{tlc|subscription required}} '''directly after''' the link or citation template but before the <code>&lt;/ref&gt;</code> 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
====Common form====
{{tlc|subscription required}}
{{tlc|subscription required}}
This generates&nbsp;:
{{subscription required}}


====Optional parameters====
====Optional parameters====
Line 35: 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, write <code><nowiki>{{subscription required|s}}</nowiki></code>. This generates :
In order to get the result as a sentence, write&nbsp;<code><nowiki>{{subscription required|s}}</nowiki></code>. This generates&nbsp;:


{{subscription required|s}}
{{subscription required|s}}


====Redirects====
====Redirects====
*{{t|pay}}
*{{tl|pay}}
*{{t|paywall}}
*{{tl|paywall}}
*{{t|required subscription}}
*{{tl|required subscription}}
*{{t|restricted access}}
*{{tl|restricted access}}
*{{t|subreq}}
*{{tl|subreq}}
*{{t|subscription}}
*{{tl|subscription}}
*{{t|subscriptionrequired}}
*{{tl|subscriptionrequired}}
*{{t|subscription needed}}
*{{tl|subscription needed}}


====Categorization====
====Categorization====


Using this template in its common form will add pages to [[:Category:Pages containing links to subscription-only content]]; when the {{para|via}} parameter is added, pages will also be placed into [[:Category:Subscription required using via]].
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://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://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 |title=Sorrell accuses Murdoch of panic buying |author=Plunkett, John |url=http://media.guardian.co.uk/site/story/0,14173,1601858,00.html |newspaper=[[The Guardian]] |date=27 October 2005 |accessdate=22 September 2012}} {{subscription required|s}}</ref></nowiki></code> <br />→ <span style="background:white"><ref>{{cite news |title=Sorrell accuses Murdoch of panic buying |author=Plunkett, John |url=http://media.guardian.co.uk/site/story/0,14173,1601858,00.html |newspaper=[[The Guardian]] |date=27 October 2005 |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>
* 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=http://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=http://www.questia.com/read/4995070/profit-theory-and-capitalism|year=1983|page=1|isbn=978-0812278637}}</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=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 />


<span style="background:white"><code><nowiki>==External links==</nowiki></code> <br /><code><nowiki>* [http://www.example.org/webpage.html Example web page title] {{subscription required}}</nowiki></code></span> <br />
<span style="background:white"><code><nowiki>== External links ==</nowiki></code> <br /><code><nowiki>* [http://www.example.org/webpage.html Example web page title] {{subscription required}}</nowiki></code></span> <br />


<H2>External links<H2/>
<H2>External links</H2>


* [http://www.example.org/webpage.html Example web page title] {{subscription required}}
* [http://www.example.org/webpage.html Example web page title] {{subscription required}}


===See also===
==See also==
* {{t|Registration required}} to flag an external link that requires free registration
* {{tl|Registration required}} to flag an external link that requires free registration.
* {{tl|Subscription or membership required}} to flag an external link that requires subscription or UK library membership
* {{para|url-access}} in &#123;&#123;[[Template:cite news#Subscription or registration required|cite news]]&#125;&#125; and &#123;&#123;[[Template:cite web#Subscription or registration required|cite web]]&#125;&#125;
* {{t|closed access}}, which displays a symbol to indicate that a publication is not available under [[Open_access_(publishing)|open access]] and is behind a [[paywall]]
* [[Wikipedia:WikiProject Open Access/Signalling OA-ness]]  
* [[Wikipedia:Reliable sources/Cost]], essay
** {{tl|Closed access}} and {{tl|Open access}} templates/symbols
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS LINKS HERE, THANKS -->
 
[[Category:link notes]]
 
[[ja:Template:Subscription required]]
[[mk:Шаблон:Претплата]]
[[no:Mal:Abonnement påkreves]]
[[uk:Шаблон:Subscription]]


</includeonly>
<includeonly>{{Sandbox other||
<!-- CATEGORIES HERE, THANKS -->
[[Category:External link note templates]]
[[Category:Templates that add a tracking category]]
}}</includeonly>

Latest revision as of 05:13, 3 September 2020

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

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]
  1. "Webpage title". Retrieved 22 September 2012. (Subscription required.)
  2. Woolf, Marie (April 13, 2008). "Pirates can claim UK asylum". The Sunday Times. London. Retrieved April 22, 2009.(Subscription required.)
  3. 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

See also