Template:InfoboxBook2/doc
< Template:InfoboxBook2
Jump to navigation
Jump to search
Revision as of 21:28, 31 July 2019 by Maksim-Smelchak (talk | contribs)
This is a template for any form of published material: e.g. books, periodicals, games. The result is a combined Bibliography and Ludography.
Description (Specifications)
This template stores data in Cargo tables. This means the format of the elements is more specific and picky. The parameters to the template are parsed and inserted into tables in the database for query through Cargo.
It will auto-generate categories for "<publisher> Books", "<version> Books", and "Published <year>" when you enter the parameters correctly. .
Template Layout
Use:
{| class="wikitable sortable"
!colspan="2"|InfoboxBook2 Parameters
|-
! Parameter
! Remarks
|-
| name
| Full title of the book or publication. Do not add any formatting. Periodicals should have their issue number appended, zero padded, and with no other formatting. E.g. Challenge 26
|-
|alsosee
| related reference
|-
|author
| List of credited authors, comma separated. Do not add any formatting
|-
|available
| URL source to legally purchase the item, please use [[Template:DTRPG]] if possible to format the link
|-
|canon
| Yes or No. Statement if the book is considered a canon source.
|-
|caption
| Sub-Title of Book, or description of the content
|-
|contents
| Table of contents, comma separated list of "chapter title":page. This can be tricky to get right and recommend omitting it.
|-
|edition
| Edition of the book or publication. Usually a 1st edition, but some books had a second edition.
|-
|footnote
| Miscellaneous information, usually used for either a publisher ID number or an ISBN or both
|-
|format
| Format of the publication: Book, softcover, hardcover, PDF, folio, periodical
|-
|image
| Cover image or associated image. Do not add any formatting, and omit the "File:" namespace from the name
|-
|language
| Language of the publication, defaults to English
|-
|pages
| number of pages, whole numbers only
|-
|publisher
| Name of publisher. Used for generating a category so precise names are important. Do not add any formatting.
|-
|version
| Which version of Traveller rules are being referenced in the book. Do not add any formatting.
|-
|year
| Year of publication according to the title page.
|}
Template Layout
Use:
{{InfoboxBook2
|name = {Name of the book, no links}
|alsosee = {related reference}
|author = {List of authors, comma separates, no links}
|available = {URL source to get the item (only)}
|canon = Yes {1 (yes) or 0 (no) is book considered a canon source}
|caption = {Sub-Title of Book}
|contents = {Table of contents, comma separated list of "chapter title":page}
|edition = 1st {versions of book, issue}
|footnote = (misc info e.g. isbn)
|format = Book (Softback) {book format eg. lbb}
|image = {Reference to Image, no links, no File required}
|language = English
|pages = {number of pages}
|publisher = {Name of publisher, no links}
|version = {Reference to Version of Traveller, no links}
|year = {year published}
}}
== History & Background ([[Dossier]]) ==
* As of 2017, the previous template [[Template:InfoboxBook]] has almost entirely been phased out. Please use this template for published materials.
* As of 2019 CE, this template is in its second version as InfoboxBook or InfoboxBook1 has almost entirely been phased out.
== References & Contributors ([[Sources]]) ==
{{Intermediate}}
{{Sources
|S2= [[Traveller Wiki Editorial Team]]
|S3= Author & Contributor: Lord (Marquis) and Master of Sophontology [[Maksim-Smelchak]] of the [[Ministry of Science]]
}}
----
