13,208
edits
mNo edit summary |
(Parameter usage + Adding pre-filled dates to the copyable examples + Some more) |
||
Line 73: | Line 73: | ||
== Usage == | == Usage == | ||
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 <tt><nowiki>|author=authors</nowiki></tt> parameter, using any format. Also shown below are two separate date formats that are commonly used: | === Copyable examples with pre-filled accessdate === | ||
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 <tt><nowiki>|author=authors</nowiki></tt> parameter, using any format. Also shown below are two separate date formats that are commonly used: | |||
; | ;Day Month Year | ||
<code><nowiki>{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate= | <code><nowiki>{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code> | ||
; | ;Month Day, Year | ||
<code><nowiki>{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate= | <code><nowiki>{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}<nowiki>}}</nowiki></code> | ||
=== | ;Day Month Year, all parameters | ||
<code><nowiki>{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |page= |pages= |language= |format= |id= |archiveurl= |archivedate= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>|quote= }}</nowiki></code> | |||
;Month Day, Year, all parameters | |||
<code><nowiki>{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |page= |pages= |language= |format= |id= |archiveurl= |archivedate= |accessdate=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}<nowiki>|quote= }}</nowiki></code> | |||
<code><nowiki>{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |page= |pages= |language= |format= |id= |archiveurl= |archivedate= |accessdate= |quote= }}</nowiki></code> | === Paramenters === | ||
<code style="whitespace: pre-wrap;"><nowiki>{{</nowiki>'''cite web''' <nowiki>|</nowiki>url= <nowiki>|</nowiki>title= <nowiki>|</nowiki>''first''= <nowiki>|</nowiki>''last''= <nowiki>|</nowiki>''author''= <nowiki>|</nowiki>''authorlink''= <nowiki>|</nowiki>''coauthors''= <nowiki>|</nowiki>''date''= <nowiki>|</nowiki>''month''= <nowiki>|</nowiki>''year''= <nowiki>|</nowiki>''work''= <nowiki>|</nowiki>''publisher''= <nowiki>|</nowiki>''page''= <nowiki>|</nowiki>''pages''= <nowiki>|</nowiki>''language''= <nowiki>|</nowiki>''format''= <nowiki>|</nowiki>''id''= <nowiki>|</nowiki>''archiveurl''= <nowiki>|</nowiki>''archivedate''= <nowiki>|</nowiki>''accessdate''=<nowiki>|</nowiki>''quote''= <nowiki>}}</nowiki></code> | |||
The only mandatory parameters are '''url''' and '''title'''. If '''archiveurl''' and '''archivedate''' are used, both of of them or neither must be used. | |||
;url: URL of the resource. | |||
;title: Title of the resource. | |||
;first: First name of the single author. Not needed if '''author''' is used instead. | |||
;last: Last name of the single author. Not needed if '''author''' is used instead. | |||
;author: Name of the author(s), not needed to use if the resource have only one author and '''first''' and '''last''' are used instead. | |||
;authorlink: Link to authors home page, user page or profile. | |||
;coauthors: FIXME (unknown usage) | |||
;date: Date of resource. Could be a full date or a partial date like month and year. | |||
;month: The month the resource was published. Not needed if date is used. | |||
;year: The year the resource was published. Not needed if date is used. | |||
;work: See '''url'''. | |||
;publisher: The publisher of the resource. May include a link. | |||
;page: The page in the resource (online book, catalogue etc.) that is relevant. Use '''pages''' if more than one page. | |||
;pages: The numbered pages in the resource that is relevant. Separate ranges with en dash <nowiki>–</nowiki> (&ndash;) and non sequaential pages with comma (,). | |||
;language: The language of the resource if it is not English or the language of a translated page. | |||
;format: Format of the resource, for example pdf, doc or djvu. | |||
;id: FIXME (unknown usage) | |||
;archiveurl: Link to an archived copy of a web page. Both of '''archiveurl''' and '''archivedate''' or neither must be used. | |||
;archivedate: Date when original URL was archived. | |||
;accessdate: The date the resource was found and added this page, or date it was updated. For example '''date={{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}''', or '''date={{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}'''. | |||
;quote: A quote from the resource. | |||
}} | }} |