ढाँचा:Citation Style documentation

स्वतन्त्र विश्वकोश, नेपाली विकिपिडियाबाट
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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 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}}
{{csdoc|usage full}}
:<code><nowiki>{{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= |origyear= |publisher= |location= |language= |isbn= |oclc= |doi= |id= |page= |pages= |at= |trans_chapter= |chapter= |chapterurl= |quote= |ref= |bibcode= |layurl= |laysource= |laydate= |author-mask= |display-authors= |postscript= |lastauthoramp=}}</nowiki></code>
{{end}}
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= |origyear= |publisher= |location= |language= |isbn= |oclc= |doi= |id= |page= |pages= |at= |trans_chapter= |chapter= |chapterurl= |quote= |ref= |bibcode= |layurl= |laysource= |laydate= |author-mask= |display-authors= |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}}
{{csdoc|usage common}}
:<code><nowiki>{{cite book |last= |first= |authorlink= |title= |url= |accessdate= |year= |publisher= |location= |isbn= |page= |pages=}}</nowiki></code>
{{end}}
Most commonly used parameters in horizontal format
{{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:
{{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                 =
| authorlink            =
}}
</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}}
Full parameter set in vertical format
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[सम्पादन गर्ने]

ढाँचा: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 (see that template's 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/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 ढाँचा:Citation Style documentation/opt

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[सम्पादन गर्ने]