Template:Citation Style documentation: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
imported>Gadget850
(ce)
m (85 revisions imported)
 
(79 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{#switch: {{{1|}}}
<includeonly>{{Citation Style documentation/{{{1|}}}
|aliases={{{aliases|}}}
|author=
|aliases2={{{aliases2|}}}
* '''last''': Surname of author. Do not wikilink— use '''authorlink''' instead.
|began={{{began|}}}
** '''first''': Given or first names) of author, including title(s)— e.g. ''Firstname Middlename'' or ''Firstname M.'' or ''Dr. Firstname M., Sr.''. Do not wikilink— use '''authorlink''' instead.
|contributor={{{contributor|}}}
***The '''last''' and '''first''' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use '''last''' to include the same format as the source to handle these cases.
|cs2={{{cs2|}}}
** '''authorlink''': Title of Wikipedia article about the author— not the author's website. Article should already exist. Must not be wikilinked itself. Must be used with '''author''' or '''first''' and '''last'''.
|date2={{{date2|}}}
*OR: for multiple authors, use the parameters '''first1''', '''last1''' ... '''first''n'', last''n''''' to correctly record all the information about the book (the first nine authors are printed, then "et al." is appended if even more authors were specified). Do not wikilink as there are corresponding '''authorlink1''' ... '''authorlink9''' parameters as well. This usage is preferred to the use of '''coauthors'''.
|department={{{department|}}}
*OR: '''author''': (deprecated) Full name of author, preferably surname first. Do not wikilink— use '''authorlink''' instead.
|issue={{{issue|}}}
** '''coauthors''': (deprecated) Full name of additional author or authors— e.g. ''Joe Bloggs, John F. Kennedy, H. R. Dent''. Use the same name order as the author fields.
|journal={{{journal|}}}
|editor=
|limited_param_list={{{limited_param_list|}}}
* '''editor''': Name of editor(s). Do not Wikilink any values in the editor value but use '''editor-link''' instead. If '''chapter''' is not specified, then "ed." displays the editor's name(s). If '''chapter''' is specified, then "In" shows before the editor's name(s). This implies that the author is responsible only for part of the book (including the cited chapter) and the editor responsible for the whole book. If, however, the author(s) and editor(s) are responsible for the whole book, then the '''editor''' parameter or its alternates described below should not be used if the '''chapter''' parameter is being used. Instead, the editor(s) should be included in an '''author''' parameter with possibly "(ed.)" after the surname(s). Alternatively, the '''editor''' parameter may be used if the chapter detail is included in the '''title''' parameter instead of using the '''chapter''' parameter.
|link={{{link|}}}
*OR: alternatively '''editor-first''' and '''editor-last''' can be used in the same way as ''first'' and ''last''.
|lua={{{lua|}}}
*OR: for multiple editors up to four in number, use the parameters '''editor1-first''', '''editor1-last''' ... '''editor''n''-first''', '''editor''n''-last''' to correctly record all the information about the book in the same way as '''first''n''''' and '''last''n'''''.
|magazine={{{magazine|}}}
** '''editor-link''' or '''editor1-link''' ... '''editor''n''-link''' is used in the same way as '''authorlink''' or '''authorlink''n'''''.
|map={{{map|}}}
|others=
|media={{{media|}}}
* '''others''': To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
|others={{{others|}}}
|title=
|pmc={{{pmc|}}}
* '''title''': Title of book. Can be wikilinked but only to an existing Wikipedia article. Formatted in italics.
|title_format={{{title_format|}}}
** '''trans_title''': If the book cited is in a foreign language, an English translation of the title can be given here. The template will display this in square brackets after the '''title''' field and it will link to the '''url''' field, if used. Use of the '''language''' parameter is recommended.
|title_title={{{title_title|}}}
|chapter=
|type_default={{{type_default|}}}
* '''chapter''': The chapter of the book, written in full. Formatted in quotations.
|work={{{work|}}}
** '''trans_chapter''': Acts in the same way as '''trans_title'''. The parameter will be displayed in square brackets within the quotation marks which embrace the '''chapter''' field. Use of the '''language''' parameter is recommended.
|web={{{web|}}}
|type=
|2={{{2|}}}
* '''type''': Can be used to provide additional information about the publication type. Appears in parentheses following the title.
|3={{{3|}}}
|edition=
}}</includeonly><noinclude>
* '''edition''': When the publication has more than one edition. E.g.: "2nd", "Revised" etc. Displays " ed." after this field, so {{para|edition|2nd}} produces "2nd ed."
{{documentation}}
|series=
</noinclude>
* '''series''': When the publication is part of a series of publications. Depending on citation style, this might look something like {{para|series|"Animal Welfare" series No. 2}} or {{para|series|No 2 "Animal Welfare" ser.}} or {{para|series|Animal Welfare 2}}. If in doubt, prefer the {{para|series|"Animal Welfare" series No. 2}} style for clarity.
|volume=
* '''volume''': For one publication published in several volumes. This template displays the text in this parameter in bold type after the '''title''' and '''series''' parameters. An alternative is to include the volume information in the '''title''' parameter after the main title.
|issue=
* '''issue''': When the publication is one of a series that is published periodically.
|date=
* '''date''': Full date of publication edition being referenced, in the same format as other dates in citations in the same article. Must not be wikilinked. Use only the full date including month, day and year.
*OR: '''year''': Year of publication edition being referenced.
** '''month''': Name of the month of publication. If you also have the day, use '''date''' instead. Must not be wikilinked.
** '''origyear''': Original publication year, for display alongside the date or year. For clarity, please supply specifics, for instance {{para|origyear|First published 1859}} or {{para|origyear|Composed 1904}}. This field only displays if there is a value for '''year''' or '''date'''.
|publisher=
* '''publisher''': Name of publisher; do not include corporate designation such as "Ltd" or "Inc".
** '''location''': Geographical place of publication.
|language=
* '''language''': The language the book is written in, if it is not English. Formatted in parentheses with "in" before the language name. Use the full language name and do not use icons or templates.
|pages=
* '''page''': Page in the source that supports the content.
* '''pages''': Pages in the source that supports the content; separate page ranges with an en dash (–); separate non-sequential pages with a comma. Do not use this parameter to indicate the total number of pages in the source.
* '''at''': For sources where a page number is inappropriate or insufficient; overridden by {{para|page}} or {{para|pages}}.
** Examples: page (p.) or pages (pp.); section (sec.), column (col.), paragraph (para.); track; hours, minutes and seconds; act, scene, canto, book, part, folio, stanza, back cover, liner notes, indicia, colophon, dust jacket, verse.
|id1=
* '''id''': A [[unique identifier]], used where none of the specialized identifiers are applicable.
|id2=
Do not wikilink any of the values for these parameters.
* '''arxiv''': [[ArXiv]]
* '''asin''': [[Amazon Standard Identification Number]]
* '''bibcode''': [[Bibcode]]
* '''doi''': [[Digital object identifier]]
** '''doi_brokendate''': Date the DOI is broken
** '''doi_inactivedate''': Sometimes the doi target link might not function (e.g. it is awaiting entry to the CrossRef database). Use this parameter, which takes a date argument, to de-link the DOI. The parameter will be removed when the DOI becomes active again. Must not be wikilinked. The '''doi''' value is still shown, but without a link, and the mainspace article is added to "Category:Pages with DOIs inactive since YYYY".
* '''isbn''': [[International Standard Book Number]] such as ''1-111-22222-9''. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g. {{para|isbn|1111222229}}), though ISBNs with correctly formatted dashes are preferred (see [[Wikipedia:ISBN]] and [[ISBN#Overview|ISBN]]). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this parameter but prefix the number with a zero; thus ''SBN 902888-45-5'' should be entered as {{para|isbn|0-902888-45-5}}. More information about this feature and its advantages is available at [[Wikipedia:ISBN]].
* '''issn''': [[International Standard Serial Number]]
* '''jfm''': [[Jahrbuch über die Fortschritte der Mathematik]]
* '''jstor''': [[JSTOR]]
* '''lccn''': [[Library of Congress Control Number]]
* '''mr''': [[Mathematical Reviews]]
* '''oclc''': [[Online Computer Library Center]]
* '''ol''': [[Open Library]]
* '''osti''': [[Office of Scientific and Technical Information]]
* '''PMC''': [[PubMed Central]] article number for full-text free repository of an article
* '''PMID''': [[PubMed]] Unique Identifier
* '''rfc''': [[Request for Comments]]
* '''ssrn''': [[Social Science Research Network]]
* '''zbl''': [[Zentralblatt MATH]]
|url=
* '''url''': URL of an online location where the text of the publication can be found. Cannot be used if you wikilinked '''title'''. If applicable, the link may point to the specific page(s) referenced. Do not use this parameter to link to any commercial booksellers (such as Amazon.com). The [[Wikipedia:ISBN|ISBN link]] is a much better alternative which allows readers access to the books in their own countries or through their own choice of source, including Amazon, Google Books, thousands of libraries, and more.
** '''format''': Format of the work referred to by '''url''', e.g. PDF. HTML implied if not specified.
** '''accessdate''': Full date when url was accessed. Should be in the same format as other dates in citations in the same article. Must not be wikilinked.
* archive parameters
** '''archiveurl''': The URL of an [[Web archiving|archived]] copy of a web page, if (or in case) the url becomes unavailable. Typically used to refer to services like [[WebCite]] and the [[Internet Archive]]. Requires '''archivedate'''.
** '''archivedate''': Date when the item was archived. Do not be wikilinked. Requires '''archiveurl'''.
* '''deadurl''': To change the order with the title retaining the original link and the archive linked at the end, set {{para|deadurl|no}}
|chapterurl=
* '''chapterurl''': URL of an individual chapter of online book. Should be at the same site as '''url''', if any. If '''chapterurl''' is used, '''url''' should only be used if the beginning of the work and the cited chapter are on separate webpages at the site.
|quote=
* '''quote''': Relevant text quoted from the source; enclosed in quotes. When supplied, the citation terminator (a period by default) is suppressed, so the quote needs to include terminating punctuation.
|ref=
* '''ref''': ID for anchor. By default, no anchor is generated. The ordinary nonempty value {{para|ref|<var>ID</var>}} generates an anchor with the given <var>ID</var>; such a linkable reference can be made the target of [[Wikipedia:Citing sources/Further considerations#Wikilinks to full references|wikilinks to full references]], especially useful in short citations like [[Wikipedia:Citing sources#Shortened footnotes|shortened notes]] and [[Wikipedia:Parenthetical referencing|parenthetical referencing]]. The special value {{para|ref|harv}} generates an anchor suitable for the {{tl|harv}} template; see [[Template:Citation/doc#Anchors for Harvard referencing templates|anchors for Harvard referencing templates]].
|lay=
* '''laysummary''': Link to a non-technical summary (or review) of the book
** '''laydate''': Date of summary.
|display=
* '''author-mask''': Primarily intended for use in bibliographies for some styles where multiple works by a single author are listed. It replaces the name of the first author with a strike-thru dash (—) author-mask em in length. If {{para|author-mask|1}} then the dash will be one em in length and so on. Set author-mask to a text value to display a word instead:– for example, 'with'. You must still include the parameters for all authors for metadata purposes. Do not use in a list generated by {{tl|reflist}} or {{tag|references|s}} as there is no control as to the order that references will display.
* '''author-separator''': Changes the separator between authors; defaults to a semicolon (;)
* '''author-name-separator''': Changes the separator between last and first names; defaults to a comma (,)
* '''display-authors''': By default, the number of authors displayed is limited to 8; if 9 are provided, the ninth is displayed as "et al." This parameter allows display of fewer authors before the "et al." (e.g., {{para|display-authors|2}}; alternatively, the "et al." may be suppressed by the use of {{para|display-authors|9}}.
* '''postscript''': The closing punctuation for the citation; defaults to a period (.). If the parameter is present, but blank, no terminating punctuation will be used. Ignored if {{para|quote}} is specified.
* '''lastauthoramp''': When set to any value, changes the separator to use between the last two names in lists of authors to an ampersand (&). Defaults to a semicolon and space (; ), else {{para|author-separator}} if set.
}}<noinclude>
{{documentation}}</noinclude>

Latest revision as of 20:02, 31 May 2021