Template:Subscription

From Wikishire
Revision as of 20:07, 1 January 2017 by RB (talk | contribs) (Created page with "{{#if:{{{via|}}}| – via {{{via}}} {{link note|note={{#switch: {{{1|not-sentence}}} | s | sentence = Subscription required. | subscription required }}}} C...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

(subscription required)

[edit] [{{#invoke:Purge|main}}] Template documentation

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