Template:Cite web/doc: Difference between revisions

Restore Cite web with capital. That is the name of the template, and what it should be. Common or not is another matter. We are giving the official documenttation here. Not how to do it wrong.
imported>Eubulides
(→‎Common forms with last1, first1; last2, first2: Use same order here as in other uses.)
imported>Debresser
(Restore Cite web with capital. That is the name of the template, and what it should be. Common or not is another matter. We are giving the official documenttation here. Not how to do it wrong.)
Line 12:
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single {{para|author|<var>authors</var>}} parameter, using any format. Also shown below are three separate date formats that are commonly used in Wikipedia:
 
;YYYY-MM-DD: <code><nowiki>{{citeCite web |url= |title= |author= |date= |work= |publisher= |accessdate=</nowiki>{{#time: Y-m-d }}<nowiki> }}</nowiki></code>
 
;Day Month Year: <code><nowiki>{{citeCite web |url= |title= |author= |date= |work= |publisher= |accessdate=</nowiki>{{#time: j F Y }}<nowiki> }}</nowiki></code>
 
;Month Day, Year: <code><nowiki>{{citeCite web |url= |title= |author= |date= |work= |publisher= |accessdate=</nowiki>{{#time: F j, Y }}<nowiki> }}</nowiki></code>
 
=== Common forms with last1, first1; last2, first2 ===
Line 22:
The examples below will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
 
;YYYY-MM-DD: <code><nowiki>{{citeCite web |last1= |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=</nowiki>{{#time: Y-m-d }}<nowiki> }}</nowiki></code>
 
;Day Month Year: <code><nowiki>{{citeCite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=</nowiki>{{#time: j F Y }}<nowiki> }}</nowiki></code>
 
;Month Day, Year: <code><nowiki>{{citeCite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=</nowiki>{{#time: F j, Y }}<nowiki> }}</nowiki></code>
 
=== All parameters ===
Line 32:
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
 
;All parameters, horizontal layout: <code><nowiki>{{citeCite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |work= |publisher= |location= |page= |pages= |language= |trans_title= |format= |doi= |date= |month= |year= |archiveurl= |archivedate= |accessdate= |quote= |ref= |separator= |postscript= }}</nowiki></code>
 
;All parameters, vertical layout:
<pre>
{{citeCite web
| url =
| title =
Line 105:
 
;Some standard use cases
*<code><nowiki>{{citeCite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
Line 113:
|work=Encyclopedia of Things
|accessdate=6 July 2005
}}</nowiki></code><br/>→ <span style="background:white">{{citeCite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
Line 123:
}}</span>
 
*<code><nowiki>{{citeCite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
Line 130:
|work=Encyclopedia of things
|accessdate=6 July 2005
}}</nowiki></code><br/>→ <span style="background:white">{{citeCite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
Line 139:
}}</span>
 
*<code><nowiki>{{citeCite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
Line 145:
|date=30 April 2005
|accessdate=6 July 2005
}}</nowiki></code><br/>→ <span style="background:white">{{citeCite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
Line 153:
}}</span>
 
*<code><nowiki>{{citeCite web
||url=http://www.example.org/
|title=My Favorite Things, Part II
author=Doe, John
|accessdate=6 July 2005
}}</nowiki></code><br/>→ <span style="background:white">{{citeCite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
Line 165:
}}</span>
 
*<code><nowiki>{{citeCite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
|accessdate=6 July 2005
}}</nowiki></code><br/>→ <span style="background:white">{{citeCite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
Line 175:
}}</span>
 
*<code><nowiki>{{citeCite web
|url=http://www.nfl.com/rulebook/digestofrules
|title=Digest of Rules
|publisher=National Football League
|accessdate=6 July 2005
}}</nowiki></code><br>→ <span style="background:white">{{citeCite web
|url=http://www.nfl.com/rulebook/digestofrules
|title=Digest of Rules
Line 188:
 
;Using format
*<code><nowiki>{{citeCite web
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
Line 194:
|format=PDF
|accessdate=July 6, 2005
}}</nowiki></code><br/> → <span style="background:white">{{citeCite web
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
Line 203:
 
;Foreign language and translated title
*<code><nowiki>{{citeCite web
|url=http://www.example.org/
|title=Honni soit qui mal y pense
Line 211:
|language=French
|trans_title=Shame on those who think evil
}}</nowiki></code><br/>→ <span style="background:white">{{citeCite web
|url=http://www.example.org/
|title=Honni soit qui mal y pense
Line 222:
 
;coauthors
*<code><nowiki>{{citeCite web
|url=http://www.example.org/
|title=Our Favorite Things
Line 232:
|work=Encyclopedia of Things
|accessdate=16 May 2006
}}</nowiki></code><br/>→ <span style="background:white">{{citeCite web
|url=http://www.example.org/
|title=Our Favorite Things
Line 244:
}}</span>
 
*<code><nowiki>{{citeCite web
|url=http://www.example.org/
|title=Our Favorite Things
Line 254:
|work=Encyclopedia of Things
|accessdate=16 May 2006
}}</nowiki></code><br/>→ <span style="background:white">{{citeCite web
|url=http://www.example.org/
|title=Our Favorite Things
Line 267:
 
;No author
*<code><nowiki>{{citeCite web
|url=http://www.example.org/
|title=Index of Sharp Things
Line 274:
|work=Encyclopedia of Things
|accessdate=16 May 2006
}}</nowiki></code><br/>→ <span style="background:white">{{citeCite web
|url=http://www.example.org/
|title=Index of Sharp Things
Line 285:
;No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
*<code><nowiki>{{citeCite web
|url=http://www.example.org/
|title=Index of Sharp Things
Line 291:
|work=Encyclopedia of Things
|accessdate=6 July 2005
}}</nowiki></code></br>→ <span style="background:white">{{citeCite web
|url=http://www.example.org/
|title=Index of Sharp Things
Line 299:
}}</span>
 
*<code><nowiki>{{citeCite web
|url=http://www.example.org/
|title=Index of Sharp Things
|date=30 April 2005
|accessdate=6 July 2005}}</nowiki></code><br/>→ <span style="background:white">{{citeCite web
|url=http://www.example.org/
|title=Index of Sharp Things
Line 309:
|accessdate=6 July 2005}}</span>
 
*<code><nowiki>{{citeCite web
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
Line 316:
|accessdate=July 6, 2005
|language=Greek
}}</nowiki></code><br/> → <span style="background:white">{{citeCite web
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
Line 326:
 
;Using "archiveurl" and "archivedate" for webpages that have been archived
*<code><nowiki>{{citeCite web
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
Line 334:
|archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf
|archivedate=2005-09-11
}}</nowiki></code><br/> → <span style="background:white">{{citeCite web
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
Line 344:
}}</span>
 
*<code><nowiki>{{citeCite web
|url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm
|title=Interview with Maggie Downs
Line 351:
|archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm
|archivedate=2006-04-26
}}</nowiki></code><br/> → <span style="background:white">{{citeCite web
|url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm
|title=Interview with Maggie Downs
Line 361:
 
;Using "quote"
*<code><nowiki>{{citeCite web
|url=http://www.webexhibits.org/daylightsaving/c.html
|title=Daylight saving time: rationale and original idea
Line 368:
|accessdate=2009-09-27
|quote=...&amp;nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&amp;nbsp;...'
}}</nowiki></code><br/>→ <span style="background:white">{{citeCite web
|url=http://www.webexhibits.org/daylightsaving/c.html
|title=Daylight saving time: rationale and original idea
Anonymous user