From Wikipedia, the free encyclopedia
[edit] Standard use cases
- {{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. 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.
- {{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 and page/pages
- Foreign language title and translated trans_title
- Foreign language source as above, with only the translated trans_title available
- 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
[edit] 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.
}}
|
"Error: no |title= specified when using {{cite web}}". Encyclopedia of things. http://www.example.org/. Retrieved on 6 July 2005. "Lorem ipsum dolor."
|
"Error: no |title= specified when using {{cite web}}". Encyclopedia of things. http://www.example.org/. Retrieved on 6 July 2005. "Lorem ipsum dolor."
|
| HTML code |
<cite style="font-style:normal" class="web"
>"[http://www.example.org/ <span class="error">Error: no <tt>|title=</tt> specified when using {{[[Template:cite web|cite web]]}}</span>]". ''<span>Encyclopedia of things</span>''<span class="printonly">. http://www.example.org/</span><span class="reference-accessdate">. Retrieved on 6 July 2005</span>.  "Lorem ipsum dolor."</cite><span
class="Z3988"
title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.btitle=%3Cspan+class%3D%22error%22%3EError%3A+no+%3Ctt%3E%7FUNIQ3160013b2bb02788-nowiki-00000011-QINU%7Ftitle%7FUNIQ3160013b2bb02788-nowiki-00000012-QINU%7F%3C%2Ftt%3E+specified+when+using+%7B%7B%5B%5BTemplate%3Acite+web%7Ccite+web%5D%5D%7D%7D%3C%2Fspan%3E&rft.atitle=Encyclopedia+of+things&rft_id=http%3A%2F%2Fwww.example.org%2F&rfr_id=info:sid/en.wikipedia.org:Template:Cite_web/testcases"><span style="display: none;"> </span></span>
<cite style="font-style:normal" class="web"
>"[http://www.example.org/ <span class="error">Error: no <tt>|title=</tt> specified when using {{[[Template:cite web|cite web]]}}</span>]". ''<span>Encyclopedia of things</span>''<span class="printonly">. http://www.example.org/</span><span class="reference-accessdate">. Retrieved on 6 July 2005</span>.  "Lorem ipsum dolor."</cite><span
class="Z3988"
title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.btitle=%3Cspan+class%3D%22error%22%3EError%3A+no+%3Ctt%3E%7FUNIQ3160013b2bb02788-nowiki-00000013-QINU%7Ftitle%7FUNIQ3160013b2bb02788-nowiki-00000014-QINU%7F%3C%2Ftt%3E+specified+when+using+%7B%7B%5B%5BTemplate%3Acite+web%7Ccite+web%5D%5D%7D%7D%3C%2Fspan%3E&rft.atitle=Encyclopedia+of+things&rft_id=http%3A%2F%2Fwww.example.org%2F&rfr_id=info:sid/en.wikipedia.org:Template:Cite_web/testcases"><span style="display: none;"> </span></span>
|
|
| Omitting url in error |
{{cite web
|work=Encyclopedia of things
|title=My favorite things part II
|accessdate=6 July 2005
|quote=Lorem ipsum dolor.
}}
|
Encyclopedia of things. "Lorem ipsum dolor."
|
Encyclopedia of things. "Lorem ipsum dolor."
|
| HTML code |
<cite style="font-style:normal" class="web"
> ''<span>Encyclopedia of things</span>''.  "Lorem ipsum dolor."</cite><span
class="Z3988"
title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=Encyclopedia+of+things&rfr_id=info:sid/en.wikipedia.org:Template:Cite_web/testcases"><span style="display: none;"> </span></span>
<cite style="font-style:normal" class="web"
> ''<span>Encyclopedia of things</span>''.  "Lorem ipsum dolor."</cite><span
class="Z3988"
title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=Encyclopedia+of+things&rfr_id=info:sid/en.wikipedia.org:Template:Cite_web/testcases"><span style="display: none;"> </span></span>
|
|
| 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.
}}
|
Encyclopedia of things. http://archive.url. Retrieved on 6 July 2005. "Lorem ipsum dolor."
|
Encyclopedia of things. http://archive.url. Retrieved on 6 July 2005. "Lorem ipsum dolor."
|
| HTML code |
<cite style="font-style:normal" class="web"
> ''<span>Encyclopedia of things</span>''<span class="printonly">. http://archive.url</span><span class="reference-accessdate">. Retrieved on 6 July 2005</span>.  "Lorem ipsum dolor."</cite><span
class="Z3988"
title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=Encyclopedia+of+things&rft_id=http%3A%2F%2Farchive.url&rfr_id=info:sid/en.wikipedia.org:Template:Cite_web/testcases"><span style="display: none;"> </span></span>
<cite style="font-style:normal" class="web"
> ''<span>Encyclopedia of things</span>''<span class="printonly">. http://archive.url</span><span class="reference-accessdate">. Retrieved on 6 July 2005</span>.  "Lorem ipsum dolor."</cite><span
class="Z3988"
title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=Encyclopedia+of+things&rft_id=http%3A%2F%2Farchive.url&rfr_id=info:sid/en.wikipedia.org:Template:Cite_web/testcases"><span style="display: none;"> </span></span>
|
|
| Blank parameters |
{{cite web | url = http://www1.astrazeneca-us.com/pi/casodex.pdf/ | format = PDF | title = Casodex product insert | author = | 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. http://www1.astrazeneca-us.com/pi/casodex.pdf/. Retrieved on 2008-12-27.
|
"Casodex product insert". www1.astrazeneca-us.com. 2006-03-01. http://www1.astrazeneca-us.com/pi/casodex.pdf/. Retrieved on 2008-12-27.
|
| HTML code |
<cite style="font-style:normal" class="web"
>"[http://www1.astrazeneca-us.com/pi/casodex.pdf/ Casodex product insert]". www1.astrazeneca-us.com. 2006-03-01<span class="printonly">. http://www1.astrazeneca-us.com/pi/casodex.pdf/</span><span class="reference-accessdate">. Retrieved on 2008-12-27</span>.</cite><span
class="Z3988"
title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.btitle=Casodex+product+insert&rft.atitle=&rft.date=2006-03-01&rft.pub=www1.astrazeneca-us.com&rft_id=http%3A%2F%2Fwww1.astrazeneca-us.com%2Fpi%2Fcasodex.pdf%2F&rfr_id=info:sid/en.wikipedia.org:Template:Cite_web/testcases"><span style="display: none;"> </span></span>
<cite style="font-style:normal" class="web"
>"[http://www1.astrazeneca-us.com/pi/casodex.pdf/ Casodex product insert]". www1.astrazeneca-us.com. 2006-03-01<span class="printonly">. http://www1.astrazeneca-us.com/pi/casodex.pdf/</span><span class="reference-accessdate">. Retrieved on 2008-12-27</span>.</cite><span
class="Z3988"
title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.btitle=Casodex+product+insert&rft.atitle=&rft.date=2006-03-01&rft.pub=www1.astrazeneca-us.com&rft_id=http%3A%2F%2Fwww1.astrazeneca-us.com%2Fpi%2Fcasodex.pdf%2F&rfr_id=info:sid/en.wikipedia.org:Template:Cite_web/testcases"><span style="display: none;"> </span></span>
|
|
[edit] 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