This page contains test cases for {{Cite web}}.

Format of page

{{Cite web/sandbox| title=| url=| archiveurl=| archivedate= }}
  {{cite web}}: Empty citation (help)
Script error: The function "main" does not exist.
{{Cite web/sandbox| title=| url=http://url/| archiveurl=| archivedate= }}
  http://url/. {{cite web}}: Check |url= value (help); Cite has empty unknown parameter: |1= (help); Missing or empty |title= (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Script error: The function "main" does not exist.
{{Cite web/sandbox| title=| url=| archiveurl=http://archiveurl/| archivedate= }}
  {{cite web}}: Empty citation (help)
Script error: The function "main" does not exist.
{{Cite web/sandbox| title=| url=| archiveurl=| archivedate=28 June 2008 }}
  {{cite web}}: Empty citation (help)
Script error: The function "main" does not exist.
{{Cite web/sandbox| title=| url=http://url/| archiveurl=http://archiveurl/| archivedate= }}
  http://archiveurl/. {{cite web}}: |archive-url= requires |archive-date= (help); Check |archiveurl= value (help); Missing or empty |title= (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Script error: The function "main" does not exist.
{{Cite web/sandbox| title=| url=http://url/| archiveurl=| archivedate=28 June 2008 }}
  http://url/. {{cite web}}: Check |url= value (help); Missing or empty |title= (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Script error: The function "main" does not exist.
{{Cite web/sandbox| title=| url=| archiveurl=http://archiveurl/| archivedate=28 June 2008 }}
  {{cite web}}: Empty citation (help)
Script error: The function "main" does not exist.
{{Cite web/sandbox| title=| url=http://url/| archiveurl=http://archiveurl/| archivedate=28 June 2008 }}
  http://archiveurl/. Archived from the original on 28 June 2008. {{cite web}}: Check |archiveurl= value (help); Check |url= value (help); Missing or empty |title= (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Script error: The function "main" does not exist.
{{Cite web/sandbox| title=Title| url=| archiveurl=| archivedate= }}
 "Title". {{cite web}}: Missing or empty |url= (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Script error: The function "main" does not exist.
{{Cite web/sandbox| title=Title| url=http://url/| archiveurl=| archivedate= }}
 "Title". {{cite web}}: Check |url= value (help); Cite has empty unknown parameter: |1= (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Script error: The function "main" does not exist.
{{Cite web/sandbox| title=Title| url=| archiveurl=http://archiveurl/| archivedate= }}
 "Title". {{cite web}}: |archive-url= requires |archive-date= (help); |archive-url= requires |url= (help); Missing or empty |url= (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Script error: The function "main" does not exist.
{{Cite web/sandbox| title=Title| url=| archiveurl=| archivedate=28 June 2008 }}
 "Title". {{cite web}}: Missing or empty |url= (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Script error: The function "main" does not exist.
{{Cite web/sandbox| title=Title| url=http://url/| archiveurl=http://archiveurl/| archivedate= }}
 "Title". {{cite web}}: |archive-url= requires |archive-date= (help); Check |archiveurl= value (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Script error: The function "main" does not exist.
{{Cite web/sandbox| title=Title| url=http://url/| archiveurl=| archivedate=28 June 2008 }}
 "Title". {{cite web}}: Check |url= value (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Script error: The function "main" does not exist.
{{Cite web/sandbox| title=Title| url=| archiveurl=http://archiveurl/| archivedate=28 June 2008 }}
 "Title". {{cite web}}: |archive-url= requires |url= (help); Missing or empty |url= (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Script error: The function "main" does not exist.
{{Cite web/sandbox| title=Title| url=http://url/| archiveurl=http://archiveurl/| archivedate=28 June 2008 }}
 "Title". Archived from the original on 28 June 2008. {{cite web}}: Check |archiveurl= value (help); Check |url= value (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Script error: The function "main" does not exist.

Standard use cases

កែប្រែ
Markup Renders as
{{cite web
|author=Doe, John
|title=My favorite things part II
|publisher=Open Publishing
|date=30 April 2005
|work=Encyclopedia of things
|url=http://www.example.org/
|accessdate=6 July 2005
}}

Doe, John (30 April 2005). "My favorite things part II". Encyclopedia of things. Open Publishing. Retrieved 6 July 2005. {{cite web}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)

Markup Renders as
{{cite web/sandbox
|author=Doe, John
|title=My favorite things part II
|publisher=Open Publishing
|date=30 April 2005
|work=Encyclopedia of things
|url=http://www.example.org/
|accessdate=6 July 2005
|template doc demo=true}}

Script error: The function "main" does not exist.

Markup Renders as
{{cite web
|author=Doe, John
|title=My favorite things part II
|publisher=Open Publishing
|date=30 April 2005
|work=Encyclopedia of things
|url=http://www.example.org/
|accessdate=6 July 2005
}}

Doe, John (30 April 2005). "My favorite things part II". Encyclopedia of things. Open Publishing. Retrieved 6 July 2005. {{cite web}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)

Markup Renders as
{{cite web/sandbox
|author=Doe, John
|title=My favorite things part II
|publisher=Open Publishing
|date=30 April 2005
|work=Encyclopedia of things
|url=http://www.example.org/
|accessdate=6 July 2005
|template doc demo=true}}

Script error: The function "main" does not exist.

Markup Renders as
{{cite web
|author=Doe, John
|title=My favorite things part II
|date=30 April 2005
|url=http://www.example.org/
|accessdate=6 July 2005
}}

Doe, John (30 April 2005). "My favorite things part II". Retrieved 6 July 2005. {{cite web}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)

Markup Renders as
{{cite web/sandbox
|author=Doe, John
|title=My favorite things part II
|date=30 April 2005
|url=http://www.example.org/
|accessdate=6 July 2005
|template doc demo=true}}

Script error: The function "main" does not exist.

Markup Renders as
{{cite web
|url=http://www.nfl.com/fans/
|title=Digest of rules
|publisher= National Football League
|accessdate=6 July 2005}}

"Digest of rules". National Football League. Retrieved 6 July 2005.

Using format and page/pages
Markup Renders as
{{cite web
|title=List of psychotropic substances under international control
|publisher=International Narcotics Control Board
|url=http://www.incb.org/pdf/e/list/green.pdf
|format=PDF
|page=
|pages=3–4
|accessdate=6 July 2005
}}

"List of psychotropic substances under international control" (PDF). International Narcotics Control Board. pp. 3–4. Retrieved 6 July 2005. {{cite web}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)

Markup Renders as
{{cite web/sandbox
|title=List of psychotropic substances under international control
|publisher=International Narcotics Control Board
|url=http://www.incb.org/pdf/e/list/green.pdf
|format=PDF
|page=
|pages=3–4
|accessdate=6 July 2005
|template doc demo=true}}

Script error: The function "main" does not exist.

Foreign language title and translated trans_title
Markup Renders as
{{cite web
|author=Joliet, François
|title=Honni soit qui mal y pense
|date=30 April 2005
|url=http://www.example.org/
|accessdate=6 July 2005
|language=French
|trans_title=Shame on those who think evil
}}

Joliet, François (30 April 2005). "Honni soit qui mal y pense" (in French). Retrieved 6 July 2005. {{cite web}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help); Unknown parameter |trans_title= ignored (|trans-title= suggested) (help)CS1 maint: unrecognized language (link)

Markup Renders as
{{cite web/sandbox
|author=Joliet, François
|title=Honni soit qui mal y pense
|date=30 April 2005
|url=http://www.example.org/
|accessdate=6 July 2005
|trans_title=Shame on those who think evil
|language=French
|template doc demo=true}}

Script error: The function "main" does not exist.

Foreign language source as above, with only the translated trans_title available
Markup Renders as
{{cite web
|author=Joliet, François
|title=Honni soit qui mal y pense
|date=30 April 2005
|url=http://www.example.org/
|accessdate=6 July 2005
|language=French
|trans_title=Shame on those who think evil
}}

Joliet, François (30 April 2005). (in French) http://www.example.org/. Retrieved 6 July 2005. {{cite web}}: Missing or empty |title= (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help); Unknown parameter |trans_title= ignored (|trans-title= suggested) (help)CS1 maint: unrecognized language (link)

Markup Renders as
{{cite web/sandbox
|author=Joliet, François
|date=30 April 2005
|url=http://www.example.org/
|accessdate=6 July 2005
|trans_title=Shame on those who think evil
|language=French
|template doc demo=true}}

Script error: The function "main" does not exist.

coauthors
Markup Renders as
{{cite web
|first=John
|last=Doe
|coauthors=Smith, Peter; Smythe, Jim
|title=My favorite things part II
|publisher=Open Publishing
|date=30 April 2005
|work=Encyclopedia of things
|url=http://www.example.org/
|accessdate=6 July 2005
}}

Doe, John (30 April 2005). "My favorite things part II". Encyclopedia of things. Open Publishing. Retrieved 6 July 2005. {{cite web}}: Unknown parameter |coauthors= ignored (|author= suggested) (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)

Markup Renders as
{{cite web/sandbox
|first=John
|last=Doe
|coauthors=Smith, Peter; Smythe, Jim
|title=My favorite things part II
|publisher=Open Publishing
|date=30 April 2005
|work=Encyclopedia of things
|url=http://www.example.org/
|accessdate=6 July 2005
|template doc demo=true}}

Script error: The function "main" does not exist.

No author
Markup Renders as
{{cite web
|title=My favorite things part II
|publisher=Open Publishing
|date=30 April 2005
|work=Encyclopedia of things
|url=http://www.example.org/| accessdate=2006-05-16
}}

"My favorite things part II". Encyclopedia of things. Open Publishing. 30 April 2005. Retrieved 2006-05-16. {{cite web}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)

Markup Renders as
{{cite web/sandbox
|title=My favorite things part II
|publisher=Open Publishing
|date=30 April 2005
|work=Encyclopedia of things
|url=http://www.example.org/| accessdate=2006-05-16
|template doc demo=true}}

Script error: The function "main" does not exist.

No author, no publisher
Markup Renders as
{{cite web
|title=My favorite things part II
|date=30 April 2005
|work=Encyclopedia of things
|url=http://www.example.org/
|accessdate=6 July 2005
}}

"My favorite things part II". Encyclopedia of things. 30 April 2005. Retrieved 6 July 2005. {{cite web}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)

Markup Renders as
{{cite web/sandbox
|title=My favorite things part II
|date=30 April 2005
|work=Encyclopedia of things
|url=http://www.example.org/
|accessdate=6 July 2005
|template doc demo=true}}

Script error: The function "main" does not exist.

Markup Renders as
{{cite web
|title=My favorite things part II
|date=30 April 2005
|url=http://www.example.org/
|accessdate=6 July 2005}}

"My favorite things part II". 30 April 2005. Retrieved 6 July 2005. {{cite web}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)

Markup Renders as
{{cite web/sandbox
|title=My favorite things part II
|date=30 April 2005
|url=http://www.example.org/
|accessdate=6 July 2005|template doc demo=true}}

Script error: The function "main" does not exist.

Markup Renders as
{{cite web
|title=List of psychotropic substances under international control
|date=30 April 2005
|url=http://www.incb.org/pdf/e/list/green.pdf
|format=PDF
|accessdate=6 July 2005
|language=Greek
}}

"List of psychotropic substances under international control" (PDF) (in Greek). 30 April 2005. Retrieved 6 July 2005. {{cite web}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)CS1 maint: unrecognized language (link)

Markup Renders as
{{cite web/sandbox
|title=List of psychotropic substances under international control
|date=30 April 2005
|url=http://www.incb.org/pdf/e/list/green.pdf
|format=PDF
|accessdate=6 July 2005
|language=Greek
|template doc demo=true}}

Script error: The function "main" does not exist.

Using website=
Markup Renders as
{{cite web
|title=Han Dynasty
|website=Wikipedia
|publisher=Wikimedia Foundation
|url=http://en.wikipedia.org/wiki/Han_Dynasty
|accessdate=2009-11-21
}}

"Han Dynasty". Wikipedia. Wikimedia Foundation. Retrieved 2009-11-21. {{cite web}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)

Markup Renders as
{{cite web/sandbox
|title=Han Dynasty
|website=Wikipedia
|publisher=Wikimedia Foundation
|url=http://en.wikipedia.org/wiki/Han_Dynasty
|accessdate=2009-11-21
|template doc demo=true}}

Script error: The function "main" does not exist.

Using website= and work= (work= should be ignored)
Markup Renders as
{{cite web
|title=Han Dynasty
|website=Wikipedia
|work=Pediawiki
|publisher=Wikimedia Foundation
|url=http://en.wikipedia.org/wiki/Han_Dynasty
|accessdate=2009-11-21
}}

"Han Dynasty". Wikipedia. Wikimedia Foundation. Retrieved 2009-11-21. {{cite web}}: More than one of |work= and |website= specified (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)

Markup Renders as
{{cite web/sandbox
|title=Han Dynasty
|website=Wikipedia
|work=Pediawiki
|publisher=Wikimedia Foundation
|url=http://en.wikipedia.org/wiki/Han_Dynasty
|accessdate=2009-11-21
|template doc demo=true}}

Script error: The function "main" does not exist.

Using website= when no title= supplied
Markup Renders as
{{cite web
|website=Wikipedia
|publisher=Wikimedia Foundation
|url=http://en.wikipedia.org/
|accessdate=2009-11-21
}}

Wikipedia. Wikimedia Foundation http://en.wikipedia.org/. Retrieved 2009-11-21. {{cite web}}: Missing or empty |title= (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)

Markup Renders as
{{cite web/sandbox
|website=Wikipedia
|publisher=Wikimedia Foundation
|url=http://en.wikipedia.org/
|accessdate=2009-11-21
|template doc demo=true}}

Script error: The function "main" does not exist.

Using quote
Markup Renders as
{{cite web
|title=My favorite things part II
|work=Encyclopedia of things
|url=http://www.example.org/
|accessdate=6 July 2005
|quote=Lorem ipsum dolor.
}}

"My favorite things part II". Encyclopedia of things. Retrieved 6 July 2005. Lorem ipsum dolor. {{cite web}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)

Markup Renders as
{{cite web/sandbox
|title=My favorite things part II
|work=Encyclopedia of things
|url=http://www.example.org/
|accessdate=6 July 2005
|quote=Lorem ipsum dolor.
|template doc demo=true}}

Script error: The function "main" does not exist.

Archive parameter usage

កែប្រែ
Using |archiveurl= and |archivedate= for webpages that have been archived
  • {{cite web |title=List of psychotropic substances under international control |date=30 April 2005 |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
    "List of psychotropic substances under international control" (PDF). 30 April 2005. Archived from the original (PDF) on 11 September 2005. Retrieved 6 July 2005. {{cite web}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
    Script error: The function "main" does not exist.
  • {{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 }}
    "Interview with Maggie Downs". The Desert Sun. 31 March 2006. Archived from the original on 26 April 2006. {{cite web}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
    Script error: The function "main" does not exist.
Using |archiveurl= and |archivedate= for webpages that have been archived, specifying that the main link is live by |deadurl=no
  • {{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=no }}
    "Interview with Maggie Downs". The Desert Sun. 31 March 2006. Archived from the original on 26 April 2006. {{cite web}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
    Script error: The function "main" does not exist.
Using |archiveurl= and |archivedate= for webpages that have been archived, while using other value that "no" for |deadurl=
  • {{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=who knows? }}
    "Interview with Maggie Downs". The Desert Sun. 31 March 2006. Archived from the original on 26 April 2006. {{cite web}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
    Script error: The function "main" does not exist.
Specifying |dead=yes without archival parameters
  • {{cite web |title=List of psychotropic substances under international control |date=30 April 2005 |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |accessdate=6 July 2005 |deadurl=yes }}
    "List of psychotropic substances under international control" (PDF). 30 April 2005. Retrieved 6 July 2005. {{cite web}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
    Script error: The function "main" does not exist.

Errors and blank parameters

កែប្រែ
Omitting the title in error
{{cite web
|work=Encyclopedia of things
|url=http://www.example.org/
|accessdate=6 July 2005
|quote=Lorem ipsum dolor.
}}
Encyclopedia of things http://www.example.org/. Retrieved 6 July 2005. Lorem ipsum dolor. {{cite web}}: Missing or empty |title= (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Script error: The function "main" does not exist.
Omitting url in error
{{cite web
|work=Encyclopedia of things
|title=My favorite things part II
|accessdate=6 July 2005
|quote=Lorem ipsum dolor.
}}
"My favorite things part II". Encyclopedia of things. Lorem ipsum dolor. {{cite web}}: |access-date= requires |url= (help); Missing or empty |url= (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Script error: The function "main" does not exist.
Omitting url with archiveurl specified
{{cite web
|work=Encyclopedia of things
|title=My favorite things part II
|accessdate=6 July 2005
|archiveurl=http://archive.url
|quote=Lorem ipsum dolor.
}}
"My favorite things part II". Encyclopedia of things. Lorem ipsum dolor. {{cite web}}: |access-date= requires |url= (help); |archive-url= requires |archive-date= (help); |archive-url= requires |url= (help); Missing or empty |url= (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Script error: The function "main" does not exist.
Blank parameters
{{cite web| url = http://www1.astrazeneca-us.com/pi/casodex.pdf/| format = PDF| title = Casodex product insert| authorlink =| coauthors =| date = 2006-03-01| format =| work =| publisher = www1.astrazeneca-us.com| pages =| language =| archiveurl =| archivedate =| quote =| accessdate = 2008-12-27}}
"Casodex product insert". www1.astrazeneca-us.com. 2006-03-01. Retrieved 2008-12-27. {{cite web}}: Cite has empty unknown parameter: |coauthors= (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Script error: The function "main" does not exist.

Format comparison with other Cite templates

កែប្រែ

This section is to compare the format of Cite web with other cite templates. An exact match is not expected or desired, but the outputs should have a somewhat harmonized style.

Typical call with author and coauthor information
  • {{cite web |last=Doe |first=John |last2=Roe |first2=Richard |date=30 April 2005 |title=My favorite things part II |url=http://www.example.org/ |format=PDF |work=Encyclopedia of things |publisher=Open Publishing |pages=20–25 |accessdate=6 July 2005 }}

    Doe, John; Roe, Richard (30 April 2005). "My favorite things part II" (PDF). Encyclopedia of things. Open Publishing. pp. 20–25. Retrieved 6 July 2005. {{cite web}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
    Script error: The function "main" does not exist.
    Doe, John; Roe, Richard (30 April 2005). "My favorite things part II" (PDF). Encyclopedia of things. Open Publishing. pp. 20–25. http://www.example.org/។ បានយកមក 6 July 2005. [{{Cite book}}]
    Doe, John (30 April 2005). "My favorite things part II" (PDF): 20–25. Retrieved on 6 July 2005.[{{Cite journal}}]

    {{Cite book}} does not support the |work= parameter and so in that example, the |work= and |title= parameters shown above were replaced by |chapter=My favorite things part II and |title=Encyclopedia of things.
Typical call with no author information
  • {{cite web |title=My favorite things part II |url=http://www.example.org/ |format=PDF |publisher=Open Publishing |date=30 April 2005 |pages=20–25 |work=Encyclopedia of things |accessdate=6 July 2005 }}

    "My favorite things part II" (PDF). Encyclopedia of things. Open Publishing. 30 April 2005. pp. 20–25. Retrieved 6 July 2005. {{cite web}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
    Script error: The function "main" does not exist.
    "My favorite things part II" (PDF). Encyclopedia of things. Open Publishing. 30 April 2005. pp. 20–25. http://www.example.org/។ បានយកមក 6 July 2005. [{{Cite book}}]
    (30 April 2005)"My favorite things part II" (PDF): 20–25. Retrieved on 6 July 2005.[{{Cite journal}}]

    As above, for {{Cite book}} the |work= and |title= parameters shown above were replaced by |chapter=My favorite things part II and |title=Encyclopedia of things.