Difference between revisions of "Template:Src/doc"
(→Usage) |
(→Example: book) |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 15: | Line 15: | ||
|archdate - (optional) date the article was archived | |archdate - (optional) date the article was archived | ||
|accessdate - (optional) date the article was accessed | |accessdate - (optional) date the article was accessed | ||
| + | |subs - (optional) to denote a pay-for article | ||
| + | |free - (optional) to denote an open-access article | ||
</pre> | </pre> | ||
| + | <div>Eg: <tt><nowiki>{{Src|ref|date=Nov.10.1988|title=Hurricane failed to blow GA off course.|website=Dundee Courier |url=https://www.britishnewspaperarchive.co.uk/viewer/bl/0000564/19881110/019/0002|subs=1}}</nowiki></tt></div> | ||
| + | → {{Src|ref|date=Nov.10.1988|title=Hurricane failed to blow GA off course.|website=Dundee Courier |url=https://www.britishnewspaperarchive.co.uk/viewer/bl/0000564/19881110/019/0002|subs=1}}<br/> | ||
| + | → {{Src|ref|date=Nov.10.1988|title=Hurricane failed to blow GA off course.|website=Dundee Courier |name=Some Name|url=https://www.britishnewspaperarchive.co.uk/viewer/bl/0000564/19881110/019/0002|free=1}} | ||
=== Example: news, ref === | === Example: news, ref === | ||
| Line 31: | Line 36: | ||
}} | }} | ||
</pre> | </pre> | ||
| + | |||
| + | Note (Dec.2020): A second 'ref' parameter, 'ref2', has been introduced, to cut down on 'noise' in the text. To use, send only the wayback part in <tt>archurl</tt>:<br/> | ||
| + | <pre> | ||
| + | {{Src | ||
| + | |ref2 | ||
| + | |... | ||
| + | |archurl=https://web.archive.org/web/20141006084838/ | ||
| + | |url=http://www.netnewscheck.com/article/36289/gannett-completes-carscom-acquisition | ||
| + | }}</pre> | ||
| + | |||
'''Mode = news''', with and without <tt>archurl</tt><br/> | '''Mode = news''', with and without <tt>archurl</tt><br/> | ||
Useful when collecting together articles for a new page. Having the date first makes it very easy to see. | Useful when collecting together articles for a new page. Having the date first makes it very easy to see. | ||
| Line 48: | Line 63: | ||
<pre> | <pre> | ||
{{Src|book | {{Src|book | ||
| − | |title | + | |title = required, eg: Taking action against Ebola |
| − | |author = optional | + | |author = optional, eg: RA Clay |
| − | |pub = | + | |pub = required, eg: Riley: London |
| − | | | + | |date = required, eg: Feb.2021 |
| − | | | + | |in = optional, eg: Monitor on Psychology |
| − | |isbn = optional | + | |vip = optional, eg: Vol.169, Issue 11, page 9 |
| − | |url = optional | + | |ed = optional, eg: DR Hoge |
| + | |isbn = optional, eg: 978-0241437445 | ||
| + | |url = optional, eg: http://www.some-website.com/ | ||
}} | }} | ||
</pre> | </pre> | ||
'''Mode = book, with the complete parameter set'''<br/> | '''Mode = book, with the complete parameter set'''<br/> | ||
Also designed to be wrapped inside <nowiki><ref name="xxx">...</ref></nowiki> tags.<br/> | Also designed to be wrapped inside <nowiki><ref name="xxx">...</ref></nowiki> tags.<br/> | ||
| − | Copy+Paste: <tt><nowiki>{{Src|book|title=|author=|pub=| | + | Copy+Paste: <tt><nowiki>{{Src|book|title=|author=|pub=|date=|in=|vip=|ed=|isbn=|url=}}</nowiki></tt> |
| + | <div>Gives:</div> | ||
| + | {{Src|book|title=Taking action against Ebola|author=RA Clay|pub=Riley: London|date=Feb.2021|in=Monitor on Psychology|vip=Vol.169, Issue 11, page 9|ed=DR Hoge|isbn=978-0241437445|url=http://www.some-website.com/ }} | ||
==== Eg. 1 ==== | ==== Eg. 1 ==== | ||
| − | <tt><nowiki>{{Src|book|title=Shadow Wars: The Secret Struggle for the Middle East|author=Christopher M Davidson|pub=Oneworld Publications| | + | <tt><nowiki>{{Src|book|title=Shadow Wars: The Secret Struggle for the Middle East|author=Christopher M Davidson|pub=Oneworld Publications|vip=Vol.169, Issue 11, page 9|date=Oct.06.2017|isbn=978-1786071927|url=http://christopherdavidson.net/BaseHub/shadow-wars-the-secret-struggle-for-the-middle-east/}}</nowiki></tt><br/> |
{{Src|book | {{Src|book | ||
|title=Shadow Wars: The Secret Struggle for the Middle East | |title=Shadow Wars: The Secret Struggle for the Middle East | ||
|author=Christopher M Davidson | |author=Christopher M Davidson | ||
|pub=Oneworld Publications | |pub=Oneworld Publications | ||
| − | | | + | |vip=Vol.169, Issue 11, page 9 |
|date=Oct.06.2017 | |date=Oct.06.2017 | ||
|isbn=978-1786071927 | |isbn=978-1786071927 | ||
|url=http://christopherdavidson.net/BaseHub/shadow-wars-the-secret-struggle-for-the-middle-east/}} | |url=http://christopherdavidson.net/BaseHub/shadow-wars-the-secret-struggle-for-the-middle-east/}} | ||
==== Eg. 2 ==== | ==== Eg. 2 ==== | ||
| − | <tt><nowiki>{{Src|book|title=Five and Ten: The Fabulous Life of FW Woolworth|author=John K Winkler|pub=RM McBride & Company | + | <tt><nowiki>{{Src|book|title=Five and Ten: The Fabulous Life of FW Woolworth|author=John K Winkler|pub=RM McBride & Company: New York|vip=[https://books.google.com/books?id=GtwuDwAAQBAJ Google books Preview]|isbn=978-1614276319|url=https://www.worldcat.org/title/five-and-ten-the-fabulous-life-of-fw-woolworth/oclc/557064}}</nowiki></tt><br/> |
{{Src|book | {{Src|book | ||
|title=Five and Ten: The Fabulous Life of F. W. Woolworth | |title=Five and Ten: The Fabulous Life of F. W. Woolworth | ||
|author=John K Winkler | |author=John K Winkler | ||
| − | |pub=RM McBride & Company | + | |pub=RM McBride & Company: New York |
| − | | | + | |vip=[https://books.google.com/books?id=GtwuDwAAQBAJ Google books Preview] |
|date=1940 | |date=1940 | ||
|isbn=978-1614276319 | |isbn=978-1614276319 | ||
Latest revision as of 02:34, 18 February 2021
Usage
Template for references and citations. It has three "modes": news, ref, book.
Possible parameters for 'news' and 'ref' are:
|mode - one of: [ news | ref ] |date - publication date |url - (optional) If not supplied, the plain title is used |title - title of the article |quote - (optional) article text |website - the name of the website |name - name of the author |archurl - (optional) archive.org's full url |archdate - (optional) date the article was archived |accessdate - (optional) date the article was accessed |subs - (optional) to denote a pay-for article |free - (optional) to denote an open-access article
→ Hurricane failed to blow GA off course. Dundee Courier, Nov.10.1988.
→ Hurricane failed to blow GA off course. Some Name, Dundee Courier, Nov.10.1988.
Example: news, ref
{{Src|news
|date=Mar.16.2018
|title=Ian Taylor, chief of world’s biggest oil trader Vitol.
|quote=Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role.
|website=The Times
|name=Emily Gosden
|url=https://www.thetimes.co.uk/edition/business/ian-taylor-chief-of-worlds-biggest-oil-trader-vitol-set-to-step-down-tsfhz2bj2
|archurl=https://www.archive.org/..../
|archdate=Jan.01.0000
|accessdate=Dec.31.9999
}}
Note (Dec.2020): A second 'ref' parameter, 'ref2', has been introduced, to cut down on 'noise' in the text. To use, send only the wayback part in archurl:
{{Src
|ref2
|...
|archurl=https://web.archive.org/web/20141006084838/
|url=http://www.netnewscheck.com/article/36289/gannett-completes-carscom-acquisition
}}
Mode = news, with and without archurl
Useful when collecting together articles for a new page. Having the date first makes it very easy to see.
- Oct.19.2019: Who we are. Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role. Press Release, Brakes Group.
- Oct.19.2019: Who we are. Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role. Press Release, Brakes Group. Original archived on Mar.20.2019.
Mode = ref, with and without accessdate and archurl
Designed to be wrapped inside <ref name="xxx">...</ref> tags.
Who we are. Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role. Press Release, Brakes Group, Oct.19.2019.
Who we are. Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role. Press Release, Brakes Group. Accessed Nov.10.2020.
Who we are. Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role. Press Release, Brakes Group, Oct.19.2019. Accessed Nov.10.2020.
Who we are. Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role. Press Release, Brakes Group, Oct.19.2019. Original archived on Mar.20.2019.
Formats for citing Companies House refs
- When citing only one reference:
<ref name="ch-01594599">{{Src|ref|date=Oct.10.2020|title=Majestic Wine Warehouses Ltd.|quote=Annual Reports & Financial Statements.|website=Companies House|url=https://beta.companieshouse.gov.uk/company/01594599}}</ref>
Cite thus: <ref name="ch-01594599"/> - When citing multiple references to one company:
<ref name="ch-01594599">{{Src|ref|accessdate=Oct.2020|title=Majestic Wine Warehouses Ltd.|quote=Annual Reports & Financial Statements.|website=Companies House|url=https://beta.companieshouse.gov.uk/company/01594599}}</ref>
Cite thus: <ref name="ch-01594599"/><sup>:Jul.1998</sup>
Example: book
{{Src|book
|title = required, eg: Taking action against Ebola
|author = optional, eg: RA Clay
|pub = required, eg: Riley: London
|date = required, eg: Feb.2021
|in = optional, eg: Monitor on Psychology
|vip = optional, eg: Vol.169, Issue 11, page 9
|ed = optional, eg: DR Hoge
|isbn = optional, eg: 978-0241437445
|url = optional, eg: http://www.some-website.com/
}}
Mode = book, with the complete parameter set
Also designed to be wrapped inside <ref name="xxx">...</ref> tags.
Copy+Paste: {{Src|book|title=|author=|pub=|date=|in=|vip=|ed=|isbn=|url=}}
"Taking action against Ebola", RA Clay, In: Monitor on Psychology, ed. DR Hoge, Vol.169, Issue 11, page 9, Riley: London, Feb.2021, ISBN: 978-0241437445
Eg. 1
{{Src|book|title=Shadow Wars: The Secret Struggle for the Middle East|author=Christopher M Davidson|pub=Oneworld Publications|vip=Vol.169, Issue 11, page 9|date=Oct.06.2017|isbn=978-1786071927|url=http://christopherdavidson.net/BaseHub/shadow-wars-the-secret-struggle-for-the-middle-east/}}
"Shadow Wars: The Secret Struggle for the Middle East", Christopher M Davidson, Vol.169, Issue 11, page 9, Oneworld Publications, Oct.06.2017, ISBN: 978-1786071927
Eg. 2
{{Src|book|title=Five and Ten: The Fabulous Life of FW Woolworth|author=John K Winkler|pub=RM McBride & Company: New York|vip=[https://books.google.com/books?id=GtwuDwAAQBAJ Google books Preview]|isbn=978-1614276319|url=https://www.worldcat.org/title/five-and-ten-the-fabulous-life-of-fw-woolworth/oclc/557064}}
"Five and Ten: The Fabulous Life of F. W. Woolworth", John K Winkler, Google books Preview, RM McBride & Company: New York, 1940, ISBN: 978-1614276319