Template documentation[view] [edit] [history] [purge]

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.

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

  • Lead: a brief overview of the template intent
  • Usage: samples of blank parameters that can be copied and pasted
  • Examples: examples of various usage
  • Parameters: detailed descriptions of each parameter
    • Syntax: overview of the template syntax
    • Deprecated: list of deprecated parameters
    • Description: parameter descriptions separated by function in this general order:
      • Authors
      • Title
      • Date
      • Publisher
      • Edition, series, volume
      • In-source locations
      • URL
      • Anchor
      • Identifiers
      • Quote
      • Editors
      • Lay summary
      • Display options

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

[edit subtemplate]

This Citation Style 1 template is used to create citations for . आकृति:Citation Style documentation/opt

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

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

[edit subtemplate]

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

Copy a blank version to use. All parameter names must be in lowercase. Use the "|" (pipe) character between each parameter. Delete unused parameters to avoid clutter in the edit window. Some samples 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.

  • Start with {{csdoc|usage full}}
  • Precede the sample markup with : to create an indent
  • Enclose the sample in <code><nowiki>...</nowiki></code>
  • Close the table with {{end}}

आकृति:Pre2

Full parameter set in horizontal format
{{cite book |last1= |first1= |authorlink1= |last2= |first2= |authorlink2= |editor1-first= |editor1-last= |editor1-link= |others= |title= |trans_title= |url= |archiveurl= |archivedate= |format= |accessdate= |type= |edition= |series= |volume= |date= |year= |month= |origyear= |publisher= |location= |language= |isbn= |oclc= |doi= |id= |page= |pages= |at= |trans_chapter= |chapter= |chapterurl= |quote= |ref= |bibcode= |layurl= |laysource= |laydate= |author-mask= |author-name-separator= |author-separator= |display-authors= |separator= |postscript= |lastauthoramp=}}

Most commonly used horizontal style

सम्पादन करी
  • Start with {{csdoc|usage common}}
  • Precede the sample markup with : to create an indent
  • Enclose the sample in <code><nowiki>...</nowiki></code>
  • Close the table with {{end}}

आकृति:Pre2 आकृति:Citation Style documentation/usage common

{{cite book |last= |first= |authorlink= |title= |url= |accessdate= |year= |publisher= |location= |isbn= |page= |pages=}}

|}

The full vertical style is created in three columns: Vertical list, Prerequisites and Brief instructions / notes.

  • Start with:

आकृति:Pre2

  • Create the vertical list column
  • Separate the next column with:

आकृति:Pre2

  • Create the prerequisites column; blank lines must include a &nbsp;
  • Separate the next column with:

आकृति:Pre2

  • Create the instructions column; blank lines must include a &nbsp;
  • End with:

आकृति:Pre2

Example: आकृति:Pre2

Full parameter set in vertical format
Vertical list Prerequisites Brief instructions / notes
{{cite book
| last                  =
| first                 =
| authorlink            =
}}

आकृति:Citation Style documentation/usage vertical mid

 
 
last
 
 

आकृति:Citation Style documentation/usage vertical mid

 
same as last1
same as first1
 
 

आकृति:Citation Style documentation/usage vertical end

[edit subtemplate]

Copy a blank version to use. All parameter names must be in lowercase. Use the "|" (pipe) character between each parameter. Delete unused parameters to avoid clutter in the edit window. Some samples may include the current date. If the date is not current, then purge the page.

[edit subtemplate]

Full parameter set in horizontal format

[edit subtemplate]

आकृति:Citation Style documentation/usage common |}

[edit subtemplate]

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

[edit subtemplate]

आकृति:Citation Style documentation/usage vertical mid |}

[edit subtemplate]

आकृति:Citation Style documentation/usage vertical end

Use {{markup2}} to format the examples; see the template documentation for use.

{{markup2 |t=Basic usage with url (and accessdate) and edition
|m={{cite book |title=Mysterious book}}
|r={{cite book |title=Mysterious book}}
}}

Basic usage with url (and accessdate) and edition

  • {{cite book |title=Mysterious book}}
Mysterious book. 

[edit subtemplate]

आकृति:Citation Style documentation/syntax

[edit subtemplate]

आकृति:Citation Style documentation/coins

[edit subtemplate]

आकृति:Citation Style documentation/sep period

[edit subtemplate]

आकृति:Citation Style documentation/sep comma

[edit subtemplate]

आकृति:Citation Style documentation/required

[edit subtemplate]

आकृति:Citation Style documentation/deprecated आकृति:Citation Style documentation/opt

[edit subtemplate]

आकृति:Citation Style documentation/author आकृति:Citation Style documentation/opt

