Difference between revisions of "Template:Src/doc"
Jump to navigation
Jump to search
m |
m |
||
| Line 34: | Line 34: | ||
==== The complete parameter set, with mode = news ==== | ==== The complete parameter set, with mode = news ==== | ||
| + | Useful when collecting together articles for a new page. Having the date first makes it very easy to see. | ||
{{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. Mr Taylor, a prominent [[Conservatives|Conservative party]] donor, joined Vitol in 1985 from Royal Dutch Shell.|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}} | {{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. Mr Taylor, a prominent [[Conservatives|Conservative party]] donor, joined Vitol in 1985 from Royal Dutch Shell.|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}} | ||
==== The complete parameter set, with mode = ref ==== | ==== The complete parameter set, with mode = ref ==== | ||
| + | Designed to be wrapped inside <nowiki><ref name="xxx">...</ref></nowiki> tags. | ||
{{Src|ref|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. Mr Taylor, a prominent [[Conservatives|Conservative party]] donor, joined Vitol in 1985 from Royal Dutch Shell.|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}} | {{Src|ref|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. Mr Taylor, a prominent [[Conservatives|Conservative party]] donor, joined Vitol in 1985 from Royal Dutch Shell.|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}} | ||
==== The complete parameter set, with mode = cite ==== | ==== The complete parameter set, with mode = cite ==== | ||
| + | Also designed to be wrapped inside <nowiki><ref>...</ref></nowiki> tags, but excludes the article text. | ||
{{Src|cite|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. Mr Taylor, a prominent [[Conservatives|Conservative party]] donor, joined Vitol in 1985 from Royal Dutch Shell.|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}} | {{Src|cite|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. Mr Taylor, a prominent [[Conservatives|Conservative party]] donor, joined Vitol in 1985 from Royal Dutch Shell.|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}} | ||
<includeonly>[[Category:WikiPolitiks templates]]</includeonly> | <includeonly>[[Category:WikiPolitiks templates]]</includeonly> | ||
Revision as of 14:07, 17 March 2018
Usage
Template for references and citations. It has three "modes": news, ref, cite.
Possible parameters are:
{{{<mode>}}} - one of: [news | ref | cite ]
{{{date}}} - publicate date
{{{url}}} - optional. Eg. author
{{{title}}} - title of the article / book
{{{quote}}} - 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
Examples
{{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. Mr Taylor, a prominent [[Conservative party]] donor, joined Vitol in 1985 from Royal Dutch Shell.
|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
}}
The complete parameter set, with mode = news
Useful when collecting together articles for a new page. Having the date first makes it very easy to see.
- Mar.16.2018: Ian Taylor, chief of world’s biggest oil trader Vitol. Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role. Mr Taylor, a prominent Conservative party donor, joined Vitol in 1985 from Royal Dutch Shell. Emily Gosden, The Times. Original archived on Jan.01.0000. Accessed Dec.31.9999.
The complete parameter set, with mode = ref
Designed to be wrapped inside <ref name="xxx">...</ref> tags. Ian Taylor, chief of world’s biggest oil trader Vitol. Mr Taylor will continue as chairman and Russell Hardy, an executive director, would step up to the chief executive role. Mr Taylor, a prominent Conservative party donor, joined Vitol in 1985 from Royal Dutch Shell. Emily Gosden, The Times, Mar.16.2018. Original archived on Jan.01.0000. Accessed Dec.31.9999.
The complete parameter set, with mode = cite
Also designed to be wrapped inside <ref>...</ref> tags, but excludes the article text.
Template:Src - something's wrong here.