Difference between revisions of "Template:Cite"
m (1 revision imported) |
Erin Carson (talk | contribs) (Reformat and improvement. Major overhaul.) |
||
| Line 1: | Line 1: | ||
| − | {{#tag:ref|<span class="plainlinks">{{{ | + | {{#tag:ref|<span class="plainlinks">{{#if:{{{by|}}}|{{{by}}}}} {{#if:{{{date|}}}| ({{{date}}})}} - "{{#if:{{{url|}}}|[{{{url}}} {{{title|No title given}}}]|No URL given, are you even trying?}}" ''{{{site|No site name given}}}'' - {{#if:{{{ret|}}}|Retrieved {{{ret}}}}} {{#if:{{{aurl|}}}|([{{{aurl}}} archive{{#if:{{{aurl2|}}}| 1}}])}}{{#if:{{{aurl2|}}}|([{{{aurl2}}} archive 2])}}{{#if:{{{aurl3|}}}|([{{{aurl3}}} archive 3])}}</span>}}<noinclude> |
| − | + | ==Use== | |
| − | + | For single use citations. If you need to make use of a reference more than once per article, use the [[Template:Citen|citen Template]] | |
==Parameters== | ==Parameters== | ||
| − | <pre>{{cite|site=|url=|title=|by=|aurl=}}</pre> | + | <pre>{{cite|site=|url=|title=|by=|date=|ret=|aurl=|aurl2=|aurl3=}}</pre> |
;site:Website name | ;site:Website name | ||
;url:URL to website | ;url:URL to website | ||
| − | ;title:Title of article or webpage -date | + | ;title:Title of article or webpage -date received |
| − | ;by:Author | + | ;by:Author |
| + | ;date:Date the source was published | ||
| + | ;ret:Date retrieved (the date when looked at the source) | ||
;aurl:URL to archive | ;aurl:URL to archive | ||
| − | ;aurl2: URL to second archive (optional) | + | ;aurl2:URL to second archive (optional) |
| − | ;aurl3: URL to third archive (optional) | + | ;aurl3:URL to third archive (optional) |
==Example== | ==Example== | ||
<pre>{{cite|site=Google|url=http://www.google.com/|title=Google home page|aurl=https://archive.today/po9Fj|by=Human Being}}</pre> | <pre>{{cite|site=Google|url=http://www.google.com/|title=Google home page|aurl=https://archive.today/po9Fj|by=Human Being}}</pre> | ||
| − | {{cite|site=Google|url=http://www.google.com/|title=Google home page|aurl=https://archive.today/po9Fj|by=Human Being}} | + | {{cite|site=Google|url=http://www.google.com/|title=Google home page|aurl=https://archive.today/po9Fj|by=Human Being|ret=12 May 2019|date=5 December 2017}} |
<references/>[[Category:Templates]]</noinclude> | <references/>[[Category:Templates]]</noinclude> | ||
Revision as of 11:51, 13 September 2019
Use
For single use citations. If you need to make use of a reference more than once per article, use the citen Template
Parameters
{{cite|site=|url=|title=|by=|date=|ret=|aurl=|aurl2=|aurl3=}}
- site
- Website name
- url
- URL to website
- title
- Title of article or webpage -date received
- by
- Author
- date
- Date the source was published
- ret
- Date retrieved (the date when looked at the source)
- aurl
- URL to archive
- aurl2
- URL to second archive (optional)
- aurl3
- URL to third archive (optional)
Example
{{cite|site=Google|url=http://www.google.com/|title=Google home page|aurl=https://archive.today/po9Fj|by=Human Being}}
- ↑ - "No URL given, are you even trying?" No site name given -
- ↑ Human Being (5 December 2017) - "Google home page" Google - Retrieved 12 May 2019 (archive)