[edit subtemplate]

आकृति:Citation Style documentation/editor आकृति:Citation Style documentation/opt

[edit subtemplate]

आकृति:Citation Style documentation/title

आकृति:Citation Style documentation/opt

[edit subtemplate]

आकृति:Citation Style documentation/web

[edit subtemplate]

आकृति:Citation Style documentation/chapter आकृति:Citation Style documentation/opt

[edit subtemplate]

आकृति:Citation Style documentation/type आकृति:Citation Style documentation/opt

[edit subtemplate]

आकृति:Citation Style documentation/journal आकृति:Citation Style documentation/opt

[edit subtemplate]

आकृति:Citation Style documentation/edition

[edit subtemplate]

आकृति:Citation Style documentation/series

[edit subtemplate]

आकृति:Citation Style documentation/series episode

[edit subtemplate]

आकृति:Citation Style documentation/event

[edit subtemplate]

आकृति:Citation Style documentation/agency

[edit subtemplate]

आकृति:Citation Style documentation/volume आकृति:Citation Style documentation/opt

[edit subtemplate]

  • date: Date of source being referenced. Can be full date (day, month, and year) or partial date (month and year, season and year, or year). Use same format as other publication dates in the citations.[date १] Required when year is used to disambiguate {{sfn}} links to multiple-work citations by the same author in the same year.[more] Do not wikilink. Displays after the authors and is enclosed in parentheses. If there is no author, then displays after publisher. For acceptable date formats, see Help:Citation Style 1 § Dates.
For approximate year, precede with "c. ", like this: |date=c. 1900.

For no date, or "undated", add as |date=n.d.
  • year: Year of source being referenced. Use of |date= is recommended unless all of the following conditions are met:
    1. The template uses |ref=harv, or the template is {{citation}}, or |mode=cs2
    2. The |date= format is YYYY-MM-DD.
    3. The citation requires a CITEREF disambiguator.
  • orig-year: Original publication year; displays after the date or year. For clarity, please supply specifics. For example: |orig-year=First published 1859 or |orig-year=Composed 1904. Alias: origyear
  • df: date format; sets rendered dates to the specified format; does not support date ranges or seasonal dates. Accepts one value which may be one of these:
    dmy – set publication dates to day month year format; access- and archive-dates are not modified;
    mdy – as above for month day, year format
    ymd – as above for year initial numeric format YYYY-MM-DD
    dmy-all – set publication, access-, and archive-dates to day month year format;
    mdy-all – as above for month day, year format
    ymd-all – as above for year initial numeric format YYYY-MM-DD
  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 .

आकृति:Citation Style documentation/opt

[edit subtemplate]

आकृति:Citation Style documentation/publisher आकृति:Citation Style documentation/opt

[edit subtemplate]

आकृति:Citation Style documentation/newsgroup

[edit subtemplate]

आकृति:Citation Style documentation/language

[edit subtemplate]

आकृति:Citation Style documentation/pages आकृति:Citation Style documentation/opt

[edit subtemplate]

आकृति:Citation Style documentation/time

[edit subtemplate]

आकृति:Citation Style documentation/id1

[edit subtemplate]

आकृति:Citation Style documentation/id2

[edit subtemplate]

आकृति:Citation Style documentation/url आकृति:Citation Style documentation/opt

[edit subtemplate]

आकृति:Citation Style documentation/chapterurl

[edit subtemplate]

आकृति:Citation Style documentation/lay

[edit subtemplate]

आकृति:Citation Style documentation/quote आकृति:Citation Style documentation/opt

[edit subtemplate]

आकृति:Citation Style documentation/ref

[edit subtemplate]

आकृति:Citation Style documentation/ref2

[edit subtemplate]

आकृति:Citation Style documentation/display आकृति:Citation Style documentation/opt

Subscription or registration required

सम्पादन करी

[edit subtemplate]

आकृति:Citation Style documentation/registration

[edit subtemplate]

आकृति:Citation Style documentation/map series

[edit subtemplate]

आकृति:Citation Style documentation/map pages

[edit subtemplate]

आकृति:Citation Style documentation/interview id

[edit subtemplate]

आकृति:Citation Style documentation/interview author

[edit subtemplate]

आकृति:Citation Style documentation/interview interviewer

[edit subtemplate]

आकृति:Citation Style documentation/album name

[edit subtemplate]

आकृति:Citation Style documentation/season

[edit subtemplate]

आकृति:Citation Style documentation/network

[edit subtemplate]

आकृति:Citation Style documentation/transcript

[edit subtemplate]

आकृति:Citation Style documentation/conference