आकृति:Csdoc/doc
This is a documentation subpage for आकृति:Csdoc. It contains usage information, categories and other content that is not part of the original आकृति page. |
When updating this template keep in mind that it is used on a number of template documentation pages. If the parameters in question are unique to a template, then either add it manually to the template documentation or create a new section here for transclusion. |
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: 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
Lead section सम्पादन करी
Use {{csdoc|lead|content}}
to create consistent content for the lead:
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. |
Lua notice सम्पादन करी
This template uses Lua: |
Usage section सम्पादन करी
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 the page.
Parameters to copy are enclosed in tables created by sub-templates.
Full horizontal style सम्पादन करी
- 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}}
|
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=}}
|}
Full vertical style सम्पादन करी
The full vertical style is created in three columns: Vertical list, Prerequisites and Brief instructions / notes.
- Start with:
- Create the vertical list column
- Separate the next column with:
- Create the prerequisites column; blank lines must include a
- Separate the next column with:
- Create the instructions column; blank lines must include a
- End with:
Example: आकृति:Pre2
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 Sub-templates सम्पादन करी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 the page. |
Usage full सम्पादन करी
Usage common सम्पादन करी
आकृति:Citation Style documentation/usage common |}
Usage vertical सम्पादन करी
Vertical list | Prerequisites | Brief instructions / notes |
---|---|---|
Usage vertical mid सम्पादन करी
आकृति:Citation Style documentation/usage vertical mid |}
Usage vertical end सम्पादन करी
आकृति:Citation Style documentation/usage vertical end
Examples section सम्पादन करी
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.
Parameters section सम्पादन करी
syntax सम्पादन करी
आकृति:Citation Style documentation/syntax
COinS सम्पादन करी
आकृति:Citation Style documentation/coins
sep_period सम्पादन करी
आकृति:Citation Style documentation/sep period
sep_comma सम्पादन करी
आकृति:Citation Style documentation/sep comma
required सम्पादन करी
आकृति:Citation Style documentation/required
deprecated सम्पादन करी
आकृति:Citation Style documentation/deprecated आकृति:Citation Style documentation/opt
author सम्पादन करी
आकृति:Citation Style documentation/author आकृति:Citation Style documentation/opt
editor सम्पादन करी
आकृति:Citation Style documentation/editor आकृति:Citation Style documentation/opt
title सम्पादन करी
आकृति:Citation Style documentation/title
आकृति:Citation Style documentation/opt
web सम्पादन करी
आकृति:Citation Style documentation/web
chapter सम्पादन करी
आकृति:Citation Style documentation/chapter आकृति:Citation Style documentation/opt
type सम्पादन करी
आकृति:Citation Style documentation/type आकृति:Citation Style documentation/opt
journal सम्पादन करी
आकृति:Citation Style documentation/journal आकृति:Citation Style documentation/opt
edition सम्पादन करी
आकृति:Citation Style documentation/edition
series सम्पादन करी
आकृति:Citation Style documentation/series
series_episode सम्पादन करी
आकृति:Citation Style documentation/series episode
event सम्पादन करी
आकृति:Citation Style documentation/event
agency सम्पादन करी
आकृति:Citation Style documentation/agency
volume सम्पादन करी
आकृति:Citation Style documentation/volume आकृति:Citation Style documentation/opt
date सम्पादन करी
- 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 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:- The template uses
|ref=harv
, or the template is{{citation}}
, or|mode=cs2
- The
|date=
format is YYYY-MM-DD. - The citation requires a
CITEREF
disambiguator.
- The template uses
- 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 formatymd
– as above for year initial numeric format YYYY-MM-DDdmy-all
– set publication, access-, and archive-dates to day month year format;mdy-all
– as above for month day, year formatymd-all
– as above for year initial numeric format YYYY-MM-DD
- ↑ 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.
आकृति:Citation Style documentation/opt
publisher सम्पादन करी
आकृति:Citation Style documentation/publisher आकृति:Citation Style documentation/opt
newsgroup सम्पादन करी
आकृति:Citation Style documentation/newsgroup
language सम्पादन करी
आकृति:Citation Style documentation/language
pages सम्पादन करी
आकृति:Citation Style documentation/pages आकृति:Citation Style documentation/opt
time सम्पादन करी
आकृति:Citation Style documentation/time
id1 सम्पादन करी
आकृति:Citation Style documentation/id1
id2 सम्पादन करी
आकृति:Citation Style documentation/id2
url सम्पादन करी
आकृति:Citation Style documentation/url आकृति:Citation Style documentation/opt
chapterurl सम्पादन करी
आकृति:Citation Style documentation/chapterurl
lay सम्पादन करी
आकृति:Citation Style documentation/lay
quote सम्पादन करी
आकृति:Citation Style documentation/quote आकृति:Citation Style documentation/opt
ref सम्पादन करी
आकृति:Citation Style documentation/ref
ref2 सम्पादन करी
आकृति:Citation Style documentation/ref2
display सम्पादन करी
आकृति:Citation Style documentation/display आकृति:Citation Style documentation/opt
Subscription or registration required सम्पादन करी
आकृति:Citation Style documentation/registration
map_series सम्पादन करी
आकृति:Citation Style documentation/map series
map_pages सम्पादन करी
आकृति:Citation Style documentation/map pages
interview_id सम्पादन करी
आकृति:Citation Style documentation/interview id
interview_author सम्पादन करी
आकृति:Citation Style documentation/interview author
interview_interviewer सम्पादन करी
आकृति:Citation Style documentation/interview interviewer
album_name सम्पादन करी
आकृति:Citation Style documentation/album name
season सम्पादन करी
आकृति:Citation Style documentation/season
network सम्पादन करी
आकृति:Citation Style documentation/network
transcript सम्पादन करी
आकृति:Citation Style documentation/transcript
conference सम्पादन करी
आकृति:Citation Style documentation/conference
See also सम्पादन करी