Template:Subscription/doc: Difference between revisions
Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AT THE END OF THIS PAGE --> {{cs1 function|by use of {{para|subscription|yes}} and {{para|via}}}} The {{tlc|subscription..." |
mNo edit summary |
||
Line 4: | Line 4: | ||
{{cs1 function|by use of {{para|subscription|yes}} and {{para|via}}}} | {{cs1 function|by use of {{para|subscription|yes}} and {{para|via}}}} | ||
The {{ | The {{tl|subscription}} template can be used to flag an external link that requires a paid subscription. | ||
Use the {{ | Use the {{tl|subscription}} template when: | ||
:You create or find a link to an outside website | :You create or find a link to an outside website | ||
Line 21: | Line 21: | ||
===Usage=== | ===Usage=== | ||
Using {{ | Using {{tl|subscription}} will place a note by the link. | ||
Append the {{ | Append the {{tl|subscription}} template '''directly after''' the link or citation template, leaving the original link intact. If the {{tl|subscription}} template is not placed '''directly after''' the link or citation template, the template will not be correctly detected by automated tools. | ||
If the | If the outside link is part of a '''reference citation''', the {{tl|subscription}} template should be placed '''directly after''' the link or citation template but before the <code></ref></code> tag. Placing {{tl|subscription}} '''directly after''' the link or citation template but before the <code></ref></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==== | ||
{{ | {{tl|subscription}} | ||
====Optional parameters==== | ====Optional parameters==== | ||
{{ | {{tl|subscription|via{{=}}}} | ||
where ''via'' is the publication or website used. | where ''via'' is the publication or website used. | ||
Line 48: | Line 48: | ||
<references /> | <references /> | ||
<span style="background:white"><code><nowiki>== | <span style="background:white"><code><nowiki>==Outside links==</nowiki></code> <br /><code><nowiki>* [http://www.example.org/webpage.html Example web page title] {{subscription}}</nowiki></code></span> <br /> | ||
<H2>Outside links</H2> | <H2>Outside links</H2> | ||
Line 55: | Line 55: | ||
==See also== | ==See also== | ||
* {{tl|Registration}} to flag an | * {{tl|Registration}} to flag an outside link that requires free registration. | ||
* {{para|subscription}} in {{[[Template:cite news#Subscription or registration required|cite news]]}} and {{[[Template:cite web#Subscription or registration required|cite web]]}} | * {{para|subscription}} in {{[[Template:cite news#Subscription or registration required|cite news]]}} and {{[[Template:cite web#Subscription or registration required|cite web]]}} | ||
<includeonly>[[Category:Templates]]</includeonly> | <includeonly>[[Category:Templates]]</includeonly> |
Latest revision as of 20:26, 1 January 2017
The {{subscription}} template can be used to flag an external link that requires a paid subscription.
Use the {{subscription}} template when:
- You create or find a link to an outside website
- in a reference citation
- OR
- in a paragraph within the body of an article
- OR
- in the "Outside 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}} will place a note by the link.
Append the {{subscription}} template directly after the link or citation template, leaving the original link intact. If the {{subscription}} template is not placed directly after the link or citation template, the template will not be correctly detected by automated tools.
If the outside link is part of a reference citation, the {{subscription}} template should be placed directly after the link or citation template but before the </ref>
tag. Placing {{subscription}} 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}}
Optional parameters
{{subscription}}
where via is the publication or website used.
In order to get the result as a sentence, write {{subscription|s}}
. This generates :
(Subscription required.)
Examples
<ref>{{cite web |url=http://www.example.org |title=Webpage title |accessdate=22 September 2012}} {{subscription|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=13 April 2008|accessdate=22 April 2009 | location=London}}{{subscription|s}}</ref>
→ [2]- Using via:
<ref>{{Cite book |title=Profit Theory and Capitalism |author=Obrinsky, Mark |location=Philadelphia |publisher=University of Pennsylvania Press {{Subscription|via=Questia}} |url=http://www.questia.com/read/4995070/profit-theory-and-capitalism |year=1983 |page=1 |isbn=978-0812278637}}</ref>
→ [3]
- ↑ "Webpage title". http://www.example.org. Retrieved 22 September 2012. (Subscription required.)
- ↑ Woolf, Marie (April 13, 2008). "Pirates can claim UK asylum". The Sunday Times (London). http://www.timesonline.co.uk/tol/news/uk/article3736239.ece. 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. http://www.questia.com/read/4995070/profit-theory-and-capitalism.
==Outside links==
* [http://www.example.org/webpage.html Example web page title] {{subscription}}
Outside links
- Example web page title (subscription required)
See also
- {{Registration}} to flag an outside link that requires free registration.
|subscription=
in {{cite news}} and {{cite web}}