Difference between revisions of "Template:Cite web"

From CWCki
Jump to navigation Jump to search
Line 1: Line 1:
<!--============  Writer  ============-->{{{writer|{{{last|}}}}}}{{
#if: {{{first|}}}
  |, {{{first|}}}}}.
{{
{{
<!--============  Writer  ============-->
#if: {{{first|{{{writer|{{{last|}}}}}}}}}
  |{{{writer|{{{last|}}}}}}{{
  #if: {{{first|}}}
    |{{#if: {{{last|}}}
    | ,&nbsp;}}{{{first|}}}}}.&nbsp;}}{{
<!--============  Link and title  ============-->
<!--============  Link and title  ============-->
#ifeq: {{{url-status|}}} | dead | <s>  }}{{
#ifeq: {{{url-status|}}} | dead | <s>  }}{{
Line 8: Line 13:
#if: {{{title|}}}  
#if: {{{title|}}}  
   | [{{{url}}} {{{title|}}}]
   | [{{{url}}} {{{title|}}}]
   | {{{url}}}
   | {{{url}}}}}{{
}}{{
 
#ifeq: {{{url-status|}}} | dead | </s> }}{{
#ifeq: {{{url-status|}}} | dead | </s> }}{{


<!--============  Archive  ============-->
<!--============  Archive  ============-->
#if: {{{archive|{{{autoarchive|}}}}}}
#if: {{{archive|{{{autoarchive|}}}}}}
   |&nbsp;[{{{archive|https://web.archive.org/web/{{{autoarchive|}}}/{{{url}}}}}} (archived)]}}. {{
   |&nbsp;[{{{archive
  |https://web.archive.org/web/{{{autoarchive|}}}/{{{url}}}}}} (archived)]}}. {{


<!--============  Website name  ============-->
<!--============  Website name  ============-->
#if: {{{website|}}}|''{{{website|}}}''.}}<noinclude>
#if: {{{website|}}}
  |''{{{website|}}}''.}}<noinclude>




Line 30: Line 37:
Displays: {{Cite web|url=https://wikipedia.org|title=Wikipedia Main Page|writer=Wikipedia editors|website=[[Wikipedia]]|autoarchive=20050214084215|url-status=dead}}
Displays: {{Cite web|url=https://wikipedia.org|title=Wikipedia Main Page|writer=Wikipedia editors|website=[[Wikipedia]]|autoarchive=20050214084215|url-status=dead}}


<pre>{{Cite web|url=https://wikipedia.org|writer=Wikipedia editors|website=[[Wikipedia]]|autoarchive=20050214084215}}</pre>
<pre>{{Cite web|url=https://wikipedia.org|website=[[Wikipedia]]|autoarchive=20050214084215}}</pre>


Displays: {{Cite web|url=https://wikipedia.org|writer=Wikipedia editors|website=[[Wikipedia]]|autoarchive=20050214084215}}
Displays: {{Cite web|url=https://wikipedia.org|website=[[Wikipedia]]|autoarchive=20050214084215}}


<pre>{{Cite web|url=https://wikipedia.org|title=Wikipedia Main Page|writer=Wikipedia editors|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|writer=Wikipedia editors|website=[[Wikipedia]]}}
Displays: {{Cite web|url=https://wikipedia.org|title=Wikipedia Main Page|first=John|last=Smith|website=[[Wikipedia]]}}
}}
}}
</noinclude>
</noinclude>

Revision as of 14:07, 22 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. Wikipedia.