Template:Subscription required/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Timrollpickering
m (→‎Categorization: update cat link)
meta>Nnemo
(Notably accessibility, sentence param)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS LINKS AT THE END OF THIS PAGE -->


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 19: Line 19:


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


Line 28: Line 29:
{{tlc|subscription required}}
{{tlc|subscription required}}


====Optional parameter====
====Optional parameters====
 
{{tlc|subscription required|via{{=}}}}
{{tlc|subscription required|via{{=}}}}


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 :
{{subscription required|s}}


====Redirects====
====Redirects====
Line 44: Line 50:


====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 [[: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]].


===Examples===
===Examples===
* <code><nowiki><ref>{{cite web |url=http://example.org |title=Webpage title |accessdate=22 September 2012}} {{subscription required}}</ref></nowiki></code><br />→ <span style="background:white"><ref>{{cite web |url=http://example.org |title=Webpage title |accessdate=22 September 2012}} {{subscription required}}</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}}</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}}</ref></span>
* <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>
* 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>
* <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>
* 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>


<references />
<references />


* <span style="background:white"><code><nowiki>==External links==</nowiki></code><br /><code><nowiki>*[http://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>External links<H2/>
<H2/>
 
:*[http://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===
Line 66: Line 74:


<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS LINKS HERE, THANKS -->
 
[[Category:link notes]]
[[Category:link notes]]


Line 73: Line 83:
[[no:Mal:Abonnement påkreves]]
[[no:Mal:Abonnement påkreves]]
[[uk:Шаблон:Subscription]]
[[uk:Шаблон:Subscription]]
</includeonly>
</includeonly>

Revision as of 09:34, 2 June 2013

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 URL.

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}}

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; when the |via= parameter is added, pages will also be placed into Category:Subscription required using via.

Examples

  • <ref>{{cite web |url=http://example.org |title=Webpage title |accessdate=22 September 2012}} {{subscription required|s}}</ref>
    [1]
  • <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>
    [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=http://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. Plunkett, John (27 October 2005). "Sorrell accuses Murdoch of panic buying". The Guardian. Retrieved 22 September 2012. (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