Difference between revisions of "Template:Link"
(Link template v1.0) |
Erin Carson (talk | contribs) (Redirect to archive.is) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | <span class="plainlinks"> | + | <span class="plainlinks">"{{#if:{{{url|}}}|[https://archive.is/{{{url}}} {{{title|No title given}}}]|No URL given, are you even trying?}}" ''{{{site}}}''{{#if:{{{by|}}}|{{{by}}} }}{{#if:{{{date|}}}|({{{date}}})}} {{#if:{{{ret|}}}| - Retrieved {{{ret}}}}} {{#if:{{{aurl|}}}|([{{{aurl}}} archive{{#if:{{{aurl2|}}}| 1}}])}}{{#if:{{{aurl2|}}}|([{{{aurl2}}} archive 2])}}{{#if:{{{aurl3|}}}|([{{{aurl3}}} archive 3])}}</span><noinclude> |
| + | ==Use== | ||
| + | Inline links. | ||
| + | |||
| + | ===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>{{link|site=|url=|title=|by=|aurl=}}</pre> | + | <pre>{{link|site=|url=|title=|by=|date=|ret=|aurl=|aurl2=|aurl3=}}</pre> |
| − | ;site:Website name | + | ;site: Website name |
| − | ;url:URL to website | + | ;url: URL to website redirects to archive.is |
| − | ;title:Title of article or webpage -date recieved | + | ;title: Title of article or webpage -date recieved |
| − | ; | + | ;date:Date the source was published |
| − | ;aurl:URL to archive | + | ;ret:Date retrieved (the date when looked at the source) |
| + | ;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>{link|site= | + | <pre>{{link|site=Example|url=http://www.example.com/|title=Example home page|aurl=https://archive.is/lYG2V|ret=12 May 2019|date=10 September 2019}}</pre> |
| − | {{link|site= | + | {{link|site=Example|url=http://www.example.com/|title=Example home page|aurl=https://archive.is/lYG2V|ret=12 May 2019|date=10 September 2019}} |
| − | <references/>[[Category:Templates]]</noinclude> | + | <references/>[[Category:Templates]][[Category:Citations]]</noinclude> |
Latest revision as of 13:47, 14 September 2019
"No URL given, are you even trying?" {{{site}}}
Use
Inline links.
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
{{link|site=|url=|title=|by=|date=|ret=|aurl=|aurl2=|aurl3=}}
- site
- Website name
- url
- URL to website redirects to archive.is
- title
- Title of article or webpage -date recieved
- 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
{{link|site=Example|url=http://www.example.com/|title=Example home page|aurl=https://archive.is/lYG2V|ret=12 May 2019|date=10 September 2019}}
"Example home page" Example(10 September 2019) - Retrieved 12 May 2019 (archive)