Difference between revisions of "Template:Cite web"
Jump to navigation
Jump to search
m |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{ <!--============ Writer ============--> | ||
<!--============ Writer ============--> | |||
#if: {{{first|{{{writer|{{{last|}}}}}}}}} | #if: {{{first|{{{writer|{{{last|}}}}}}}}} | ||
Line 9: | Line 8: | ||
<!--============ Link and title ============--> | <!--============ Link and title ============--> | ||
#ifeq: {{{url-status|}}} | dead | <s> | #ifeq: {{{url-status|}}} | dead | <s> }}{{ | ||
#if: {{{title|}}} | #if: {{{title|}}} | ||
Line 15: | Line 14: | ||
| {{{url}}}}}</s>{{ | | {{{url}}}}}</s>{{ | ||
<!--============ | <!--============ Archival ============--> | ||
#if: {{{archive|{{{autoarchive|{{{wayback|}}}}}}}}} | #if: {{{archive | {{{autoarchive | {{{wayback|}}} }}} }}} | ||
| [{{{archive|https://web.archive.org/web/{{{autoarchive|{{{wayback|}}}}}}/{{{url}}}}}} (archived)] <!-- If | | [{{{archive|https://web.archive.org/web/{{{autoarchive|{{{wayback|}}}}}}/{{{url}}}}}} (archived)] <!-- If archive link provided --> | ||
|{{#ifeq: {{{archive-priority|{{{priority|}}}}}} <!-- If | | {{#ifeq: {{{archive-priority|{{{priority|}}}}}} | high <!-- If no link provided, and site is volatile, display warning --> | ||
| <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><includeonly>{{ | |||
#ifeq: {{NAMESPACE}} | |||
| <!-- Main --> | [[Category:Articles with endangered links]] | |||
}} | |||
</includeonly>}}}}. {{ | |||
<!--============ Website name ============--> | <!--============ Website name ============--> | ||
#if: {{{website|}}} | #if: {{{website|}}} | ||
|''{{{website|}}}''.}}<noinclude> | |''{{{website|}}}''.}}<noinclude> | ||
<!--============ END OF CODE ============--> | <!--============ END OF CODE ============--> | ||
Line 42: | Line 44: | ||
<pre>{{Cite web|url=https://wikipedia.org|title=Wikipedia Main Page|first=John|last=Smith|website=[[Wikipedia]]}}</pre> | <pre>{{Cite web|url=https://wikipedia.org|title=Wikipedia Main Page|first=John|last=Smith|website=[[Wikipedia]]}}</pre> | ||
Displays: {{Cite web|url=https://wikipedia.org|title=Wikipedia Main Page|first=John|last=Smith|website=[[Wikipedia]]|archive-priority=high}} | Displays: {{Cite web|url=https://wikipedia.org|title=Wikipedia Main Page|first=John|last=Smith|website=[[Wikipedia]]|archive-priority=high}}}} | ||
}} | ==See also== | ||
'''Sub-templates include:''' | '''Sub-templates include:''' | ||
* [[Template:Cite farms]] | * [[Template:Cite farms]] | ||
* [[Template:Cite Reddit]] | * [[Template:Cite Reddit]] | ||
</noinclude> | </noinclude> |
Latest revision as of 13:55, 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.
See also
Sub-templates include: