Difference between revisions of "Template:Cite"
m (Fixed a mistake) |
|||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{#tag:ref|<span class="plainlinks">{{{ | + | {{#tag:ref|<span class="plainlinks">{{#if:{{{by|}}}|{{{by}}}}} {{#if:{{{date|}}}| ({{{date}}})}} - "{{#if:{{{url|}}}|[https://archive.is/{{{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]] | ||
| − | + | ===URL Redirect to Archive=== | |
| + | The "URL" field automatically redirects links to point to Archive.is. The URL=http:\\www.example.com becomes http:\\archive.is/http:\\www.example.com | ||
| + | |||
| + | Learn more about how to make articles here. | ||
| + | *[[Article Creation]] | ||
==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= | + | <pre>{{cite|site=Example|url=http://www.example.com/|title=Example home page|aurl=https://archive.is/lYG2V|by=Human Being|ret=12 May 2019|date=10 September 2019}}</pre> |
| − | {{cite|site= | + | {{cite|site=Example|url=http://www.example.com/|title=Example home page|aurl=https://archive.is/lYG2V|by=Human Being|ret=12 May 2019|date=10 September 2019}} |
| − | <references/>[[Category:Templates]]</noinclude> | + | <references/>[[Category:Templates]][[Category:Citations]]</noinclude> |
Latest revision as of 22:30, 12 September 2020
Use
For single use citations. If you need to make use of a reference more than once per article, use the citen Template
URL Redirect to Archive
The "URL" field automatically redirects links to point to Archive.is. The URL=http:\\www.example.com becomes http:\\archive.is/http:\\www.example.com
Learn more about how to make articles here.
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=Example|url=http://www.example.com/|title=Example home page|aurl=https://archive.is/lYG2V|by=Human Being|ret=12 May 2019|date=10 September 2019}}
- ↑ - "No URL given, are you even trying?" No site name given -
- ↑ Human Being (10 September 2019) - "Example home page" Example - Retrieved 12 May 2019 (archive)