Template:Cite web/doc: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
imported>Nmajdan
m (→‎All parameters: move archivedate & archiveurl next to each other)
imported>Eubulides
(Be more consistent about order of parameters in skeletons.)
Line 12: 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:
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>{{cite web |author= |title= |url= |work= |publisher= |date= |accessdate=</nowiki>{{#time: Y-m-d }}<nowiki>}}</nowiki></code>
;YYYY-MM-DD: <code><nowiki>{{cite web |author= |date= |title= |work= |publisher= |url= |accessdate=</nowiki>{{#time: Y-m-d }}<nowiki> }}</nowiki></code>


;Day Month Year: <code><nowiki>{{cite web |author= |title= |url= |work= |publisher= |date= |accessdate=</nowiki>{{#time: j F Y }}<nowiki>}}</nowiki></code>
;Day Month Year: <code><nowiki>{{cite web |author= |date= |title= |work= |publisher= |url= |accessdate=</nowiki>{{#time: j F Y }}<nowiki> }}</nowiki></code>


;Month Day, Year: <code><nowiki>{{cite web |author= |title= |url= |work= |publisher= |date= |accessdate=</nowiki>{{#time: F j, Y }}<nowiki>}}</nowiki></code>
;Month Day, Year: <code><nowiki>{{cite web |author= |date= |title= |work= |publisher= |url= |accessdate=</nowiki>{{#time: F j, Y }}<nowiki> }}</nowiki></code>


=== Common forms with last1, first1; last2, first2 ===
=== Common forms with last1, first1; last2, first2 ===
Line 22: 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:
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 |last1= |first1= |last2= |first2= |title= |url= |work= |publisher= |date= |accessdate=</nowiki>{{#time: Y-m-d }}<nowiki>}}</nowiki></code>
;YYYY-MM-DD: <code><nowiki>{{cite web |last1= |first1= |last2= |first2= |date= |title= |work= |publisher= |url= |accessdate=</nowiki>{{#time: Y-m-d }}<nowiki> }}</nowiki></code>


;Day Month Year: <code><nowiki>{{cite web |last1= |first1= |last2= |first2= |title= |url= |work= |publisher= |date= |accessdate=</nowiki>{{#time: j F Y }}<nowiki>}}</nowiki></code>
;Day Month Year: <code><nowiki>{{cite web |last1= |first1= |last2= |first2= |date= |title= |work= |publisher= |url= |accessdate=</nowiki>{{#time: j F Y }}<nowiki> }}</nowiki></code>


;Month Day, Year: <code><nowiki>{{cite web |last1= |first1= |last2= |first2= |title= |url= |work= |publisher= |date= |accessdate=</nowiki>{{#time: F j, Y }}<nowiki>}}</nowiki></code>
;Month Day, Year: <code><nowiki>{{cite web |last1= |first1= |last2= |first2= |date= |title= |work= |publisher= |url= |accessdate=</nowiki>{{#time: F j, Y }}<nowiki> }}</nowiki></code>


=== All parameters ===
=== All parameters ===
Line 42: Line 42:
| authorlink =
| authorlink =
| coauthors =
| coauthors =
| date =
| month =
| year =
| title =
| title =
| url =
| work =
| work =
| publisher =
| publisher =
Line 53: Line 55:
| format =
| format =
| doi =
| doi =
| date =
| url =
| month =
| year =
| archivedate =
| archiveurl =
| accessdate =
| accessdate =
| archiveurl =
| archivedate =
| quote =
| quote =
| ref =
| ref =