Template:Cite web/doc: Difference between revisions

Undid revision 316987628 by Eubulides (talk)
imported>Eubulides
(→‎Common forms with authors in any format: Simplify the first (simple) format.)
imported>Eubulides
(Undid revision 316987628 by Eubulides (talk))
Line 8:
'''''Note''''': None of the parameters should be capitalised, in order to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc. - not "URL", "Title", etc.
 
=== Common forms withusing authorsauthor, in any formatcoauthors ===
 
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 orauthor moreis authorslisted areas listedpart inof a single {{para|author|<var>authorsLast, First</var>}} parameter, usingalong anywith format{{para|coauthors|<var>Last, First; Last, First ...</var>}} allowing for additional authors. Also shown below are three separate date formats that are commonly used in Wikipedia:
 
;YYYY-MM-DD: <code><nowiki>{{cite web |author= |coauthors= |title= |url= |work= |publisher= |date= |accessdate=</nowiki>{{#time: Y-m-d }}<nowiki>}}</nowiki></code>
 
;Day Month Year: <code><nowiki>{{cite web |author= |coauthors= |title= |url= |work= |publisher= |date= |accessdate=</nowiki>{{#time: j F Y }}<nowiki>}}</nowiki></code>
 
;Month Day, Year: <code><nowiki>{{cite web |author= |coauthors= |title= |url= |work= |publisher= |date= |accessdate=</nowiki>{{#time: F j, Y }}<nowiki>}}</nowiki></code>
 
=== Common forms withusing last1, first1; last2, first2 ===
 
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:
Anonymous user