Template:Cite web/doc: Difference between revisions

Undid revision 340148663 by SMcCandlish (talk) ISO dates are not deprecated in citations.
imported>SMcCandlish
(ISO dates are deprecated in WP:MOSNUM, {{Cite book}}, etc. See also WP:ENGVAR.)
imported>Eubulides
(Undid revision 340148663 by SMcCandlish (talk) ISO dates are not deprecated in citations.)
Line 10:
=== Common forms with authors in any format ===
 
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 twothree separate date formats that are commonly used in Wikipedia (use whichever format is already used in the article, if any; otherwise use "Month Day, Year" format only in articles written in American English).:
 
;YYYY-MM-DD: <code><nowiki>{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=</nowiki>{{#time: Y-m-d }}<nowiki>}}</nowiki></code>
 
;Day Month Year: <code><nowiki>{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=</nowiki>{{#time: j F Y }}<nowiki>}}</nowiki></code>
Line 19 ⟶ 21:
 
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>{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=</nowiki>{{#time: Y-m-d }}<nowiki>}}</nowiki></code>
 
;Day Month Year: <code><nowiki>{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=</nowiki>{{#time: j F Y }}<nowiki>}}</nowiki></code>
Anonymous user