Template:Cite web/testcases

From Dodge Wiki
Jump to navigation Jump to search

Standard use cases

  • {{cite web |author=Doe, John |title=My favorite things part II |publisher=Open Publishing |year=2005 |month=April |day=30 |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. http://www.example.org/. Retrieved on 6 July 2005. 
    Doe, John (30 April 2005). "My favorite things part II". Encyclopedia of things. Open Publishing. http://www.example.org/. Retrieved on 6 July 2005. 
Using format
language
coauthors
  • {{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. http://www.example.org/. Retrieved on 6 July 2005. 
    Doe, John; Smith, Peter; Smythe, Jim (30 April 2005). "My favorite things part II". Encyclopedia of things. Open Publishing. http://www.example.org/. Retrieved on 6 July 2005. 
No author
No author, no publisher
Using archiveurl and archivedate for webpages that have been archived
Using quote

Errors and blank parameters

Omitting the title in error
Omitting url in error
  • {{cite web |work=Encyclopedia of things |title=My favorite things part II |accessdate=6 July 2005 |quote=Lorem ipsum dolor. }}
    "You must specify |url= when using {{cite web}}". Encyclopedia of things. "Lorem ipsum dolor." 
    "You must specify |url= when using {{cite web}}". Encyclopedia of things. "Lorem ipsum dolor." 
Blank parameters
  • [url "title"]. url. 
  • [url "title"]. url. 

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
Typical call with no author information