සැකිල්ල:Cite EB15/doc

විකිපීඩියා වෙතින්

Wraps {{cite encyclopedia}} to produce a citation for the Encyclopedia Britannica, 15th edition.

Usage[සංස්කරණය]

{{Cite EB15|1997}}

{{Cite EB15|year=1989|volume=4|article=Buddhism|page=602}}

{{Cite EB15|1989|4|Buddhism|page=602}}

Parameters[සංස්කරණය]

There are many named parameters, one required ('year') and all the rest optional. The first three have positional (numeric) aliases (1, 2, 3). Normally, three or four parameters are sufficient to provide full verifiability for a footnote:

  • |year= – year of publication; alias: |1=; no default, parameter is required
  • |volume= – number of the volume; 1 to 29, or specify values Index or Propaedia; (alias: |2=; no default)
  • |article= – name of the article from the encyclopedia; aliases: 3, headword, title. (no default)
  • |page= – page number(s) of the article in the given volume (or, use: |pages=; no default)

Note that these two {{citation}} params are fixed and their values cannot be overridden; their values are:

  • |encyclopedia=[[The New Encyclopædia Britannica]]
  • |edition=15

There are many other named parameters that are the same as those described in Template:Cite encyclopedia. Note that there is normally no reason to specify |editor=, as the template will choose the right name based on the value of param year.

These additional named parameters are available, and are all optional. If specified, they wrap the corresponding parameter in {{cite encyclopedia}}. See the documentation at {{cite encyclopedia#Parameters}} for a description.

  • |date=
  • |last=
  • |first=
  • |last2=
  • |first2=
  • |last3=
  • |first3=
  • |author=
  • |author2=
  • |author3=
  • |author-link=
  • |author-link2=
  • |author-link3=
  • |publisher=
  • |location=
  • |editor= – defaults to correct name for the year
  • |isbn= – defaults to 978-0-85229-663-9, but may be overridden for a specific volume and year
  • |oclc= – defaults to 855170286, but may be overridden for a specific volume and year
  • |id=
  • |url=
  • |url-access=
  • |via=
  • |access-date=
  • |ref= – defaults to {{harvid|EB15|YEAR}} to facilitate use of shortened footnotes; see § Shortened footnotes below.
  • |quote=
  • |mode=

Shortened footnotes[සංස්කරණය]

If you are using shortened footnotes and adding numerous footnotes from different pages of the same volume, it may be most convenient to include the volume in the |ref= param, so you only have to specify the page number in the short footnotes:

The sky is blue.{{sfn|EB15-v28|1989|p=789}} There are clouds in it.{{sfn|EB15-v28|1989|p=807}} And stars, after dark.{{sfn|EB15-v28|1989|pp=791–793}} 

==Works cited==
* {{Cite EB15 | 1989 | volume=28 | article=Sky | ref={{harvid|EB15-v28|1989}} }}

But if your short footnotes reference a number of different volumes, it may be more convenient to avoid specifying the volume in the main citation, and use the |loc= parameter of {{sfn}} to specify both volume and page at the same time:

The sky is blue.{{sfn|EB15|1991|loc=v.28, p.789}} There are clouds in it.{{sfn|EB15|1991|loc=v.5, p.128}} And stars, after dark.{{sfn|EB15|1991|loc=v.2, p.417–419}} 

==Works cited==
* {{Cite EB15 | 1991 | ref={{harvid|EB15|1991}} }}

Note that since the default for |ref= if omitted is EB15 plus the year, the |ref= param in the second case above could be left out entirely, and {{Cite EB15|1991}} alone would both generate the exact same full citation, as well as provide proper linkage for all the {{sfn}} templates in that example.

Examples[සංස්කරණය]

  {{Cite EB15|1997}}Year only
{{Cite EB15|1997}}
Robert McHenry, ed (1997). The New Encyclopædia Britannica (15 ed.). Chicago: Encyclopædia Britannica, Incorporated. . . https://books.google.com/books?id=VdH4sgEACAAJ. 
  {{Cite EB15|year=1989|volume=4|article=Buddhism|page=602}}Four main params: year-volume-article-page
{{Cite EB15|year=1989|volume=4|article=Buddhism|page=602}}
Philip W. Goetz, ed (1989). "Buddhism". The New Encyclopædia Britannica. 4 (15 ed.). Chicago: Encyclopædia Britannica, Incorporated. p. 602. . . https://books.google.com/books?id=VdH4sgEACAAJ. 

Same as above, using positional params 1 – 3:

{{Cite EB15|1989|4|Buddhism|page=602}}
Philip W. Goetz, ed (1989). "Buddhism". The New Encyclopædia Britannica. 4 (15 ed.). Chicago: Encyclopædia Britannica, Incorporated. p. 602. . . https://books.google.com/books?id=VdH4sgEACAAJ. 
  {{Cite EB15|year=1989|volume=4|page=602}}Year-volume-page, but no article
{{Cite EB15|year=1989|volume=4|page=602}}
Philip W. Goetz, ed (1989). The New Encyclopædia Britannica. 4 (15 ed.). Chicago: Encyclopædia Britannica, Incorporated. p. 602. . . https://books.google.com/books?id=VdH4sgEACAAJ. 
  {{Cite EB15|year=1968}}invalid or missing year: template generates an error message
{{Cite EB15|year=1968}}

Error: Missing or invalid 'year' param in {{Cite EB15}}.

{{Cite EB15}}

Error: Missing or invalid 'year' param in {{Cite EB15}}.

  {{Cite EB15|year=1985|volume=4|article=Buddhism|isbn=...|oclc=...}}Additional override params (isbn and oclc)
{{Cite EB15|year=1985|volume=4|article=Buddhism|isbn=978-0-85229-443-7|oclc=655823191}}
Philip W. Goetz, ed (1985). "Buddhism". The New Encyclopædia Britannica. 4 (15 ed.). Chicago: Encyclopædia Britannica, Incorporated. . . https://books.google.com/books?id=VdH4sgEACAAJ. 

See also[සංස්කරණය]


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Cite_EB15/doc&oldid=529713" වෙතින් සම්ප්‍රවේශනය කෙරිණි