ފަންވަތް:Citation Style documentation
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
[އުނިއިތުރު ގެންނަވާ]{{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
[އުނިއިތުރު ގެންނަވާ]Usage section
[އުނިއިތުރު ގެންނަވާ]{{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
[އުނިއިތުރު ގެންނަވާ]- 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}}
|
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 =
}}
|
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
[އުނިއިތުރު ގެންނަވާ]Usage full
[އުނިއިތުރު ގެންނަވާ]Usage common
[އުނިއިތުރު ގެންނަވާ]Usage vertical
[އުނިއިތުރު ގެންނަވާ]Usage vertical mid
[އުނިއިތުރު ގެންނަވާ]Usage vertical end
[އުނިއިތުރު ގެންނަވާ]Examples section
[އުނިއިތުރު ގެންނަވާ]{{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}}
}}
Parameters section
[އުނިއިތުރު ގެންނަވާ]syntax
[އުނިއިތުރު ގެންނަވާ]COinS
[އުނިއިތުރު ގެންނަވާ]sep_period
[އުނިއިތުރު ގެންނަވާ]sep_comma
[އުނިއިތުރު ގެންނަވާ]required
[އުނިއިތުރު ގެންނަވާ]deprecated
[އުނިއިތުރު ގެންނަވާ]ފަންވަތް:Citation Style documentation/edit ފަންވަތް:Citation Style documentation/opt
author
[އުނިއިތުރު ގެންނަވާ]ފަންވަތް:Citation Style documentation/edit ފަންވަތް:Citation Style documentation/opt
editor
[އުނިއިތުރު ގެންނަވާ]title
[އުނިއިތުރު ގެންނަވާ]web
[އުނިއިތުރު ގެންނަވާ]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
[އުނިއިތުރު ގެންނަވާ]series
[އުނިއިތުރު ގެންނަވާ]series_episode
[އުނިއިތުރު ގެންނަވާ]event
[އުނިއިތުރު ގެންނަވާ]agency
[އުނިއިތުރު ގެންނަވާ]volume
[އުނިއިތުރު ގެންނަވާ]date
[އުނިއިތުރު ގެންނަވާ]ފަންވަތް:Citation Style documentation/edit ފަންވަތް:Citation Style documentation/opt
publisher
[އުނިއިތުރު ގެންނަވާ]ފަންވަތް:Citation Style documentation/edit ފަންވަތް:Citation Style documentation/opt
newsgroup
[އުނިއިތުރު ގެންނަވާ]language
[އުނިއިތުރު ގެންނަވާ]pages
[އުނިއިތުރު ގެންނަވާ]ފަންވަތް:Citation Style documentation/edit ފަންވަތް:Citation Style documentation/opt
time
[އުނިއިތުރު ގެންނަވާ]id1
[އުނިއިތުރު ގެންނަވާ]id2
[އުނިއިތުރު ގެންނަވާ]url
[އުނިއިތުރު ގެންނަވާ]ފަންވަތް:Citation Style documentation/edit ފަންވަތް:Citation Style documentation/opt
chapterurl
[އުނިއިތުރު ގެންނަވާ]lay
[އުނިއިތުރު ގެންނަވާ]quote
[އުނިއިތުރު ގެންނަވާ]ފަންވަތް:Citation Style documentation/edit ފަންވަތް:Citation Style documentation/opt
ref
[އުނިއިތުރު ގެންނަވާ]ref2
[އުނިއިތުރު ގެންނަވާ]display
[އުނިއިތުރު ގެންނަވާ]ފަންވަތް:Citation Style documentation/edit ފަންވަތް:Citation Style documentation/opt
Subscription or registration required
[އުނިއިތުރު ގެންނަވާ]map_series
[އުނިއިތުރު ގެންނަވާ]map_pages
[އުނިއިތުރު ގެންނަވާ]interview_id
[އުނިއިތުރު ގެންނަވާ]interview_author
[އުނިއިތުރު ގެންނަވާ]interview_interviewer
[އުނިއިތުރު ގެންނަވާ]album_name
[އުނިއިތުރު ގެންނަވާ]season
[އުނިއިތުރު ގެންނަވާ]network
[އުނިއިތުރު ގެންނަވާ]transcript
[އުނިއިތުރު ގެންނަވާ]conference
[އުނިއިތުރު ގެންނަވާ]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. |