Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Section usage  





3 Lead section  



3.1  Lua notice  







4 Usage section  



4.1  Full horizontal style  





4.2  Most commonly used horizontal style  





4.3  Full vertical style  



4.3.1  Three-columns format  





4.3.2  Four-columns format  







4.4  Sub-templates  



4.4.1  Usage  





4.4.2  Usage full  





4.4.3  Usage common  





4.4.4  Usage vertical  





4.4.5  Usage vertical mid  





4.4.6  Usage vertical end  









5 Examples section  





6 Parameters section  



6.1  syntax  





6.2  COinS  



6.2.1  COinS metadata is created for these parameters  







6.3  sep_period  





6.4  sep_comma  





6.5  required  





6.6  whats new  





6.7  deprecated  





6.8  author  





6.9  editor  





6.10  title  





6.11  web  





6.12  chapter  





6.13  type  





6.14  journal  





6.15  edition  





6.16  series  





6.17  series_episode  





6.18  event  





6.19  agency  





6.20  volume  





6.21  date  





6.22  publisher  





6.23  newsgroup  





6.24  language  





6.25  pages  





6.26  time  





6.27  id1  





6.28  id2  





6.29  url  





6.30  chapterurl  





6.31  quote  





6.32  ref  





6.33  display  





6.34  Subscription or registration required  



6.34.1  Access indicators for url-holding parameters  





6.34.2  Access indicator for named identifiers  







6.35  map_series  





6.36  map_pages  





6.37  interview_author  





6.38  interview_interviewer  





6.39  season  





6.40  network  





6.41  transcript  





6.42  conference  







7 Notes  














Template:Citation Style documentation






Afrikaans
Аԥсшәа
العربية
Արեւմտահայերէն
Azərbaycanca
Basa Bali

Беларуская
Dansk
الدارجة

فارسی
Føroyskt
Galego

Gungbe

Հայերեն
ि
Ilokano
Bahasa Indonesia
Jawa
Kurdî
Ladin
ि

مصرى
Bahasa Melayu
 / Mìng-dĕ̤ng-nḡ
Мокшень
Монгол



ି
Oʻzbekcha / ўзбекча

Português
Qaraqalpaqsha
Shqip
Simple English
Slovenščina
کوردی
Српски / srpski
Srpskohrvatski / српскохрватски
 


Тоҷикӣ

Türkçe
Українська
اردو
Tiếng Vit
ייִדיש


 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Meta-Wiki
Wikibooks
Wikiversity
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


Usage

This template is used to build consistent documentation pages for Citation Style 1 templates.

For example: {{Citation Style documentation|author}} will show the author documentation.

Where a particular section of documentation is not appropriate for a certain template, simply add the text manually or create a new subtemplate.

Each module of text is a subtemplate that can be edited using the link.

Section usage

When creating template documentation, use the following order of sections and content:

Lead section

Use {{csdoc|lead|content type}} to create consistent content for the lead:

[edit subtemplate]

This Citation Style 1 template is used to create citations for .

Options for this field: One unnamed parameter is used to create the trailing text.

Markup Renders as
{{csdoc|lead|books}}

This Citation Style 1 template is used to create citations for books.

Lua notice

[edit subtemplate]

Usage section

Start the usage section with {{csdoc|usage}}:

Copy a blank version to use. Almost all parameter names are supported only in lower case (some initialisms, such as |isbn= have upper-case aliases like |ISBN=, which are acceptable for use). Use the "|" (pipe) character between each parameter. Unused parameters may be deleted to avoid clutter in the edit window. Some samples on this documentation page may include the current date. If the date is not current, then purge the page.

Parameters to copy are enclosed in tables created by sub-templates.

Full horizontal style

