Template:Cite web/doc: Difference between revisions

→‎Optional parameters: adding lastn, firstn and authorlinkn parameters
imported>Rjwilmsi
m (→‎Optional parameters: for work parameter: +Do not italicize; the software will do so automatically. per cite news)
imported>Svick
(→‎Optional parameters: adding lastn, firstn and authorlinkn parameters)
Line 74:
==== Optional parameters ====
 
*''' author''': Authorparameters
** '''author
**'''last''' works with '''first''' to produce <code>last, first</code>
** '''authorlinklast''' works either with '''authorfirst''' orto withproduce '''<code>last''', & '''first''' to link to the appropriate wikipedia article. Does not work with URLs.</code>
** '''authorlink''' works either with '''author''' or with '''last''' & '''first''' to link to the appropriate wikipedia article. Does not work with URLs.
**'''coauthors''': allows additional authors
** '''last1''', '''first1''', ..., '''last9''', '''first9''' and optionally '''auhorlink1''', ..., '''authorlink9''' for specifying more authors
* a date parameter:
** '''coauthors''': allowsalternate way of specifying additional authors
* a date parameter:
** ''either'' '''date''': Full date of publication. Should not be wikilinked.
** ''or'' '''year''': Year of publication, and '''month''': Name of the month of publication. If you also have the day, use '''date''' instead. Should not be wikilinked.
Line 85 ⟶ 87:
*'''publisher''': Publisher, if any—for example if the website is hosted by a government service, educational institution, or company. (The '''publisher''' is not usually the name of the website (that is usually the '''work''').
**'''location''': Geographical place of publication.
* a page parameter:
** ''either'' '''page''': Page number if a multi-page web article and referencing a single page. "page=5" produces ''p. 5.''
** ''or'' '''pages''': Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces ''pp. 5–7''. This is for listing the pages relevant to the citation, not a total number of pages.<!-- Commented out: Not implemented in the template! This is especially useful for [[PDF]] format, where the page can be linked to with the <code>#page=''number''</code> anchor tagged on the end of the URL:
Anonymous user