Template:Subscription/doc: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
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..."
 
RB (talk | contribs)
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 {{tlc|subscription}} template can be used to flag an external link that requires a paid subscription.
The {{tl|subscription}} template can be used to flag an external link that requires a paid subscription.


Use the {{tlc|subscription}} template when:
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 {{tlc|subscription}} will place a note by the link.
Using {{tl|subscription}} will place a note by the link.


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


====Optional parameters====
====Optional parameters====
{{tlc|subscription|via{{=}}}}
{{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>== External links ==</nowiki></code> <br /><code><nowiki>* [http://www.example.org/webpage.html Example web page title] {{subscription}}</nowiki></code></span> <br />
<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 external link that requires free registration.
* {{tl|Registration}} to flag an outside link that requires free registration.
* {{para|subscription}} 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;
* {{para|subscription}} 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;
<includeonly>[[Category:Templates]]</includeonly>
<includeonly>[[Category:Templates]]</includeonly>

Latest revision as of 20:26, 1 January 2017

Template:Mbox

Template:Cs1 function

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]
  1. "Webpage title". http://www.example.org. Retrieved 22 September 2012.  (Subscription required.)
  2. 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.)
  3. 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

See also