{{csdoc|usage full}}
:<code><nowiki>{{cite xxxxx |last1= |first1= |author-link1= |last2= |first2= |author-link2= |last3= |first3= |author-link3= |last4= |first4= |author-link4= |last5= |first5= |author-link5= |name-list-style= |vauthors= |translator-last1= |translator-first1= |translator-link1= |translator-last2= |translator-first2= |translator-link2= |collaboration= |contributor-last1= |contributor-first1= |contributor-link1= |contributor-last2= |contributor-first2= |contributor-link2= |others= |editor-last1= |editor-first1= |editor-link1= |editor-last2= |editor-first2= |editor-link2= |editor-last3= |editor-first3= |editor-link3= |veditors= |title= |script-title= |trans-title= |work= |script-work= |trans-work= |issue= |department= |chapter= |script-chapter= |trans-chapter= |contribution= |type= |edition= |series= |series-link= |episode= |event= |agency= |volume= |date= |year= |orig-date= |df= |publisher= |location= |publication-place= |via= |language= |page= |pages= |no-pp= |at= |minutes= |time= |time-caption= |id= |arxiv= |asin= |asin-tld= |bibcode= |biorxiv= |citeseerx= |doi= |doi-broken-date= |eissn= |hdl= |sbn= |isbn= |ismn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |embargo= |pmid= |rfc= |ssrn= |zbl= |url= |format= |archive-url= |archive-format= |url-status= |archive-date= |chapter-url= |chapter-format= |access-date= |no-tracking= |quote= |ref= |mode= |author-mask1= |author-mask2= |author-mask3= |author-mask4= |author-mask5= |display-authors= |translator-mask1= |translator-mask2= |display-translators= |contributor-mask1= |contributor-mask2= |display-contributors= |editor-mask1= |editor-mask2= |editor-mask3= |display-editors= |postscript= |url-access= |chapter-url-access= |bibcode-access= |doi-access= |hdl-access= |jstor-access= |ol-access= |osti-access= |map= |script-map= |trans-map= |map-url= |map-format= |map-url-access= |scale= |cartography= |inset= |sections= |interviewer-last1= |interviewer-first1= |interviewer-link1= |interviewer-last2= |interviewer-first2= |interviewer-link2= |interviewer-mask1= |interviewer-mask2= |display-interviewers= |season= |series-number= |series-separator= |network= |station= |transcript= |transcript-url= |transcript-format= |conference= |conference-url= |conference-format=}}</nowiki></code>
{{end}}
Full parameter set in horizontal format
{{cite xxxxx |last1= |first1= |author-link1= |last2= |first2= |author-link2= |last3= |first3= |author-link3= |last4= |first4= |author-link4= |last5= |first5= |author-link5= |name-list-style= |vauthors= |translator-last1= |translator-first1= |translator-link1= |translator-last2= |translator-first2= |translator-link2= |collaboration= |contributor-last1= |contributor-first1= |contributor-link1= |contributor-last2= |contributor-first2= |contributor-link2= |others= |editor-last1= |editor-first1= |editor-link1= |editor-last2= |editor-first2= |editor-link2= |editor-last3= |editor-first3= |editor-link3= |veditors= |title= |script-title= |trans-title= |work= |script-work= |trans-work= |issue= |department= |chapter= |script-chapter= |trans-chapter= |contribution= |type= |edition= |series= |series-link= |episode= |event= |agency= |volume= |date= |year= |orig-date= |df= |publisher= |location= |publication-place= |via= |language= |page= |pages= |no-pp= |at= |minutes= |time= |time-caption= |id= |arxiv= |asin= |asin-tld= |bibcode= |biorxiv= |citeseerx= |doi= |doi-broken-date= |eissn= |hdl= |sbn= |isbn= |ismn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |embargo= |pmid= |rfc= |ssrn= |zbl= |url= |format= |archive-url= |archive-format= |url-status= |archive-date= |chapter-url= |chapter-format= |access-date= |no-tracking= |quote= |ref= |mode= |author-mask1= |author-mask2= |author-mask3= |author-mask4= |author-mask5= |display-authors= |translator-mask1= |translator-mask2= |display-translators= |contributor-mask1= |contributor-mask2= |display-contributors= |editor-mask1= |editor-mask2= |editor-mask3= |display-editors= |postscript= |url-access= |chapter-url-access= |bibcode-access= |doi-access= |hdl-access= |jstor-access= |ol-access= |osti-access= |map= |script-map= |trans-map= |map-url= |map-format= |map-url-access= |scale= |cartography= |inset= |sections= |interviewer-last1= |interviewer-first1= |interviewer-link1= |interviewer-last2= |interviewer-first2= |interviewer-link2= |interviewer-mask1= |interviewer-mask2= |display-interviewers= |season= |series-number= |series-separator= |network= |station= |transcript= |transcript-url= |transcript-format= |conference= |conference-url= |conference-format=}}

