Difference between revisions of "Template:Cite web"
Jump to navigation
Jump to search
(added notice when a volatile site has no archive) |
|||
Line 18: | Line 18: | ||
#if: {{{archive|{{{autoarchive|{{{wayback|}}}}}}}}} | #if: {{{archive|{{{autoarchive|{{{wayback|}}}}}}}}} | ||
| [{{{archive|https://web.archive.org/web/{{{autoarchive|{{{wayback|}}}}}}/{{{url}}}}}} (archived)] <!-- If archived --> | | [{{{archive|https://web.archive.org/web/{{{autoarchive|{{{wayback|}}}}}}/{{{url}}}}}} (archived)] <!-- If archived --> | ||
|{{#ifeq: {{{archive-priority|}}} <!-- If not archived, and this is a volatile site, put a notice. --> | |{{#ifeq: {{{archive-priority|{{{priority|}}}}}} <!-- If not archived, and this is a volatile site, put a notice. --> | ||
| high | <span class="basic-tooltip" style="color: red;" title="{{{website|This site}}} is unreliable, and may be in danger of crashing and losing the information here. Editors should add a link to a suitable archived version as soon as possible.">''Warning: volatile site''</span>}}}}. {{ | | high | <span class="basic-tooltip" style="color: red;" title="{{{website|This site}}} is unreliable, and may be in danger of crashing and losing the information here. Editors should add a link to a suitable archived version as soon as possible.">''Warning: volatile site''</span>}}}}. {{ | ||
Revision as of 13:21, 27 October 2021
{{{url}}}.
Usage
These usage notes will not be included in articles bearing this template.
Note: The 'autoarchive' parameter is just the number in the Wayback Machine. If this doesn't work, or if you're using an alternative site, just use the normal 'archive' parameter.
{{Cite web|url=https://wikipedia.org|title=Wikipedia Main Page|writer=Wikipedia editors|website=[[Wikipedia]]|autoarchive=20050214084215|url-status=dead}}
Displays: Wikipedia editors. Wikipedia Main Page (archived). Wikipedia.
{{Cite web|url=https://wikipedia.org|website=[[Wikipedia]]|autoarchive=20050214084215}}
Displays: https://wikipedia.org (archived). Wikipedia.
{{Cite web|url=https://wikipedia.org|title=Wikipedia Main Page|first=John|last=Smith|website=[[Wikipedia]]}}
Displays: Smith, John. Wikipedia Main Page Warning: volatile site. Wikipedia.