ᱪᱷᱟᱸᱪ:Citation Style documentation
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:
ᱪᱷᱟᱸᱪ:Citation Style documentation/edit ᱪᱷᱟᱸᱪ:Citation Style documentation/opt
Markup | Renders as |
---|---|
{{csdoc|lead|books}} |
This Citation Style 1 template is used to create citations for books. |
Lua notice
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]Script error: No such module "Suppress categories".
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 Italic text 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}}
{{csdoc|usage full}} :<code><nowiki>{{cite book |last1= |first1= |author1-link= |last2= |first2= |author2-link= |editor1-first= |editor1-last= |editor1-link= |others= |title= |trans-title= |url= |archive-url= |archive-date= |format= |access-date= |type= |edition= |series= |volume= |date= |year= |orig-year= |publisher= |location= |language= |isbn= |oclc= |doi= |id= |page= |pages= |at= |trans-chapter= |chapter= |chapter-url= |quote= |ref= |bibcode= |lay-url= |lay-source= |lay-date= |author-mask= |display-authors= |postscript= |last-author-amp=}}</nowiki></code> {{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}}
{{csdoc|usage common}} :<code><nowiki>{{cite book |last= |first= |author-link= |title= |url= |access-date= |year= |publisher= |location= |isbn= |page= |pages=}}</nowiki></code> {{end}}
|
Full vertical style
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]The full vertical style is created in three columns: 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
- Separate the next column with:
</pre> {{csdoc|usage vertical mid}} <pre style="margin:0px;">
- Create the instructions column; blank lines must include a
- 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;"> last </pre> {{csdoc|usage vertical mid}} <pre style="margin:0px;"> same as last1 same as first1 </pre> {{csdoc|usage vertical end}}
Vertical list | Prerequisites | Brief instructions / notes |
---|---|---|
{{cite book | last = | first = | author-link = }} |
last |
same as last1 same as first1 |
- If a field name is listed in the Prerequisites column, it is a prerequisite for the field to the left.
Sub-templates
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]Usage
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit |}
Usage full
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit |}
Usage common
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit |}
Usage vertical
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit |}
Usage vertical mid
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit |}
Usage vertical end
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
Examples section
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]Use {{markup2}} to format the examples .
{{markup2 |t=Basic usage with url (and accessdate) and edition |m={{cite book |title=Mysterious book}} |r={{cite book |title=Mysterious book}} }}
Parameters section
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]syntax
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
COinS
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
sep_period
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
sep_comma
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
required
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
deprecated
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
author
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit ᱪᱷᱟᱸᱪ:Citation Style documentation/opt
editor
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
title
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
ᱪᱷᱟᱸᱪ:Citation Style documentation/opt
web
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
chapter
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit ᱪᱷᱟᱸᱪ:Citation Style documentation/opt
type
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit ᱪᱷᱟᱸᱪ:Citation Style documentation/opt
journal
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit ᱪᱷᱟᱸᱪ:Citation Style documentation/opt
edition
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
series
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
series_episode
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
event
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
agency
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
volume
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
date
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit ᱪᱷᱟᱸᱪ:Citation Style documentation/opt
publisher
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit ᱪᱷᱟᱸᱪ:Citation Style documentation/opt
newsgroup
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
language
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
pages
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit ᱪᱷᱟᱸᱪ:Citation Style documentation/opt
time
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
id1
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
id2
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
url
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit ᱪᱷᱟᱸᱪ:Citation Style documentation/opt
chapterurl
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
lay
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
quote
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit ᱪᱷᱟᱸᱪ:Citation Style documentation/opt
ref
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
ref2
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
display
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit ᱪᱷᱟᱸᱪ:Citation Style documentation/opt
Subscription or registration required
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
map_series
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
map_pages
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
interview_id
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
interview_author
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
interview_interviewer
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
album_name
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
season
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
network
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
transcript
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
conference
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]ᱪᱷᱟᱸᱪ:Citation Style documentation/edit
See also
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]The above documentation is transcluded from ᱪᱷᱟᱸᱪ:Citation Style documentation/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |