Template:Book/doc

From Ledet Training Wiki

Jump to: navigation, search


(this part of the documentation is only available in some languages)

This template is used to provide formatting to the basic information about books and should be used in place of {{information}} when a set of images (either multiple files or a single DjVu or PDF) comprise the full text of a book.

This template will categorize into Category:Anonymous books and Category:Books by various authors., if appropriate.
This template will categorize into Category:Books by year., if publication date are provided in YYYY form.
This template will categorize into Category:Book templates., if used in a template.

Contents

Usage

{{Book
|Author=
|Translator=
|Editor=
|Illustrator=
|Title=
|Subtitle=
|Series title=
|Volume=
|Edition=
|Publisher=
|Printer=
|Date=
|City=
|Language=
|Description=
|Source=
|Permission=
|Image=
|Image page=
|Wikisource=
|Homecat=
|Other_versions=
}}

(this part of the documentation is only available in some languages)

Example usage

For example the source code of the book description at Category:Geometria by Augustin Hirschvogel is:

{{Book
| Author = Augustin Hirschvogel
| Date = 1543
| Image = Fotothek df tg 0003618 Geometrie ^ Architektur ^ Perspektive ^ Polyeder.jpg
| Language = German
| Source = Scan of original book from [[:de:Deutsche Fotothek|Deutsche Fotothek]]
| Subtitle = Das Bvch Geometria ist mein Namen, All Freye Kvnst Avs Zvm Ersten Kamen, Ich Bring Architectvra vnd Perspectiva zvsamen
| Title = Geometria
}}

For an example of the usage on a multi-image DjVu file see the implementation at: File:Three Books of Occult Philosophy (De Occulta Philosophia) (1651).djvu, the code follows:

{{Book
|Author={{creator:Heinrich Cornelius Agrippa von Nettesheim}}
|Translator={{creator:John French}}
|Editor=
|Illustrator=
|Title=Three Books of Occult Philosophy
|Subtitle=
|Series title=
|Volume=
|Edition=
|Publisher=Gregory Moule
|Printer=R.W.
|Date={{date|1651||}}
|City=London
|Language=English
|Description={{en|Original 1651 English translation by [[John French (physician)|John French]] of [[w:De occulta philosophia libri tres|De occulta philosophia libra III (Three Books of Occult Philosophy)]] by [[w:Heinrich Cornelius Agrippa|Heinrich Cornelius Agrippa]]}}
|Source=http://archive.lib.msu.edu/AFS/dmc/arts/public/all/threebooksoccult/ANL.pdf  [[w:Michigan State University|Michigan State University]] Libraries: [http://digital.lib.msu.edu/collections/index.cfm?TitleID=247 Digital Collections] individual pages are also available as .GIFs from the same source
|License={{PD-old-100}}
|Image=Three Books of Occult Philosophy (De Occulta Philosophia) (1651).djvu
|Image page=5
|Wikisource=s:en:Three Books of Occult Philosophy
|Homecat=
| Other_versions = [[:File:De Occulta Philosophia Libri III (1533).djvu|De Occulta Philosophia libri III (1533)]] (Latin); [[:File:Magische Werke (De Occulta Philosophia) (1855).djvu|Magische Werke (Book II) (1855)]] (German)  
}}

the same format would work with a multi-image pdf.

Parameters

Parameter name Description (this part of the documentation is only available in some languages) Default value required or optional?

Author book's author or authors. If author is anonymous then write anonymous or unbekannt. If multiple authors then write various authors or verschiedene and provide Editor name. If possible create and use a creator template for the author providing identifying information and linking it with wikipedia and wikisource pages. empty optional
Translator book's translator or translators. See Author description for preferred format. empty optional
Editor book's editor or editors. See Author description for preferred format. empty optional
Illustrator book's illustrator or illustrators. See Author description for preferred format. empty optional
Title title of the book. Should be short. empty optional
Subtitle Subtitle of the book empty optional
Series title If book is a part of the series then provide series title. empty optional
Volume If book has multiple volumes then provide volume number. empty optional
Edition edition number empty optional
Publisher book's publisher empty optional
Printer book's printer empty optional
Date Year of book publication. Use {{other date}} for approximate dates dates. empty optional
City Place of publication, usually city. If possible use {{city}} or one of autotranslated city templates (see Category:Multilingual tags: Locations). Can also use links to a gallery or Wikipedia article. empty optional
Language language of the book empty optional
Description description of the book. Please use multilingual templates like {{en|}}. empty optional
Source information about where the source of the files in the category. Usually name of the user or the institution that scanned the book with a link to the download page if possible. Source should always be specified and books without source will be tagged with {{Source missing}} template. empty optional
Permission license (such as {{PD-old-100}}); used for pdf and DjVu files where the entire book is a single file. When creating book templates (for a group of images that are uploaded as separate files) leave this blank, as each file should use license template directly. empty optional
Image image representing the book. Usually the front page or the cover. For multi-image pdf and DjVu files this is simply the filename. Omit "File:". empty optional
Image page Page number of the image representing the book. Usually the front page or the cover. Used for multipage pdf and DjVu images. empty optional
Wikisource link to related Wikisource page. Use s:en:Main Page notation. eg.: |Wikisource=s:en:Three Books of Occult Philosophy empty optional
Homecat Used only when template:Book is used to create other templates, usually templates for specific books. Homecat (Home category) will categorize the book template without categorizing images using it. In order to auto-categorize images as well use separate {{Book/AutoCategory}} template. empty optional
Other_versions Other versions of this same document on Commons, this can be used for files in a different format, or other editions of the same text. empty optional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

Localization

This template is localized by utilizing MediaWiki namespace messages. These can be translated at translatewiki.net (current translations).


Personal tools
Namespaces
Variants
Actions
Toolbox
Navigation