Ŝablono:Citu libron/dokumentado
Ĉi tiu ŝablono estas uzata por citi fontojn en Vikilibroj. Ĝi estas specifa por libroj.
Uzo
[redakti]Ĉiuj kampoj nepre estu minusklaj.
Copy a blank version to use. Remember to use the "|" (pipe) character between each field. Please delete any unused fields to avoid clutter in the edit window.
No templates or magic words are necessary when using an w:en:ISBN, w:en:OCLC number, or w:en:DOI as an identifier. Instead of using the id
field in these instances, simply use the appropriate field. For instance, type isbn=
followed by the number instead of id=ISBN
. Templates are available for other identification number types to be used in the ID field ({{tl|ISSN}}, {{tl|LCCN}}, {{tl|LCC}}, etc.) if these aren't available. See also the complete description of fields.
Full version (copy and paste text below and delete parameters you don't need) | ||
---|---|---|
| ||
Most commonly used fields (or you can use this and not have to delete as much) | ||
| ||
Example 1 |
{{citu libron |last= Cordell |first= Bruce R. |coauthors= Jeff Grubb, David Yu |title= [[w:en:Manual of the Planes]] |publisher= [[w:en:Wizards of the Coast]] |year= 2001 |month= September |isbn= 0-7869-1850-8 }} |
Cordell, Bruce R.; Jeff Grubb, David Yu (September 2001). w:en:Manual of the Planes. w:en:Wizards of the Coast. |
Example 2 | {{citu libron | last = Mumford | first = David | authorlink = David Mumford | title = The Red Book of Varieties and Schemes | publisher = [[w:en:Springer-Verlag]] | series = Lecture notes in mathematics 1358 | year = 1999 | doi = 10.1007/b62130 | isbn = 354063293X }} |
Mumford, David (1999). The Red Book of Varieties and Schemes. w:en:Springer-Verlag. DOI:10.1007/b62130. |
Vertical list | Prerequisites * | Brief instructions |
---|---|---|
{{citu libron | last = | first = | authorlink = | coauthors = | editor = | others = | title = | origdate = | origyear = | origmonth = | url = | format = | accessdate = | accessyear = | accessmonth = | edition = | series = | date = | year = | month = | publisher = | location = | language = | isbn = | oclc = | doi = | id = | pages = | chapter = | chapterurl = | quote = | ref = }} |
last last last REQUIRED** url url publisher chapter |
(no wikilink) (no wikilink) †preferred (no wikilink) alternative to origdate alternative to origdate †preferred (no wikilink) alternative to accessdate alternative to accessdate †preferred (no wikilink) alternative to date alternative to date ‡(no wikilink) |
∗ | The field listed below is a prerequisite for the field to the left. For example last is a prerequisite to first meaning first will NOT be displayed even if it has a value unless last also has a value. |
∗∗ | Wikilinks must link to an existing article, and cannot be used if url is used below. |
† | This is the preferred field with its alternates listed below. |
‡ | If chapterurl is provided then chapter can not have wikilinks. |
Fields
[redakti]Wikilinks
[redakti]Most fields can be wikilinked (ie. title = [[w:en:book article|book title]]), but should generally only be linked to an existing Wikipedia article. Any wikilinked field must not contain any brackets apart from normal round brackets ()
— don't use <>[]{}
.
Description of fields
[redakti]Syntax (for the technical-minded)
[redakti]Nested fields either rely on their parent fields, or replace them:
- parent
- child — may be used with parent (and is ignored if parent is not used)
- OR: child2 — may be used instead of parent (and is ignored if parent is used)
Description
[redakti]- last: Surname of author. Don't wikilink (use authorlink instead).
- first: First name(s) of author, including title(s) (eg. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Don't wikilink (use authorlink instead).
- The `last' and `first' fields are poorly named for the case of an author whose surname is usually written first (e.g. as in Chinese). They also have the problem of only communicating which is the surname, not communicating where the surname is usually written. Consider deprecating first,last fields, and reinstating author field, using the notation "Smith, John" or "Hu Ke Jie" as appropriate (i.e. always writing surname first, and using comma or not depending on whether the name is usually written surname last or first).
- authorlink: Title of Wikipedia article about author. Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with "author" or "first" and "last".
- coauthors: Full name of additional author or authors, separated by ", " (eg. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- OR: author: Full name of author, preferably surname first.
- first: First name(s) of author, including title(s) (eg. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Don't wikilink (use authorlink instead).
- editor: Name of editor/editors. No text is added beyond "in," so labels such as "(ed.)" have to be supplied by the user.
- This field should only be used when the cited author and the book editor are different. If the whole book is cited, instead of a specific part, use the "author" fields (possibly with extra "(ed.)" instead)
- others: For uses such as "illustrated by Smith" or "trans. Smith".
- title: Title of book. This is the only required parameter. Can be wikilinked only to an existing Wikipedia article. Do not use italics.
- url: URL of an online book. Cannot be used if you wikilinked title.
- format: Format, e.g. PDF. HTML implied if not specified.
- accessdate: Full date when url was accessed, in w:en:ISO 8601 YYYY-MM-DD format, eg. 2006-02-17. Required when url field is used. Must not be wikilinked.
- OR: accessyear: Year when item was accessed, and accessmonth: Month when item was accessed. If you also have the day, use accessdate instead. Must not be wikilinked.
- edition: When the book has more than one edition. eg: "2nd edition".
- series: When the book is part of a series of publications
- origdate: Full date of publication of original edition, in w:en:ISO 8601 YYYY-MM-DD format, eg. 2004-06-27. Must not be wikilinked.
- OR: origyear: Year of publication of original edition, and origmonth: Month of publication of original edition. If you also have the day, use date instead. Must not be wikilinked.
- date: Full date of publication edition being referenced, in w:en:ISO 8601 YYYY-MM-DD format, eg. 2006-02-17. Must not be wikilinked.
- OR: year: Year of publication edition being referenced, and month: Name of the month of publication. If you also have the day, use date instead. Must not be wikilinked.
- publisher: Publisher should not include corporate designation such as "Ltd" or "Inc".
- location: Place of publication.
- language: The language the book is written in, if it is not English.
- isbn: w:en:International Standard Book Number such as 1-111-22222-9.
- oclc: w:en:Online Computer Library Center ID number, such as 3185581
- doi: A w:en:digital object identifier such as 10.1016/j.coi.2004.08.001.
- id: A w:en:unique identifier, used if none of the above are applicable. In this case, you need to specify the kind of identifier you are using, preferably with a template like {{ISSN}}. (Use one of the more specialized parameters if possible; they are linked automatically. In other words, don't use id = ISBN 1-111-22222-9 anymore. Use isbn = 1-111-22222-9.)
- pages: pp. 5–7: first page and optional last page. This is for listing the pages relevant to the citation, not the total number of pages in the book.
- chapter: The chapter of the book, written in full. Punctuation other than quotes should be included in the value passed to the parameter, eg. chapter = Meet Dick and Jane. produces "Meet Dick and Jane." ahead of title.
- chapterurl: URL of an individual chapter of online book. Should be at the same site as url, if any.
- quote: Relevant quote from the book.
- ref: use this parameter to make the reference linkable. The variable is placed after the # in a hyperlink (the w:en:fragment identifier).
Examples
[redakti]- Just a title
* {{citu libron | title=Mysterious book }}
- Mysterious book.
- Year and title
* {{citu libron | title=Mysterious book | year=1901 }}
- (1901) Mysterious book.
- Basic usage
* {{citu libron | first=Joe | last=Bloggs | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs }}
- Bloggs, Joe (1974). Book of Bloggs.
- Basic usage with url
* {{citu libron | last=Bloggs | first=Joe | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs | edition=1st Edition | url=http://en.wikipedia.org/ | accessdate=2006-02-17 }}
- Bloggs, Joe (1974). Book of Bloggs, 1st Edition. Retrieved on 2006-02-17.
- Three authors, title with a piped wikilink, edition
* {{citu libron | last=Bloggs | first=Joe | authorlink=Joe Bloggs | coauthors=John Smith, Jim Smythe | title=[[w:en:A Thousand Acres|1000 Acres]] | edition=2nd Edition }}
- Bloggs, Joe; John Smith, Jim Smythe. 1000 Acres, 2nd Edition.
- Date without day, wikilinked title and publisher, id, pages, location
* {{citu libron | last=Cordell | first=Bruce R. | coauthors=Jeff Grubb, David Noonan | year=2001 | month=September | title=[[w:en:Manual of the Planes]] | publisher=[[w:en:Wizards of the Coast]] | location=Timbuktu | isbn=0-7869-1850-8 | pages=pp. 134-137 }}
- Cordell, Bruce R.; Jeff Grubb, David Noonan (September 2001). w:en:Manual of the Planes. Timbuktu: w:en:Wizards of the Coast, pp. 134-137.
- Date of first edition, other language, illustrator
* {{citu libron | last=Bloggs | first=Joe | origyear=1463 | year=1974 | title=Book of Bloggs | edition=1st Edition | others=illustrated by Smith | language=German | url=http://en.wikipedia.org/ | accessdate=2006-02-17 }}
- Bloggs, Joe [1463] (1974). Book of Bloggs, illustrated by Smith, 1st Edition (in German). Retrieved on 2006-02-17.
- Using a DOI
*{{citu libron | last=Mumford | first=David | authorlink=David Mumford | year=1999 | title=The Red Book of Varieties and Schemes: Includes the Michigan Lectures (1974) on Curves and Their Jacobians | edition=2nd ed. | publisher=[[w:en:Springer-Verlag]] | doi=10.1007/b62130 | isbn=354063293X }}
- Mumford, David (1999). The Red Book of Varieties and Schemes: Includes the Michigan Lectures (1974) on Curves and Their Jacobians, 2nd ed., w:en:Springer-Verlag. DOI:10.1007/b62130.