Difference between revisions of "Template:Src/doc"

From WikiCorporates
Jump to navigation Jump to search
(→‎Example: book)
(→‎Example: book)
Line 66: Line 66:
 
|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)|misc=[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]
+
|misc=[https://books.google.com/books?id=GtwuDwAAQBAJ Google books Preview]
 
|date=1940
 
|date=1940
 
|isbn=978-1614276319
 
|isbn=978-1614276319

Revision as of 19:54, 7 January 2020

Usage

Template for references and citations. It has three "modes": news, ref, book.
Possible parameters for the first 2 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

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
}}

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.

Template:Src - something's wrong here.

Mode = ref, with and without 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, Oct.19.2019. Original archived on Mar.20.2019. Accessed Dec.31.2019.

Example: book

{{Src|book
|title
|author  = optional
|pub     = publisher
|misc    = optional. Eg: Vol.169, Issue 11, page 9
|date    = publication date
|isbn    = optional
|url     = optional
}}

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=|misc=|date=|isbn=|url=}}

Eg. 1

{{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/}}
"Shadow Wars: The Secret Struggle for the Middle East", Christopher M Davidson, 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)|misc=[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, RM McBride & Company (New York), 1940, ISBN: 978-1614276319