Difference between revisions of "Template:Citen"
Erin Carson (talk | contribs) (Improved instructions. Brought into compliance with Template:cite) |
|||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <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> | + | <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 multi use citations. If you need to make use of a reference only once per article, use the [[Template:Cite|cite 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><ref name=>{{citen|site=|url=|title=|by=|date=|ret=|aurl=|aurl2=|aurl3=}}</ref></pre> | <pre><ref name=>{{citen|site=|url=|title=|by=|date=|ret=|aurl=|aurl2=|aurl3=}}</ref></pre> | ||
| Line 11: | Line 20: | ||
;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== | ||
| − | First instance.<pre><ref name= | + | First instance.<pre><ref name=example>{{citen|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}}</ref></pre>Second instance.<pre><ref name=example /></pre> |
| − | First instance.<ref name= | + | First instance.<ref name=example>{{citen|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}}</ref> |
| − | Second instance.<ref name= | + | Second instance.<ref name=example /> |
| − | <references/>[[Category:Templates]]</noinclude> | + | <references/>[[Category:Templates]][[Category:Citations]]</noinclude> |
Latest revision as of 22:23, 12 September 2020
- "No URL given, are you even trying?" No site name given
Use
For multi use citations. If you need to make use of a reference only once per article, use the cite 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
<ref name=>{{citen|site=|url=|title=|by=|date=|ret=|aurl=|aurl2=|aurl3=}}</ref>
- 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
First instance.<ref name=example>{{citen|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}}</ref>Second instance.<ref name=example />
First instance.[1] Second instance.[1]
- ↑ 1.0 1.1 Human Being (10 September 2019) - "Example home page" Example - Retrieved 12 May 2019 (archive)