Difference between revisions of "Template:Cite web"

From CWCki
Jump to navigation Jump to search
m
 
(3 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>{{


<!--============  Archive ============-->
<!--============  Archival ============-->
#if: {{{archive | {{{autoarchive | {{{wayback|}}} }}} }}}
#if: {{{archive | {{{autoarchive | {{{wayback|}}} }}} }}}
   |&nbsp;[{{{archive|https://web.archive.org/web/{{{autoarchive|{{{wayback|}}}}}}/{{{url}}}}}} (archived)]  
   |&nbsp;[{{{archive|https://web.archive.org/web/{{{autoarchive|{{{wayback|}}}}}}/{{{url}}}}}} (archived)] <!-- If archive link provided -->
   | {{#ifeq: {{{archive-priority|{{{priority|}}}}}} | high  
   | {{#ifeq: {{{archive-priority|{{{priority|}}}}}} | high <!-- If no link provided, and site is volatile, display warning -->
     | &nbsp;<span class="basic-tooltip" style="color: red;" title=
     | &nbsp;<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."
     "{{{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>}}}}. {{  
>''Warning: volatile site''</span><includeonly>{{
    #ifeq: {{NAMESPACE}}
        | <!-- Main --> | [[Category:Articles with endangered links]]
    }}
</includeonly>}}}}. {{  


<!--============  Website name  ============-->
<!--============  Website name  ============-->

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: