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
(rem other)
imported>Gadget850
(type_default)
Line 37: Line 37:
** '''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.
** '''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.
|type=
|type=
* '''type''': Can be used to provide additional information about the publication type. Appears in parentheses following the title.
* '''type''': Can be used to provide additional information about the publication type. Appears in parentheses following the title.{{#if:{{{type_default|}}}| Defaults to {{{type_default}}}.
|journal=
|journal=
* '''journal''' or '''periodical''' or '''newspaper''' or '''magazine''': Name of the source.
* '''journal''' or '''periodical''' or '''newspaper''' or '''magazine''': Name of the source.

Revision as of 13:58, 8 January 2012

{{#switch: |syntax= Nested parameters rely on their parent parameters:

  • parent
  • OR: parent2—may be used instead of parent
    • child—may be used with parent (and is ignored if parent is not used)
    • OR: child2—may be used instead of child (and is ignored if parent2 is not used)

|sep_period= By default, sets of fields are terminated with a period (.); this can be an issue when the last field in an abbreviation or initial with a period, as two periods then display. The only solution is to not include the last period in the value for the set of fields. |sep_comma= By default, sets of fields are terminated with a comma (,) |author=

  • last: Surname of author. Do not wikilink— use authorlink instead.
    • 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.
      • 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.
    • 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.
  • OR: for multiple authors, use the parameters first1, last1 ... firstn, lastn to correctly record all the information about the source (the first nine authors are displayed, 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.
  • OR: author: (deprecated) Full name of author, preferably surname first. Do not wikilink— use authorlink instead.
    • coauthors: (deprecated) Full name of additional author or authors— e.g. Joe Bloggs, John F. Kennedy, H. R. Dent. Use the same name order and separators as the author fields.

|editor=

  • 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 after 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 source (including the cited chapter) and the editor responsible for the whole source. If, however, the author(s) and editor(s) are responsible for the whole source, 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.
  • OR: alternatively editor-first and editor-last can be used in the same way as first and last.
  • OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last ... editorn-first, editorn-last to correctly record all the information about the source in the same way as firstn and lastn.
    • editor-link or editor1-link ... editorn-link is used in the same way as authorlink or authorlinkn.

|others=

  • others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".

|title_italics= Template:Citation Style documentation/titles

  • title: Title of source. Can be wikilinked to an existing Wikipedia article or url may be used to add an external link, but not both. Formatted in italics.
    • trans_title: If the source 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_quotes= Template:Citation Style documentation/titles

  • title: Title of source. Can be wikilinked to an existing Wikipedia article or url may be used to add an external link, but not both. Formatted in quotes.
    • trans_title: If the source 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.

|chapter=

  • chapter: The chapter of the source, written in full. May be wikilinked or may use chapterurl, but not both. Formatted in quotations.
    • 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.

|type=

  • type: Can be used to provide additional information about the publication type. Appears in parentheses following the title.journal=
  • journal or periodical or newspaper or magazine: Name of the source.