Difference between revisions of "Template:Book list/doc"
Jump to navigation
Jump to search
imported>Alex 21 (→Usage) |
imported>Alex 21 |
||
Line 12: | Line 12: | ||
! style="width:30%" | Book table | ! style="width:30%" | Book table | ||
|- | |- | ||
− | | | + | | 1 || Unnamed parameter. Main page for sublists that are transcluded elsewhere. <br /> Transclusion to declared page will hide summaries. || – |
|- | |- | ||
| background || HEX code for row background || HEX code for table header background | | background || HEX code for row background || HEX code for table header background |
Revision as of 03:13, 15 August 2020
![]() | This is a documentation subpage for Template:Book list. It contains usage information, categories and other content that is not part of the original template page. |
![]() | This template uses Lua: |
Usage
Parameters | Description | |
---|---|---|
Book list | Book table | |
1 | Unnamed parameter. Main page for sublists that are transcluded elsewhere. Transclusion to declared page will hide summaries. |
– |
background | HEX code for row background | HEX code for table header background |
book_number | Book number (e.g. series numbering sequence) | "No." |
title | Book title | "Title" |
alt_title | Alternate title (e.g. original foreign language title) | – |
author | Author(s) | "Author" |
publisher | Publisher of main publication | "Publisher" |
publish_date | Date first published | "Date" |
alt_publish_date | Alternate date published (e.g. translation release) | – |
subject | Subject(s) for non-fiction | "Subject" |
genre | Genre(s) for fiction | "Genre" |
aux[1-3] | Optional parameters, meaning is specified by the table header (e.g. language, translator, country, series, illustrator, pages, oclc) |
Text describing optional cells |
isbn | ISBN | "ISBN" |
isbn_note | Any notes about the given ISBN (e.g. hardcover) | – |
short_summary | If possible, keep summaries under three or four sentences | – |
line_color | The separator line between entries, predefined values exist for: novel, shortstory, poetry, play, screenplay, nonfiction, unpublished |
– |
books | – | Usages of {{Book list}} |
Example
{{Book table |background=#A2BBAC |book_number={{abbr|No.|Number}} |title=Title |author=Author |publisher=Publisher |publish_date=Date |genre=Genre |aux1=Length |books= {{Book list | book_number = 1 | title = [[Anne of Green Gables]] | author = [[Lucy Maud Montgomery]] | publisher = [[L. C. Page & Co.]] | publish_date = April 1908 | genre = [[Children's literature|Children's novel]] | aux1 = 429 pp ''(first edition)'' | line_color = novel | short_summary = Miss Marilla Cuthbert and Mr. Matthew Cuthbert, middle-aged siblings who live together at Green Gables, a farm in Avonlea, on Prince Edward Island, decide to adopt an orphan boy from the asylum as a helper on their farm. Through a series of mishaps, what ends up under their roof is a precocious girl of eleven named Anne Shirley. }} }}
No. | Title | Author | Publisher | Date | Genre | Length | |
---|---|---|---|---|---|---|---|
1 | Anne of Green Gables | Lucy Maud Montgomery | L. C. Page & Co. | April 1908 | Children's novel | 429 pp (first edition) | |
Miss Marilla Cuthbert and Mr. Matthew Cuthbert, middle-aged siblings who live together at Green Gables, a farm in Avonlea, on Prince Edward Island, decide to adopt an orphan boy from the asylum as a helper on their farm. Through a series of mishaps, what ends up under their roof is a precocious girl of eleven named Anne Shirley. |
See also
- {{Book table}}
- {{Book list}}