Template:Registration required/testcases
This is the template test cases page for the sandbox of Template:Registration required. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Examples from Registration required (no parameters defined)
[edit]1R. <ref>{{cite web |url=http://example.org |title=Webpage title |accessdate=22 September 2012}} {{registration required}}</ref>
→ [1]
2R. TEST <ref>{{cite web |url=http://example.org |title=Webpage title |accessdate=22 September 2012}} {{registration required/sandbox}}</ref>
→ [2]
3R. <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}} {{registration required}}</ref>
→ [3]
4R. TEST <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}} {{registration required/sandbox}}</ref>
→ [4]
- ^ "Webpage title". Retrieved 22 September 2012. (registration required)
- ^ "Webpage title". Retrieved 22 September 2012. (registration required)
- ^ Plunkett, John (27 October 2005). "Sorrell accuses Murdoch of panic buying". The Guardian. Retrieved 22 September 2012. (registration required)
- ^ Plunkett, John (27 October 2005). "Sorrell accuses Murdoch of panic buying". The Guardian. Retrieved 22 September 2012. (registration required)
Examples from Subscription required, substituting registration for subscription in Test cases
[edit]1S. Using NO parameters: <ref>{{cite web |url=http://www.example.org |title=Webpage title |accessdate=22 September 2012}} {{subscription required}}</ref>
→ [1]
2S. TEST Using NO parameters: <ref>{{cite web |url=http://www.example.org |title=Webpage title |accessdate=22 September 2012}} {{registration required/sandbox}}</ref>
→ [2]
3S. Using 's' (Sentence case) parameter: <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>
→ [3]
4S. TEST Using 's' (Sentence case) parameter: <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}} {{registration required/sandbox|s}}</ref>
→ [4]
5S. Using via parameter: <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>
→ [5]
6S. TEST Using via parameter: <ref>{{Cite book |title=Profit Theory and Capitalism |author=Obrinsky, Mark |location=Philadelphia |publisher=University of Pennsylvania Press {{Registration required/sandbox|via=[[Questia]]}} |url=https://www.questia.com/read/4995070/profit-theory-and-capitalism |year=1983 |page=1 |isbn=978-0812278637}}</ref>
→ [6]
- ^ "Webpage title". Retrieved 22 September 2012. (subscription required)
- ^ "Webpage title". Retrieved 22 September 2012. (registration required)
- ^ Plunkett, John (27 October 2005). "Sorrell accuses Murdoch of panic buying". The Guardian. Retrieved 22 September 2012. (Subscription required.)
- ^ Plunkett, John (27 October 2005). "Sorrell accuses Murdoch of panic buying". The Guardian. Retrieved 22 September 2012. (Registration required.)
- ^ Obrinsky, Mark (1983). Profit Theory and Capitalism. Philadelphia: University of Pennsylvania Press – via Questia (subscription required) . p. 1. ISBN 978-0812278637.
- ^ Obrinsky, Mark (1983). Profit Theory and Capitalism. Philadelphia: University of Pennsylvania Press – via Questia (registration required) . p. 1. ISBN 978-0812278637.
Examples and rationale from The Wikipedia Library: Wikipedia:JSTOR#Citation
[edit]- Editors should always provide original citation information, in addition to linking a JSTOR article, per WP:V and WP:SAYWHEREYOUGOTIT
- Editors should not provide bare links to non-free JSTOR pages
- Editors should credit JSTOR and denote the registration requirement by adding
|registration=yes
and|via=[[JSTOR]]
parameters to {{cite xxx}} or{{citation}}
templates as appropriate, or by using the standalone template,{{Subscription required|via=[[JSTOR]]}}
GOAL: make last: {{Registration required|via=[[JSTOR]]}}
, thus:
1J.Subscription required template (misused of necessity): <ref>{{cite journal |last=Ziff |first=David |title=Fourth Amendment Limitations on the Execution of Computer Searches Conducted Pursuant to a Warrant
[1]
|journal=[[Columbia Law Review]] |volume=105 |issue=3 |pages=841–872 |jstor=4099480
|date=April 2005 }}{{Subscription required |via=[[JSTOR]]}}</ref>
2J. TEST Registration required/sandbox template: <ref>{{cite journal |last=Ziff |first=David |title=Fourth Amendment Limitations on the Execution of Computer Searches Conducted Pursuant to a Warrant
[2]
|journal=[[Columbia Law Review]] |volume=105 |issue=3 |pages=841–872 |jstor=4099480
|date=April 2005 }}{{Registration required/sandbox |via=[[JSTOR]]}}</ref>
- ^ Ziff, David (April 2005). "Fourth Amendment Limitations on the Execution of Computer Searches Conducted Pursuant to a Warrant". Columbia Law Review. 105 (3): 841–872. JSTOR 4099480. – via JSTOR (subscription required)
- ^ Ziff, David (April 2005). "Fourth Amendment Limitations on the Execution of Computer Searches Conducted Pursuant to a Warrant". Columbia Law Review. 105 (3): 841–872. JSTOR 4099480. – via JSTOR (registration required)