Skabelon:Cite web/testcases

Standard use casesRediger

Kode Hvad der vises
{{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. Hentet 6 July 2005. 
Kode Hvad der vises
{{cite web/sandkasse
|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. Hentet 6 July 2005. 
Kode Hvad der vises
{{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. Hentet 6 July 2005. 
Kode Hvad der vises
{{cite web/sandkasse
|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}} 
Doe, John (30 April 2005). "My favorite things part II". Encyclopedia of things. Open Publishing. Hentet 6 July 2005. 
Kode Hvad der vises
{{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. Hentet 6 July 2005. 
Kode Hvad der vises
{{cite web/sandkasse
|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}} 
Doe, John (30 April 2005). "My favorite things part II". Encyclopedia of things. Open Publishing. Hentet 6 July 2005. 
Kode Hvad der vises
{{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". Hentet 6 July 2005. 
Kode Hvad der vises
{{cite web/sandkasse
|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}} 
Doe, John (30 April 2005). "My favorite things part II". Hentet 6 July 2005. 
Kode Hvad der vises
{{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. Hentet 6 July 2005. 
Using format and page/pages
Kode Hvad der vises
{{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. s. 3-4. Hentet 6 July 2005. 
Kode Hvad der vises
{{cite web/sandkasse
|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}} 
"List of psychotropic substances under international control" (PDF). International Narcotics Control Board. s. 3-4. Hentet 6 July 2005. 
Foreign language title and translated trans_title
Kode Hvad der vises
{{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" [Shame on those who think evil] (French). Hentet 6 July 2005. 
Kode Hvad der vises
{{cite web/sandkasse
|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}} 
Joliet, François (30 April 2005). "Honni soit qui mal y pense" [Shame on those who think evil] (French). Hentet 6 July 2005. 
Foreign language source as above, with only the translated trans_title available
Kode Hvad der vises
{{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). [Shame on those who think evil] |trans-title= behøver |title= (hjælp) (French). Hentet 6 July 2005. 
Kode Hvad der vises
{{cite web/sandkasse
|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}} 
Joliet, François (30 April 2005). [Shame on those who think evil] |trans-title= behøver |title= (hjælp) (French). Hentet 6 July 2005. 
coauthors
Kode Hvad der vises
{{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; Smith, Peter; Smythe, Jim (30 April 2005). "My favorite things part II". Encyclopedia of things. Open Publishing. Hentet 6 July 2005. 
Kode Hvad der vises
{{cite web/sandkasse
|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}} 
Doe, John; Smith, Peter; Smythe, Jim (30 April 2005). "My favorite things part II". Encyclopedia of things. Open Publishing. Hentet 6 July 2005. 
No author
Kode Hvad der vises
{{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. Hentet 2006-05-16. 
Kode Hvad der vises
{{cite web/sandkasse
|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}} 
"My favorite things part II". Encyclopedia of things. Open Publishing. 30 April 2005. Hentet 2006-05-16. 
No author, no publisher
Kode Hvad der vises
{{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. Hentet 6 July 2005. 
Kode Hvad der vises
{{cite web/sandkasse
|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}} 
"My favorite things part II". Encyclopedia of things. 30 April 2005. Hentet 6 July 2005. 
Kode Hvad der vises
{{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. Hentet 6 July 2005. 
Kode Hvad der vises
{{cite web/sandkasse
|title=My favorite things part II
|date=30 April 2005
|url=http://www.example.org/
|accessdate=6 July 2005|template doc demo=true}}
 
"My favorite things part II". 30 April 2005. Hentet 6 July 2005. 
Kode Hvad der vises
{{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) (Greek). 30 April 2005. Hentet 6 July 2005. 
Kode Hvad der vises
{{cite web/sandkasse
|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}} 
"List of psychotropic substances under international control" (PDF) (Greek). 30 April 2005. Hentet 6 July 2005. 
Using website=
Kode Hvad der vises
{{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. Hentet 2009-11-21. 
Kode Hvad der vises
{{cite web/sandkasse
|title=Han Dynasty
|website=Wikipedia
|publisher=Wikimedia Foundation
|url=http://en.wikipedia.org/wiki/Han_Dynasty
|accessdate=2009-11-21
|template doc demo=true}} 
"Han Dynasty". Wikipedia. Wikimedia Foundation. Hentet 2009-11-21. 
Using website= and work= (work= should be ignored)
Kode Hvad der vises
{{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". Pediawiki. Wikimedia Foundation. Hentet 2009-11-21.  Mere end en |website= og |work= angivet (hjælp)
Kode Hvad der vises
{{cite web/sandkasse
|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}} 
"Han Dynasty". Pediawiki. Wikimedia Foundation. Hentet 2009-11-21.  Mere end en |website= og |work= angivet (hjælp)
Using website= when no title= supplied
Kode Hvad der vises
{{cite web
|website=Wikipedia
|publisher=Wikimedia Foundation
|url=http://en.wikipedia.org/
|accessdate=2009-11-21
}} 
Wikipedia. Wikimedia Foundation http://en.wikipedia.org/. Hentet 2009-11-21.  Manglende eller tom |title= (hjælp)
Kode Hvad der vises
{{cite web/sandkasse
|website=Wikipedia
|publisher=Wikimedia Foundation
|url=http://en.wikipedia.org/
|accessdate=2009-11-21
|template doc demo=true}} 
Wikipedia. Wikimedia Foundation http://en.wikipedia.org/. Hentet 2009-11-21.  Manglende eller tom |title= (hjælp)
Using quote
Kode Hvad der vises
{{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. Hentet 6 July 2005. Lorem ipsum dolor. 
Kode Hvad der vises
{{cite web/sandkasse
|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}} 
"My favorite things part II". Encyclopedia of things. Hentet 6 July 2005. Lorem ipsum dolor. 

Archive parameter usageRediger

Using |archiveurl= and |archivedate= for webpages that have been archived
  • {{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. Arkiveret fra originalen 26 April 2006. 
    "Interview with Maggie Downs". The Desert Sun. 31 March 2006. Arkiveret fra originalen 26 April 2006. 
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. Arkiveret fra originalen 26 April 2006. 
    "Interview with Maggie Downs". The Desert Sun. 31 March 2006. Arkiveret fra originalen 26 April 2006. 
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. Arkiveret fra originalen 26 April 2006.  Ugyldig |deadurl=who knows? (hjælp)
    "Interview with Maggie Downs". The Desert Sun. 31 March 2006. Arkiveret fra originalen 26 April 2006.  Ugyldig |deadurl=who knows? (hjælp)
Specifying |dead=yes without archival parameters

Errors and blank parametersRediger

Format comparison with other Cite templatesRediger

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 styleauthor 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. s. 20-25. Hentet 6 July 2005. 
    Doe, John; Roe, Richard (30 April 2005). "My favorite things part II" (PDF). Encyclopedia of things. Open Publishing. s. 20-25. Hentet 6 July 2005. 
    Doe, John; Roe, Richard (30 April 2005). "My favorite things part II". Encyclopedia of things (PDF). Open Publishing. s. 20-25. Hentet 6 July 2005. [{{Cite book}}]
    Doe, John; Roe, Richard (30 April 2005). "My favorite things part II" (PDF). Encyclopedia of things. Open Publishing: 20-25. Hentet 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. s. 20-25. Hentet 6 July 2005. 
    "My favorite things part II" (PDF). Encyclopedia of things. Open Publishing. 30 April 2005. s. 20-25. Hentet 6 July 2005. 
    "My favorite things part II". Encyclopedia of things (PDF). Open Publishing. 30 April 2005. s. 20-25. Hentet 6 July 2005. [{{Cite book}}]
    "My favorite things part II" (PDF). Encyclopedia of things. Open Publishing: 20-25. 30 April 2005. Hentet 6 July 2005. [{{Cite journal}}]

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