Difference between revisions of "Template:Book"

From Nithyanandapedia
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
{|class="wikitable" style="width: 27%; clear:right; float:right; background:#ffffff; margin: 0 0 0.5em 1em; font-size:110%"
 
{|class="wikitable" style="width: 27%; clear:right; float:right; background:#ffffff; margin: 0 0 0.5em 1em; font-size:110%"
 
|-
 
|-
!style="background:#A8BDEC;text-align:center;" colspan="2"|  '''Book Details'''  
+
!style="background:#653438;color:#ffffff;text-align:center;" colspan="2"|  '''Book Details'''  
 
|-
 
|-
| style="text-align:center;" colspan="2" | <img src="{{{coverImageUrl}}}" width="50%" height="35%">
+
| style="text-align:center;" colspan="2" | <img src="{{{coverImageUrl}}}" width="60%" height="40%">
 
|-
 
|-
| style="text-align:center;background:#A8BDEC;width:30%"|'''Topic'''||style="text-align:center;background:#A8BDEC"| '''Details'''
+
| style="text-align:center;background:#653438;color:#ffffff;width:35%"|'''Topic'''||style="text-align:center;background:#653438;color:#ffffff;"| '''Details'''
 
|-
 
|-
 
| style="text-align:center;" |Author/Creator||{{{author}}}
 
| style="text-align:center;" |Author/Creator||{{{author}}}
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}}} }}
 
|-
 
|-
 
|}
 
|}
Line 65: Line 65:
 
"label": "Subtitle",
 
"label": "Subtitle",
 
"type": "string",
 
"type": "string",
"required": false,
+
"suggested": false,
 
"description": "Optional subtitle of the book or central theme of the book.",
 
"description": "Optional subtitle of the book or central theme of the book.",
 
"aliases": [
 
"aliases": [
Line 92: Line 92:
 
"label": "ISBN",
 
"label": "ISBN",
 
"type": "string",
 
"type": "string",
"required": true,
+
"suggested": false,
 
"description": "ISBN - number of the book",
 
"description": "ISBN - number of the book",
 
"aliases": [
 
"aliases": [
Line 128: Line 128:
 
"label": "Published Year",
 
"label": "Published Year",
 
"type": "string",
 
"type": "string",
"required": true,
+
"suggested": false,
 
"description": "When was the book published?",
 
"description": "When was the book published?",
 
"aliases": [
 
"aliases": [

Latest revision as of 00:03, 9 September 2020


Details about books published.

Template parameters

ParameterDescriptionTypeStatus
Cover Image UrlcoverImageUrl 1

The url of cover image of the book.

Stringoptional
Author/Creatorauthor 2

Name of the Author or the Creator.

Stringrequired
Book TitlebookTitle 3

Name or Title of the book.

Stringrequired
Subtitlesubtitle 4

Optional subtitle of the book or central theme of the book.

Stringoptional
Download atdownloadUrl 5

The url to download the book, if any.

Stringoptional
Editionedition 6

Edition or Revision number

Stringoptional
ISBNisbn 7

ISBN - number of the book

Stringoptional
Languagelanguage 8

Language of the book.

Stringrequired
Page CountpageCount 9

Number of pages in the book.

Numberrequired
Published BypublishedBy 10

Name of the publisher.

Stringrequired
Published YearpublishedYear 11

When was the book published?

Stringoptional