The above set is organised contextually rather than alphabetically. The following parameters, which are usually available for at least a few cite templates, are not included in the full parameter set above: |authors=; |book-title=; |class=; |degree=; |docket=; |encyclopedia=; |mailing-list=; |message-id=; |number=; |publication-date=; |section=; |sheet=; |sheets=; |title-link=; |s2cid=.

Most commonly used horizontal style

{{csdoc|usage common}}
:<code><nowiki>{{cite book |last= |first= |author-link= |title= |url= |access-date= |date= |publisher= |location= |isbn= |page= |pages=}}</nowiki></code>
{{end}}
Most commonly used parameters in horizontal format
{{cite book |last= |first= |author-link= |title= |url= |access-date= |date= |publisher= |location= |isbn= |page= |pages=}}

Full vertical style

The full vertical style can be implemented in a three-columns format (only practical when the number of parameters is not too extended) or in a four-columns format.

Three-columns format

The full vertical style in three columns consists of a "Vertical list", "Prerequisites" and "Brief instructions / notes".

<!--
* Start with: 
-->
{{csdoc|usage vertical}}
<pre style="margin:0px;">
<!--
* Create the vertical list column
* Separate the next column with:
-->
</pre>
{{csdoc|usage vertical mid}}
<pre style="margin:0px;">
<!--
* Create the prerequisites column; blank lines must include a &nbsp;
* Separate the next column with:
-->
</pre>
{{csdoc|usage vertical mid}}
<pre style="margin:0px;">
<!--
* Create the instructions column; blank lines must include a &nbsp;
* End with:
-->
</pre>
{{csdoc|usage vertical end}}

Example:

{{csdoc|usage vertical}}
<pre style="margin:0px;">
{{cite book
| last                  =
| first                 =
| author-link           =
}}
</pre>
{{csdoc|usage vertical mid}}
<pre style="margin:0px;">
&nbsp;
&nbsp;
last
&nbsp;
&nbsp;
</pre>
{{csdoc|usage vertical mid}}
<pre style="margin:0px;">
&nbsp;
same as last1
same as first1
&nbsp;
&nbsp;
</pre>
{{csdoc|usage vertical end}}

Four-columns format

