Difference between revisions of "Template:Book"

From Nithyanandapedia
Jump to navigation Jump to search
(Standard template for Book)
 
m (Labels, variable names changed)
Line 4: Line 4:
 
!style="background:#A8BDEC;text-align:center;" colspan="2"|  '''[[Book Details]]'''  
 
!style="background:#A8BDEC;text-align:center;" colspan="2"|  '''[[Book Details]]'''  
 
|-
 
|-
| style="text-align:center;" colspan="2" | <img src="{{{coverImage}}}" width="100%">
+
| style="text-align:center;" colspan="2" | <img src="{{{coverImageUrl}}}" width="100%">
 
|-
 
|-
 
| style="text-align:center;background:#A8BDEC;width:30%"|'''Topic'''||style="text-align:center;background:#A8BDEC"| '''Details'''
 
| style="text-align:center;background:#A8BDEC;width:30%"|'''Topic'''||style="text-align:center;background:#A8BDEC"| '''Details'''
 
|-
 
|-
| style="text-align:center;" |Author||{{{author}}}
+
| style="text-align:center;" |Author/Creator||{{{author}}}
 
|-
 
|-
 
| style="text-align:center;" |Book Title||{{{bookTitle}}}
 
| style="text-align:center;" |Book Title||{{{bookTitle}}}
Line 14: Line 14:
 
| style="text-align:center;" |Subtitle||{{{subtitle}}}
 
| style="text-align:center;" |Subtitle||{{{subtitle}}}
 
|-
 
|-
| style="text-align:center;" |Download at||{{{downloadLink}}}
+
| style="text-align:center;" |Download at||{{{downloadUrl}}}
 
|-
 
|-
 
| style="text-align:center;" |Edition||{{{edition}}}
 
| style="text-align:center;" |Edition||{{{edition}}}
Line 33: Line 33:
 
<templatedata>
 
<templatedata>
 
{
 
{
     "description": "Standard details about books published.",
+
     "description": "Details about books published.",
 
     "params": {
 
     "params": {
         "coverImage": {
+
         "coverImageUrl": {
             "label": "Cover Image",
+
             "label": "Cover Image Url",
 
             "type": "string",
 
             "type": "string",
 
             "required": false,
 
             "required": false,
             "description": "Cover Image of the book.",
+
             "description": "The url of cover image of the book.",
 
             "aliases": ["1"]
 
             "aliases": ["1"]
 
         },
 
         },
 
         "author": {
 
         "author": {
             "label": "Author",
+
             "label": "Author/Creator",
 
             "type": "string",
 
             "type": "string",
 
             "required": true,
 
             "required": true,
             "description": "Name of the Author.",
+
             "description": "Name of the Author or the Creator.",
 
             "aliases": ["2"]
 
             "aliases": ["2"]
 
         },
 
         },
Line 53: Line 53:
 
             "type": "string",
 
             "type": "string",
 
             "required": true,
 
             "required": true,
             "description": "Name or description of the book.",
+
             "description": "Name or Title of the book.",
 
             "aliases": ["3"]
 
             "aliases": ["3"]
 
         },
 
         },
Line 63: Line 63:
 
             "aliases": ["4"]
 
             "aliases": ["4"]
 
         },
 
         },
         "downloadLink": {
+
         "downloadUrl": {
 
             "label": "Download at",
 
             "label": "Download at",
 
             "type": "string",
 
             "type": "string",

Revision as of 02:11, 1 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

Stringrequired
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?

Stringrequired