Difference between revisions of "Template:Book"
Jump to navigation
Jump to search
Sri.senthil (talk | contribs) (Added parserfunctions to display field only if value present.) |
|||
| Line 12: | Line 12: | ||
| style="text-align:center;" |Book Title||{{{bookTitle}}} | | style="text-align:center;" |Book Title||{{{bookTitle}}} | ||
|- | |- | ||
| − | | style="text-align:center;" |Subtitle||{{{subtitle}}} | + | | style="text-align:center;" |Subtitle||{{#if:{{{subtitle|}}} | {{{subtitle}}} }} |
|- | |- | ||
| style="text-align:center;" |Download at||{{{downloadUrl}}} | | style="text-align:center;" |Download at||{{{downloadUrl}}} | ||
| Line 18: | Line 18: | ||
| style="text-align:center;" |Edition||{{{edition}}} | | style="text-align:center;" |Edition||{{{edition}}} | ||
|- | |- | ||
| − | | style="text-align:center;" |ISBN||{{{isbn}}} | + | | style="text-align:center;" |ISBN||{{#if:{{{isbn|}}} | {{{isbn}}} }} |
|- | |- | ||
| style="text-align:center;" |Language||{{{language}}} | | style="text-align:center;" |Language||{{{language}}} | ||
| Line 26: | Line 26: | ||
| style="text-align:center;" |Published By||{{{publishedBy}}} | | style="text-align:center;" |Published By||{{{publishedBy}}} | ||
|- | |- | ||
| − | | style="text-align:center;" |Published Year||{{{publishedYear}}} | + | | style="text-align:center;" |Published Year||{{#if:{{{publishedYear|}}} | {{{publishedYear}}} }} |
|- | |- | ||
|} | |} | ||
Revision as of 23:53, 8 September 2020
Details about books published.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Cover Image Url | coverImageUrl 1 | The url of cover image of the book. | String | optional |
| Author/Creator | author 2 | Name of the Author or the Creator. | String | required |
| Book Title | bookTitle 3 | Name or Title of the book. | String | required |
| Subtitle | subtitle 4 | Optional subtitle of the book or central theme of the book. | String | optional |
| Download at | downloadUrl 5 | The url to download the book, if any. | String | optional |
| Edition | edition 6 | Edition or Revision number | String | optional |
| ISBN | isbn 7 | ISBN - number of the book | String | required |
| Language | language 8 | Language of the book. | String | required |
| Page Count | pageCount 9 | Number of pages in the book. | Number | required |
| Published By | publishedBy 10 | Name of the publisher. | String | required |
| Published Year | publishedYear 11 | When was the book published? | String | required |