{| class="wikitable"
|+ Full parameter set in vertical format
! Parameters !! Prerequisites !! Brief instructions / notes !! Vertical list
|-
| {{tooltip|2=or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| 
| Author's last name or single name author. Don't link.
| rowspan="3" style="vertical-align:top;" | <pre style="margin:0px; border:none;">
{{cite xxxxx 
 |last1                =
 |first1               =
 |author-link1         =
}}
</pre>
|-
| {{tooltip|2=or any of its aliases, including: first; given1; given; author-first1; author-first; (etc.)|first1}}
| {{tooltip|2=or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| Author's first name. Don't link.
|-
| {{tooltip|2=or any of its aliases, including: author-link; subject-link1; subject-link; (etc.)|author-link1}}
| {{tooltip|2=or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| Title of Wikipedia article about the first author. Don't link.
|}
Full parameter set in vertical format
Parameters Prerequisites Brief instructions / notes Vertical list
last1 Author's last name or single name author. Don't link.
{{cite xxxxx 
 |last1                =
 |first1               =
 |author-link1         =
 |last2                =
 |first2               =
 |author-link2         =
 |last3                =
 |first3               =
 |author-link3         =
 |last4                =
 |first4               =
 |author-link4         =
 |last5                =
 |first5               =
 |author-link5         =
 |name-list-style      =
 |vauthors             =
 |translator-last1     =
 |translator-first1    =
 |translator-link1     =
 |translator-last2     =
 |translator-first2    =
 |translator-link2     =
 |collaboration        =
 |contributor-last1    =
 |contributor-first1   =
 |contributor-link1    =
 |contributor-last2    =
 |contributor-first2   =
 |contributor-link2    =
 |others               =
 |editor-last1         =
 |editor-first1        =
 |editor-link1         =
 |editor-last2         =
 |editor-first2        =
 |editor-link2         =
 |editor-last3         =
 |editor-first3        =
 |editor-link3         =
 |veditors             =
 |title                =
 |script-title         =
 |trans-title          =
 |work                 =
 |script-work          =
 |trans-work           =
 |issue                =
 |department           =
 |chapter              =
 |script-chapter       =
 |trans-chapter        =
 |contribution         =
 |type                 =
 |edition              =
 |series               =
 |series-link          =
 |episode              =
 |event                =
 |agency               =
 |volume               =
 |date                 =
 |year                 =
 |orig-date            =
 |df                   =
 |publisher            =
 |location             =
 |publication-place    =
 |via                  =
 |language             =
 |page                 =
 |pages                =
 |no-pp                =
 |at                   =
 |minutes              =
 |time                 =
 |time-caption         =
 |id                   =
 |arxiv                =
 |asin                 =
 |asin-tld             =
 |bibcode              =
 |biorxiv              =
 |citeseerx            =
 |doi                  =
 |doi-broken-date      =
 |eissn                =
 |hdl                  =
 |sbn                  =
 |isbn                 =
 |ismn                 =
 |issn                 =
 |jfm                  =
 |jstor                =
 |lccn                 =
 |mr                   =
 |oclc                 =
 |ol                   =
 |osti                 =
 |pmc                  =
 |embargo              =
 |pmid                 =
 |rfc                  =
 |ssrn                 =
 |zbl                  =
 |url                  =
 |format               =
 |archive-url          =
 |archive-format       =
 |url-status           =
 |archive-date         =
 |chapter-url          =
 |chapter-format       =
 |access-date          =
 |no-tracking          =
 |quote                =
 |ref                  =
 |mode                 =
 |author-mask1         =
 |author-mask2         =
 |author-mask3         =
 |author-mask4         =
 |author-mask5         =
 |display-authors      =
 |translator-mask1     =
 |translator-mask2     =
 |display-translators  =
 |contributor-mask1    =
 |contributor-mask2    =
 |display-contributors =
 |editor-mask1         =
 |editor-mask2         =
 |editor-mask3         =
 |display-editors      =
 |postscript           =
 |url-access           =
 |chapter-url-access   =
 |bibcode-access       =
 |doi-access           =
 |hdl-access           =
 |jstor-access         =
 |ol-access            =
 |osti-access          =
 |map                  =
 |script-map           =
 |trans-map            =
 |map-url              =
 |map-format           =
 |map-url-access       =
 |scale                =
 |cartography          =
 |inset                =
 |sections             =
 |interviewer-last1    =
 |interviewer-first1   =
 |interviewer-link1    =
 |interviewer-last2    =
 |interviewer-first2   =
 |interviewer-link2    =
 |interviewer-mask1    =
 |interviewer-mask2    =
 |display-interviewers =
 |season               =
 |series-number        =
 |series-separator     =
 |network              =
 |station              =
 |transcript           =
 |transcript-url       =
 |transcript-format    =
 |conference           =
 |conference-url       =
 |conference-format    =
}}
first1 last1 Author's first name. Don't link.
author-link1 last1 Title of Wikipedia article about the first author. Don't link.
last2 last1 Like last1, but for 2nd author.
first2 last2 Like first1, but for 2nd author.
author-link2 last2 Like author-link1, but for 2nd author.
last3 last2 Like last1, but for 3rd author.
first3 last3 Like first1, but for 3rd author.
author-link3 last3 Like author-link1, but for 3rd author.
last4 last3 Like last1, but for 4th author.
first4 last4 Like first1, but for 4th author.
author-link4 last4 Like author-link1, but for 4th author.
last5 last4 Like last1, but for 5th author. Similar: last6, etc.
first5 last5 Like first1, but for 5th author. Similar: first6, etc.
author-link5 last5 Like author-link1, but for 5th author. Similar: author-link6, etc.
name-list-style vanc to emulate Vancouver style
vauthors
translator-last1
translator-first1 translator-last1
translator-link1 translator-last1
translator-last2 translator-last1 Additional translators: translator-last3, etc.
translator-first2 translator-last2
translator-link2 translator-last2
collaboration
contributor-last1
contributor-first1
contributor-link1
contributor-last2
contributor-first2
contributor-link2
others
editor-last1
editor-first1 editor-last1
editor-link1 editor-last1
editor-last2 editor-last1
editor-first2 editor-last2
editor-link2 editor-last2
editor-last3 editor-last2
editor-first3 editor-last3
editor-link3 editor-last3
veditors
title
script-title
trans-title title or script-title
work
script-work
trans-work work or script-work
issue
department
chapter Chapter title can be wikilinked unless when a chapter-url is given
script-chapter
trans-chapter chapter or script-chapter
contribution
type
edition Ordinal number
series
series-link
episode
event
agency
volume
date
year
orig-date date or year
df
publisher
location publisher
publication-place
via
language
page choose one: "page", "pages", or "at"
pages choose one: "page", "pages", or "at". Use when content on multiple pages supports the article text.
no-pp page or pages set no-pp to "yes" to suppress the "p." or "pp." before page numbers
at choose one: "page", "pages", or "at"
minutes
time
time-caption
id
arxiv
asin
asin-tld
bibcode
biorxiv
citeseerx
doi
doi-broken-date doi
eissn
hdl
sbn
isbn always include ISBN, if one has been assigned
ismn
issn
jfm
jstor
lccn
mr
oclc
ol
osti
pmc
embargo
pmid
rfc
ssrn
zbl
url title or script-title
format url
archive-url archive-date, url
archive-format
url-status archive-url
archive-date archive-url
chapter-url chapter or script-chapter
chapter-format chapter-url
access-date url
no-tracking
quote
ref
mode cs1orcs2
author-mask1 last1
author-mask2 last2
author-mask3 last3
author-mask4 last4
author-mask5 last5
display-authors last1 number (number of authors displayed) or etal (more authors)
translator-mask1 translator-last1
translator-mask2 translator-last2
display-translators
contributor-mask1
contributor-mask2
display-contributors
editor-mask1 editor-last1
editor-mask2 editor-last2
editor-mask3 editor-last3
display-editors
postscript
url-access
chapter-url-access
bibcode-access
doi-access
hdl-access
jstor-access
ol-access
osti-access
map
script-map
trans-map
map-url
map-format
map-url-access
scale
cartography
inset
sections
interviewer-last1
interviewer-first1
interviewer-link1
interviewer-last2
interviewer-first2
interviewer-link2
interviewer-mask1
interviewer-mask2
display-interviewers
season
series-number
series-separator
network
station
transcript
transcript-url
transcript-format
conference
conference-url
conference-format
If a field name is listed in the Prerequisites column it is a prerequisite for the field to the left.
Additional parameters (available for at least some cite templates)
|authors=
|book-title=
|class=
|degree=
|docket=
|encyclopedia=
|mailing-list=
|message-id=
|number=
|publication-date=
|section=
|sheet=
|sheets=
|title-link=
(available from late April 2020) |s2cid=

Sub-templates

Usage

[edit subtemplate]

Copy a blank version to use. Almost all parameter names are supported only in lower case (some initialisms, such as |isbn= have upper-case aliases like |ISBN=, which are acceptable for use). Use the "|" (pipe) character between each parameter. Unused parameters may be deleted to avoid clutter in the edit window. Some samples on this documentation page may include the current date. If the date is not current, then purge the page.

|}

Usage full

[edit subtemplate]

Full parameter set in horizontal format

Usage common

[edit subtemplate]

Most commonly used parameters in horizontal format

Usage vertical

[edit subtemplate]

Full parameter set in vertical format
Vertical list Prerequisites Brief instructions / notes

Usage vertical mid

[edit subtemplate]

| style="vertical-align:top;" |

|}

Usage vertical end

[edit subtemplate]

|}

Examples section

Use {{markup2}} to format the examples (see that template's documentation for use).

{{markup2 |t=Basic usage with url and edition
|m={{cite book |title=Mysterious book |url=https://www.example.com |edition=2nd}}
|r={{cite book |title=Mysterious book |url=https://www.example.com |edition=2nd}}
}}

Basic usage with url and edition

Parameters section

syntax

[edit subtemplate]

Nested parameters rely on their parent parameters:

Where aliases are listed, only one of the parameters may be defined; if multiple aliased parameters are defined, then only one will show.

COinS

[edit subtemplate]

This template embeds COinS metadata in the HTML output, allowing reference management software to retrieve bibliographic metadata. See Wikipedia:COinS. As a general rule, only one data item per parameter. Do not include explanatory or alternate text:

Use of templates within the citation template is discouraged because many of these templates will add extraneous HTML or CSS that will be included raw in the metadata. Also, HTML entities, for example &nbsp;, &ndash;, or &#160;, should not be used in parameters that contribute to the metadata.

COinS metadata is created for these parameters

Note: This table of metadata is displayed in the documentation of all Citation Style 1 templates. Not all of these parameters are supported by every CS1 template. Some of these parameters are mutually exclusive, some are aliases of another parameter, and some require other parameters to be present. A full list of this template's supported parameters, their aliases, and their dependencies is shown in the Usage section near the top of this documentation page.

sep_period

[edit subtemplate]

By default, sets of fields are terminated with a period (.).

sep_comma

[edit subtemplate]

By default, sets of fields are terminated with a comma (,).

required

[edit subtemplate]

This parameter is required and will generate an error if not defined. On errors, main, help and template pages are placed into Category:Articles with incorrect citation syntax. Set |no-tracking=true to disable categorization; mainly used for documentation where the error is demonstrated.

whats new

[edit subtemplate]

What's new or changed recently
Parameter Description Date
N/A

deprecated

[edit subtemplate]


Deprecated CS1/CS2 parameters
Deprecated parameter Replace with Date
|authors= |lastn= / |firstn=, |authorn=, |vauthors= November 2023
Recently removed CS1/CS2 parameters
Removed parameter Replace with Date Note
|lay-date= (delete) August 2023
|lay-source= (delete)
|lay-url= (delete)
|transcripturl= |transcript-url= August 2023

author

[edit subtemplate]

Options for this field:

  • |contributor=yes adds contributors (use with cite book and citation only)
  • |others=yes adds "others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith"."
  • |aliases= add aliases for last.

editor

[edit subtemplate]

title

[edit subtemplate]

(See also Help:Citation Style 1 § Titles and chapters.)

Titles containing certain characters will not display and link correctly unless those characters are encoded.
newline [ ] |
space &#91; &#93; {{!}} (preferred)
{{bracket|text}} &#124; or {{pipe}}see also Help:Table § Rendering the pipe
  • title-link: Title of existing Wikipedia article about the source named in title – do not use a web address; do not wikilink.

Options for this field:

title_title sets the display title:

  • encyclopedia = encyclopedia
  • default = title

web

[edit subtemplate]

(See also Help:Citation Style 1 § Titles and chapters.)

Titles containing certain characters will display and link incorrectly unless those characters are encoded.
newline [ ] |
space &#91; &#93; &#124;
{{bracket|text}} {{pipe}}see also Help:Table § Rendering pipe itself
This parameter is required and will generate an error if not defined. On errors, main, help and template pages are placed into Category:Articles with incorrect citation syntax. Set |no-tracking=true to disable categorization; mainly used for documentation where the error is demonstrated.

chapter

[edit subtemplate]

Options for this field:

title_format sets the display format:

  • italics = Displays in italics.
  • work = If work is defined, then title is displayed in quotes, else displays in italics.
  • default = Displays in quotes.

title_title sets the display title:

  • booktitle = booktitle
  • default = chapter

type

[edit subtemplate]

Options for this field:

  • type_default: Adds "Defaults to type_default"

journal

[edit subtemplate]

When set, work changes the formatting of other parameters in the same citation:
title is not italicized and is enclosed in quotes.
chapter does not display (and will produce an error message).

Options for this field:

  • department adds:
  • department: Regular department or section within the periodical or journal. Examples include "Communication", "Editorial", "Letter to the Editor", and "Review". Displays after title and is in plain text.

edition

[edit subtemplate]

series

[edit subtemplate]

series_episode

[edit subtemplate]

event

[edit subtemplate]

agency

[edit subtemplate]

volume

[edit subtemplate]

date

[edit subtemplate]

Shortened footnotes target full citations using the year specified in this parameter. A lowercase letter may be suffixed to the year to disambiguate {{sfn}} links to multiple works by the same author in the same year,[more] unless the date is formatted as YYYY-MM-DD. In the latter case, yearorref is required to disambiguate the link targets.
For approximate year, precede with "c. ", like this: |date=c. 1900.

For no date, or "undated", use |date=n.d.
The date of a Web page, PDF, etc. with no visible date can sometimes be established by searching the page source or document code for a createdorupdated date; a comment for editors such as date=2021-12-25<!--date from page source-->|orig-date=Original date 2011-01-01 can be added.
Automatic date formatting: Citation Style 1 and 2 templates, including this template, automatically render dates in all date parameters (such as |date=, |publication-date=, |access-date=, |archive-date=, etc.) except for |orig-date= in the style specified by the article's {{use dmy dates}}or{{use mdy dates}} template. See those templates' documentation for details.
  1. ^ Publication dates in references within an article should all have the same format. This may be a different format from that used for archive and access dates. See MOS:DATEUNIFY.

Options for this field:

  • limited_param_list hides orig-date because not allowed in limited-parameter templates

publisher

[edit subtemplate]

Options for this field:

  • |work=no suppresses "; if work is defined, then publisher and location are enclosed in parentheses"
  • |map=yes changes:
    • publisher: Name of publisher. The publisher is the company that publishes the work being cited. Do not use the publisher parameter for the name of a work (e.g., a book, encyclopedia, newspaper, magazine, journal, website). Displays before title. Do not wikilink—use publisher-link instead.
    • publisher-link: Title of existing Wikipedia article about the publisher—not the publisher's website; do not wikilink.

newsgroup

[edit subtemplate]

language

[edit subtemplate]

pages

[edit subtemplate]

Options for this field:

  • work adds "or work (or an alias) is defined"

time

[edit subtemplate]

id1

[edit subtemplate]

id2

[edit subtemplate]

The following identifiers create links and are designed to accept a single value. Using multiple values or other text will break the link and/or invalidate the identifier. In general, the parameters should include only the variable part of the identifier, e.g. |rfc=822or|pmc=345678.

In very rare cases, identifiers are published which do not follow their defined standard format or use non-conforming checksums. These would typically cause an error message to be shown. Do not alter them to match a different checksum. In order to suppress the error message, some identifiers (|doi=, |eissn=, |isbn=, |issn=, and |sbn=) support a special accept-this-as-written markup which can be applied to disable the error-checking (as|<param>=((<value>))). If the problem is down to a mere typographical error in a third-party source, correct the identifier value instead of overriding the error message.

For some identifiers, it is possible to specify the access status using the corresponding |<param>-access= parameter.

For {{cite journal}}, some identifiers (specifying free resources) will automatically be linked to the title when |url= and |title-link= are not used to specify a different link target. This behaviour can be overridden by one out of a number of special keywords for |title-link= to manually select a specific source (|title-link=pmcor|title-link=doi) for auto-linking or to disable the feature (|title-link=none).

It is not necessary to specify a URL to a link identical to a link also produced by an identifier. The |url= parameter (or|title-link=) can then be used for providing a direct deep link to the corresponding document or a convenience link to a resource that would not otherwise be obviously accessible.

url

[edit subtemplate]

URLs must begin with a supported URI scheme. http:// and https:// will be supported by all browsers; however, ftp://, gopher://, irc://, ircs://, mailto: and news: may require a plug-in or an external application and should normally be avoided. IPv6 host-names are currently not supported.

If URLs in citation template parameters contain certain characters, then they will not display and link correctly. Those characters need to be percent-encoded. For example, a space must be replaced by %20. To encode the URL, replace the following characters with:

Character space " ' < > [ ] { | }
Encoding %20 %22 %27 %3C %3E %5B %5D %7B %7C %7D

Single apostrophes do not need to be encoded; however, unencoded multiples will be parsed as italic or bold markup. Single curly closing braces also do not need to be encoded; however, an unencoded pair will be parsed as the double closing braces for the template transclusion.

  1. ^ a b Access-date and archive-date in references should all have the same format – either the format used for publication dates, or YYYY-MM-DD. See MOS:DATEUNIFY.

Options for this field:

  • media uses 'media' in place of 'text of the publication'

chapterurl

[edit subtemplate]

quote

[edit subtemplate]

Options for this field:

  • |cs2=yes suppresses "When supplied, the citation terminator (a period by default) is suppressed, so the quote needs to include terminating punctuation."

ref

[edit subtemplate]

display

[edit subtemplate]

Options for this field:

  • cs2: When set, changes:
    • postscript to "defaults to none"
    • separator to "Defaults to a comma (,)"

Subscription or registration required

[edit subtemplate]

Citations of online sources that require registration or a subscription are acceptable in Wikipedia as documented in Verifiability § Access to sources. As a courtesy to readers and other editors, editors should signal restrictions on access to material provided via the external links included in a citation. These levels describe requirements or constraints related to accessing and viewing the cited material; they are not intended to indicate the ability to reuse, or the copyright status, of the material, since that status is not relevant to verifying claims in articles.

Four access levels can be used:

As there are often multiple external links with different access levels in the same citation, each value is attributed to a specific external link.

Access indicators for url-holding parameters

Online sources linked by |url=, |article-url=, |chapter-url=, |contribution-url=, |entry-url=, |map-url=, and |section-url= are presumed to be free-to-read. When they are not free-to-read, editors should mark those sources with the matching access-indicator parameter so that an appropriate icon is included in the rendered citation. Because the sources linked by these URL-holding parameters are presumed to be free-to-read, they are not marked as free. If the registration/limited/subscription access to the source goes dead and is no longer available, then remove the access-indicator parameter and add |archive-url= and |archive-date= values if possible.

URL-holding and access-indicator parameters
URL Access Allowed keywords
|url= |url-access= registration Free registration required
limited Free access subject to limited trial, subscription normally required
subscription Paid subscription required
|article-url= |article-url-access=
|chapter-url= |chapter-url-access=
|contribution-url= |contribution-url-access=
|entry-url= |entry-url-access=
|map-url= |map-url-access=
|section-url= |section-url-access=

For example, this cites a web page that requires registration but not subscription:

{{cite web |url=https://example.com/nifty_data.php |url-access=registration |date=2021-04-15 |title=Nifty example data}}

which renders as:

"Nifty example data". 2021-04-15.
Access indicator for named identifiers

Links inserted by named identifiers are presumed to lie behind a paywall or registration barrier – exceptions listed below. When they are free-to-read, editors should mark those sources with the matching access-indicator parameter so that an appropriate icon is included in the rendered citation. When the sources linked by these named-identifier parameters are not presumed to carry a free-to-read full text (for instance because they're just abstracting services), they may not be marked as limited, registration, or subscription.

Named-identifier and access-indicator parameters
Identifier Access Allowed keywords
|bibcode= |bibcode-access= free Freely accessible
|doi= |doi-access=
|hdl= |hdl-access=
|jstor= |jstor-access=
|ol= |ol-access=
|osti= |osti-access=
|ssrn= |ssrn-access=
|s2cid= |s2cid-access=

Some named-identifiers are always free-to-read. For those named identifiers there are no access-indicator parameters; the access level is automatically indicated by the template. These named identifiers are:

For embargoed pmc that will become available in the future, see pmc-embargo-date.

map_series

[edit subtemplate]

map_pages

[edit subtemplate]

Examples: page (p.) or pages (pp.); inset(s); section (§) or sections (§§); other custom location on the map or in the atlas.

interview_author

[edit subtemplate]

  • subject-link: Title of existing Wikipedia article about the subject—not the subject's website; do not wikilink. Aliases: subject-link, author-link, author-linkn; subject-linkn, authorn-link
  • OR: for multiple subjects, use subject-linkn.
Aliases: subject, last, lastn, authorn, author, subjectn.

interview_interviewer

[edit subtemplate]

season

[edit subtemplate]

network

[edit subtemplate]

transcript

[edit subtemplate]

conference

[edit subtemplate]

Notes



Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Citation_Style_documentation&oldid=952522804"

Category: 
Documentation assistance templates
Hidden category: 
Wikipedia semi-protected templates
 



This page was last edited on 22 April 2020, at 17:58 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki