Difference between revisions of "Template:Src/doc"

From WikiCorporates
Jump to navigation Jump to search
(→‎Example: book)
(→‎Example: book)
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
{{Breadcrumbs|[[Template:Src]]|doc}}
 
=== Usage ===
 
=== Usage ===
 
Template for references and citations. It has three "modes": news, ref, book.<br/>
 
Template for references and citations. It has three "modes": news, ref, book.<br/>
−
Possible parameters for the first 2 are:
+
Possible parameters for 'news' and 'ref' are:
 
<pre>
 
<pre>
 
|mode      - one of: [ news | ref ]
 
|mode      - one of: [ news | ref ]
Line 14: 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>
 +
&rarr; {{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/>
 +
&rarr; {{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 30: 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.
 
{{Src|news|date=Oct.19.2019|title=Who we are.|quote=Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role.|website=Brakes Group|name=Press Release|url=http://www.brakesgroup.com/about-us/who-we-are/}}
 
{{Src|news|date=Oct.19.2019|title=Who we are.|quote=Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role.|website=Brakes Group|name=Press Release|url=http://www.brakesgroup.com/about-us/who-we-are/}}
−
{{Src|test|date=Oct.19.2019|archdate=Mar.20.2019|accessdate=Dec.31.2019|title=Who we are.|quote=Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role.|website=Brakes Group|name=Press Release|url=http://www.brakesgroup.com/about-us/who-we-are/|archurl=https://web.archive.org/web/20190320001538/http://www.brakesgroup.com/about-us/who-we-are/}}
+
{{Src|news|date=Oct.19.2019|archdate=Mar.20.2019|title=Who we are.|quote=Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role.|website=Brakes Group|name=Press Release|url=http://www.brakesgroup.com/about-us/who-we-are/|archurl=https://web.archive.org/web/20190320001538/http://www.brakesgroup.com/about-us/who-we-are/}}
−
'''Mode = ref''', with and without <tt>archurl</tt><br/>
+
'''Mode = ref''', with and without <tt>accessdate</tt> and <tt>archurl</tt><br/>
 
Designed to be wrapped inside <nowiki><ref name="xxx">...</ref></nowiki> tags.<br/>
 
Designed to be wrapped inside <nowiki><ref name="xxx">...</ref></nowiki> tags.<br/>
 
{{Src|ref|date=Oct.19.2019|title=Who we are.|quote=Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role.|website=Brakes Group|name=Press Release|url=http://www.brakesgroup.com/about-us/who-we-are/}}<br/>
 
{{Src|ref|date=Oct.19.2019|title=Who we are.|quote=Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role.|website=Brakes Group|name=Press Release|url=http://www.brakesgroup.com/about-us/who-we-are/}}<br/>
−
{{Src|ref|date=Oct.19.2019|archdate=Mar.20.2019|accessdate=Dec.31.2019|title=Who we are.|quote=Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role.|website=Brakes Group|name=Press Release|url=http://www.brakesgroup.com/about-us/who-we-are/|archurl=https://web.archive.org/web/20190320001538/http://www.brakesgroup.com/about-us/who-we-are/}}
+
{{Src|ref|accessdate=Nov.10.2020|title=Who we are.|quote=Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role.|website=Brakes Group|name=Press Release|url=http://www.brakesgroup.com/about-us/who-we-are/}}<br/>
 +
{{Src|ref|date=Oct.19.2019|accessdate=Nov.10.2020|title=Who we are.|quote=Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role.|website=Brakes Group|name=Press Release|url=http://www.brakesgroup.com/about-us/who-we-are/}}<br/>
 +
{{Src|ref|date=Oct.19.2019|archdate=Mar.20.2019|title=Who we are.|quote=Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role.|website=Brakes Group|name=Press Release|url=http://www.brakesgroup.com/about-us/who-we-are/|archurl=https://web.archive.org/web/20190320001538/http://www.brakesgroup.com/about-us/who-we-are/}}
 +
==== Formats for citing Companies House refs ====
 +
# When citing only one reference:<br/><tt><nowiki><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></nowiki></tt><br/>Cite thus: <tt><nowiki><ref name="ch-01594599"/></nowiki></tt><br/>
 +
# When citing multiple references to one company:<br/><tt><nowiki><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></nowiki></tt><br/>Cite thus: <tt><nowiki><ref name="ch-01594599"/><sup>:Jul.1998</sup></nowiki></tt>
  
 
=== Example: book ===
 
=== Example: book ===
 
<pre>
 
<pre>
 
{{Src|book
 
{{Src|book
−
|title
+
|title   = required,  eg: Taking action against Ebola
−
|author  = optional
+
|author  = optional,  eg: RA Clay
−
|pub    = publisher
+
|pub    = required,  eg: Riley: London
−
|misc   = optional. Eg: Vol.169, Issue 11, page 9
+
|date   = required,  eg: Feb.2021
−
|date    = publication date
+
|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=|misc=|date=|isbn=|url=}}</nowiki></tt>
+
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|misc=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/>
+
<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
−
|misc=Vol.169, Issue 11, page 9
+
|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 (New York)|misc=[https://books.google.de/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/>
+
<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 (New York)
+
|pub=RM McBride & Company: New York
−
|misc=[https://books.google.de/books?id=GtwuDwAAQBAJ&lpg=PT70&vq=1879&hl=de&pg=PT45#v=snippet&q=Great%20Five%20Cent%20Store&f=false Google books Preview]
+
|vip=[https://books.google.com/books?id=GtwuDwAAQBAJ Google books Preview]
 
|date=1940
 
|date=1940
 
|isbn=978-1614276319
 
|isbn=978-1614276319
 
|url=https://www.worldcat.org/title/five-and-ten-the-fabulous-life-of-fw-woolworth/oclc/557064}}
 
|url=https://www.worldcat.org/title/five-and-ten-the-fabulous-life-of-fw-woolworth/oclc/557064}}
  
−
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
+
<includeonly>[[Category:WikiCorporates templates]]</includeonly>

Latest revision as of 02:34, 18 February 2021

< Template:Src < doc

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
Eg: {{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}}

→ 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

  1. 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"/>
  2. 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=}}

Gives:

"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