Wikipedia:Template index/Sources of articles/Citation quick reference: Difference between revisions

Content deleted Content added
Hyphenating parameters per July 2014 RFC. Also removing redundant and unsupported parameters.
PBS (talk | contribs)
attempt to revert the change made by Trappist the monk
Line 26:
| others =
| title = <!-- required -->
| origdate =
| orig-year =
| origmonth =
| url =
| format =
Line 32 ⟶ 34:
| edition =
| date =
| year =
| month =
| publisher =
| ___location =
Line 71 ⟶ 75:
| last = Elford
| author-link =
| datecoauthors = 1974
| year = 1974
| month =
| date =
| title = The Icelanders - Their Ontario Year
| quote =
Line 88 ⟶ 95:
{{Cite journal
| author =
| dateyear =
| month =
| date =
| title = <!-- required -->
| journal =
Line 111 ⟶ 120:
| author-link =
| author =
| coauthors =
| title =
| url =
Line 128 ⟶ 138:
** '''last''' works with '''first''' to produce <code>last, first</code>
** '''author-link''' works either with '''author''' or with '''last''' & '''first''' to link to the appropriate wikipedia article. Does not work with URLs.
** '''coauthors''': allows additional authors
* '''url''': Link to the news item if available online
** '''format''': Format, i.e. PDF. Don't specify for HTML (implied as default).
Line 154 ⟶ 165:
| first =
| author-link =
| coauthors =
| date =
| year =
| month =
| work =
| publisher =
Line 168 ⟶ 182:
 
;Common form for cases where little is known about authorship of the page
<tt><nowiki>{{Cite web |url= |title= |access-date= |format= |work= }}</nowiki></tt>
 
;Using author
<tt><nowiki>{{Cite web |url= |title= |access-date= |author= |author-link= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archive-url= |archive-date= |quote= }}</nowiki></tt>
 
;Using last, first
<tt><nowiki>{{Cite web |url= |title= |access-date= |last= |first= |author-link= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archive-url= |archive-date= |quote= }}</nowiki></tt>
 
The most common parameters are as follows. See also the complete documentation in [[Template:Cite web]].
Line 180 ⟶ 194:
* '''title''' (required): Title of online item.
* '''access-date''' in same format as dates in body of article.
* either '''author''', or '''last''' and '''first''' to produce <code>last, first</code>. Don't wikilink these; instead use '''author-link''' to link to the appropriate wikipedia article. Does not work with URLs. More authors can be added as author2 author3 etc. as can first, last pairs of parameters.
 
* '''date''': Full date of publication, in same format as main text of article. Or, use '''year''', and optionally '''month'''. If you also have the day, use ''date'' instead. (optional)
* '''archive-url''': URL of the archive ___location of the item, and '''archive-date''': Date when the item was archived, in same format as main text of the article.