Predefinição:Citation/core/
{{{texto}}} |
Índice
About this template
Template:Citation/core can be thought of as an engine producing consistent output for Wikipedia's citations. Templates such as {{Citation}} provide this core template with a list of parameters, which it uses to produce a formatted text (HTML) output, which contains embedded COinS metadata. This metadata allows many readers to find cited references more easily, or to extract their details to a reference manager.
The presence of a central template makes individual citation templates simpler to code and amend, and produces a consistent look throughout the encyclopaedia.
Templates using this 'engine'
Changes to this central template can affect the output of several 'upstream' templates. A list of templates directly using citation/core is provided below for testing purposes. There are hundreds of templates that use these templates as meta-templates.
- Template:Citation
- Template:Cite arXiv
- Template:Cite book
- Template:Cite conference
- Template:Cite DVD-notes
- Template:Cite encyclopedia
- Template:Cite IETF
- Template:Cite interview
- Template:Cite journal
- Template:Cite mailing list
- Template:Cite manual
- Template:Cite news
- Template:Cite newsgroup
- Template:Cite press release
- Template:Cite report
- Template:Cite sign
- Template:Cite speech
- Template:Cite techreport
- Template:Cite thesis
- Template:Cite video
- Template:Cite web
Parameter details
Note that the examples below are common uses of each parameter, intended to help editors understand the functioning of this template. In the most part, there is nothing wrong with passing different data to any of the parameters below if it produces the output that is desired. The exception is in parameters which are associated with a COinS field— these parameters are indicated by ⊗.
- Predefinição:Para date when the Predefinição:Para was accessed. Should not be wikilinked.
- archive parameters (if used, must be used both of them together)
- Predefinição:Para the URL of an archived copy of a web page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and Archive.org.
- Predefinição:Para date when the item was archived. Should not be wikilinked.
- Predefinição:Para If an archived URL is provided elsewhere, the original URL should be specified here.
- Predefinição:Para When set to any value, changes the separator between the last two names in lists of authors to an ampersand (&). Defaults to a semicolon and space(; ), else Predefinição:Para if set.
- ⊗ Predefinição:Para ArXiv ID.
- ⊗ Predefinição:Para Amazon Standard Identification Number.
- ⊗ Predefinição:Para page reference within the source.
- Predefinição:Para title of an existing Wikipedia article about the first author.
- Predefinição:Para, Predefinição:Para, ..., Predefinição:Para title of an existing Wikipedia article about up to seven additional authors.
- Predefinição:Para 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 (—) AuthorMask em in length enclosed in Predefinição:Tag tags. If Predefinição:Para then the dash will be one em in length and so on. Set AuthorMask 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 {{reflist}} or Predefinição:Tag as there is no control as to the order that references will display.
- Predefinição:Para Separator between author names; defaults to semicolon (;).
- ⊗ Predefinição:Para A Bibcode ID.
- Predefinição:Para adds the specified HTML class to the span that encloses the citation. The name must be one word (separate words are separate classes) and must meet the name rules.[1]
- ⊗ Predefinição:Para Digital object identifier.
- ⊗ Predefinição:Para date of the authorship, if different from date of publication.
- Predefinição:Para indicates if the original link is dead or live (Predefinição:Para). Used to change the main citation link when Predefinição:Para is set.
- Predefinição:Para Date the DOI is broken
- ⊗ Predefinição:Para number or name of the edition, if not the first; for example: Predefinição:Para
- Predefinição:Para first editor's first or given name(s).
- Predefinição:Para, Predefinição:Para second and third editors’ first or given name(s).
- Predefinição:Para first editor's surname or last name.
- Predefinição:Para, Predefinição:Para, Predefinição:Para second, third, and fourth editors’ surname or last name. The fourth is not actually used, but causes 'et al.' to be generated.
- Predefinição:Para title of an existing Wikipedia article about the first editor.
- Predefinição:Para, Predefinição:Para title of existing Wikipedia articles about the second and third editors.
- Predefinição:Para file format of the source, if not the common format. Or; "Free full text", "abstract", or similar descriptor
- ⊗ Predefinição:Para first author's first or given name(s).
- ⊗ Predefinição:Para, Predefinição:Para, ..., Predefinição:Para up to seven additional authors' first or given name(s).
- Predefinição:Para miscellaneous identifier, other than Predefinição:Para, Predefinição:Para, Predefinição:Para, Predefinição:Para, Predefinição:Para, or Predefinição:Para.
- ⊗ Predefinição:Para International Standard Book Number.
- ⊗ Predefinição:Para International Standard Serial Number identifying the periodical.
- ⊗ Predefinição:Para Specific title, to be displayed in quotation marks. Contrast with Predefinição:Para, which is displayed in italics. In some cases (e.g. Template:Cite web) it may be desirable to use IncludedWorkTitle for the title, and not use the Title parameter at all.
- ⊗ Predefinição:Para URL of the contribution or chapter, or other included work.
- ⊗ Predefinição:Para issue number of the periodical.
- ⊗ Predefinição:Para Jahrbuch über die Fortschritte der Mathematik
- ⊗ Predefinição:Para JSTOR ID.
- Predefinição:Para specifies the language in which the source is written, if not English.
- Predefinição:Para Summary of the source in a layman-friendly journal - for instance a BBC news article about a paper in Nature.
- Predefinição:Para Date of a lay summary.
- Predefinição:Para Name of the source, such as the magazine or journal.
- ⊗ Predefinição:Para Library of Congress Control Number ID.
- ⊗ Predefinição:Para Mathematical Reviews ID.
- Predefinição:Para Separator between last and first names; defaults to a comma and space (, ).
- ⊗ Predefinição:ParaOnline Computer Library Center ID number.
- ⊗ Predefinição:Para Open Library ID.
- ⊗ Predefinição:Para Office of Scientific and Technical Information ID.
- Predefinição:Para Other details to be inserted in a particular place.
- ⊗ Predefinição:Para PubMed Central article number for full-text free repository of an article.
- ⊗ Predefinição:Para PubMed Unique Identifier.
- Predefinição:Para name of the periodical, journal, or magazine. This parameter controls whether or not the template will generate a citation in the style appropriate to a periodical, journal, magazine, or other serial publication. When set, Predefinição:Para and Predefinição:Para are formatted in parentheses.
- Predefinição:Para place where the item was created (outputs "written at location"; this parameter should not be used for location of publication; see Predefinição:Para, below.
- Predefinição:Para date of publication.
- ⊗ Predefinição:Para city of publication.
- ⊗ Predefinição:Para name of the publisher.
- Predefinição:Para text to be quoted from the source. If supplied, this is enclosed in double-quotes.
- Predefinição:Para postscript terminating the citation. This is empty by default.
- Predefinição:Para A reference name - if the citation is referred to using the Harvard referencing suite of templates.
- ⊗ Predefinição:Para Request for Comments ID.
- Predefinição:Para specifies the punctuation mark used to separate fields. This usually defaults to a period, but may occasionally be a comma. For technical reasons, the template will malfunction if a semicolon is passed as a separator. To circumvent this, the calling template should encode semicolons:
|Sep = {{#ifeq:{{{separator}}}|;|;|{{{separator|!}}}}}
Replace the exclamation mark with a default separator, if one different to a period is desired. - ⊗ Predefinição:Para series of which this periodical is a part.
- ⊗ Predefinição:Para Social Science Research Network ID.
- ⊗ Predefinição:Para first author's surname or last name.
- ⊗ Predefinição:Para, Predefinição:Para, ..., Predefinição:Para up to eight additional authors’ surnames or last names. The ninth is not actually used, but causes et al. to be generated.
- ⊗ Predefinição:Para Title, to be displayed in italics after Predefinição:Para. Used, for example, when citing the title of a book; the chapter title would be passed to IncludedWorkTitle
- Predefinição:Para The archive parameters have error checking to ensure that all the required parameters are included, else {{citation error}} is invoked. On errors, main, help and template pages are placed into Category:Articles with incorrect citation syntax. Set Predefinição:Para to disable categorization.
- Predefinição:Para appears after Title; shows only if Title and Periodical are defined.
- Predefinição:Para specific type of item cited. Example: PhD thesis. Appears in parentheses immediately after Title or TransTitle.
- Predefinição:Para Translated italicized title, in case the original title is in a foreign language. Can be used in conjunction with TransTitle, e.g. for book and chapter title, respectively. This translated string will appear in square brackets, following the italicized book title, with the same URL link.
- Predefinição:Para Translated title, in case the original title is in a foreign language. The translated title will appear inside square brackets, enclosed within the quotation marks of the IncludedWorkTitle.
- Predefinição:Para Sets the number of authors to display before et al. is shown.
- ⊗ Predefinição:Para Uniform Resource Locator of an online location where the article can be found.
- ⊗ Predefinição:Para volume number of a multi-volume book or compilation.
- Predefinição:Para Note to accompany the year. Example: First published 1886.
- Predefinição:Para year of authorship or publication.
- ⊗ Predefinição:Para Zentralblatt MATH ID.
Supporting CSS
Rules are defined in MediaWiki:Common.css to control the appearance of citations.
The raw URL is rendered at the end of the citation, but is hidden except when printed. <source lang="css"> /* For linked citation numbers and document IDs, where
the number need not be shown on a screen or a handheld, but should be included in the printed version */
@media screen, handheld {
.citation *.printonly { display: none; }
</source>
References
- ↑ HTML class Attribute. w3schools.com.