Template:Cite web/doc: Difference between revisions

ISO dates are deprecated in WP:MOSNUM, {{Cite book}}, etc. See also WP:ENGVAR.
imported>AnmaFinotera
(Undid revision 339820021 by Reywas92 (talk) while I agree, general consensus seems to be to have both on all these templates)
imported>SMcCandlish
(ISO dates are deprecated in WP:MOSNUM, {{Cite book}}, etc. See also WP:ENGVAR.)
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 three separatetwo 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 21 ⟶ 19:
 
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