Template:BookInfo: Difference between revisions

From Shadowrun Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 30: Line 30:
<data source="type">
<data source="type">
<label>Type</label>
<label>Type</label>
</data>
<data source="universedate">
<label>In Universe Date</label>
</data>
</data>
</infobox>
</infobox>
<templatedata>
<templatedata>
{
{
    "description": "Infobox used for publications of books",
"description": "Infobox used for publications of books",
    "params": {
"params": {
        "title": {
"title": {
            "label":"Title",
"label": "Title",
            "type": "string",
"type": "string",
            "required": true,
"required": true,
            "description": "Title of the book"
"description": "Title of the book"
        },
},
        "image": {
"image": {
            "label":"Image",
"label": "Image",
            "type": "string",
"type": "wiki-file-name",
            "suggested": true,
"suggested": true,
            "description": "Image of the book's cover"
"description": "Image of the book's cover"
        },
},
        "authors": {
"authors": {
            "label":"Authors",
"label": "Authors",
            "type": "string",
"type": "string",
            "suggested": true,
"suggested": true,
            "description": "Authors listed on the book"
"description": "Authors listed on the book"
        },
},
        "artists": {
"artists": {
            "label":"Artists",
"label": "Artists",
            "type": "string",
"type": "string",
            "suggested": true,
"suggested": true,
            "description": "Any artists listed in the book"
"description": "Any artists listed in the book"
        },
},
        "publisher": {
"publisher": {
            "label":"Publisher",
"label": "Publisher",
            "type": "string",
"type": "string",
            "required": true,
"required": true,
            "description": "name of the publisher of the book"
"description": "name of the publisher of the book"
        },
},
        "publication_date": {
"publication_date": {
            "label":"Publication Date",
"label": "Publication Date",
            "type": "string",
"type": "date",
            "required": true,
"required": true,
            "description": "Date the book was published"
"description": "Date the book was published"
        },
},
        "isbn": {
"isbn": {
            "label":"ISBN",
"label": "ISBN",
            "type": "string",
"type": "wiki-template-name",
            "required": true,
"required": true,
            "description": "the ISBN-10/ISBN-13 of the book"
"description": "the ISBN-10/ISBN-13 of the book"
        },
},
        "pages": {
"pages": {
            "label":"Pages",
"label": "Pages",
            "type": "string",
"type": "string",
            "suggested": true,
"suggested": true,
            "description": "How many pages does the book have"
"description": "How many pages does the book have"
        },
},
        "editiion": {
"editiion": {
            "label":"Edition",
"label": "Edition",
            "type": "string",
"type": "string",
            "required": true,
"required": true,
            "description": "Which edition was the book made for"
"description": "Which edition was the book made for"
        },
},
        "type": {
"type": {
            "label":"Type",
"label": "Type",
            "type": "string",
"type": "string",
            "suggested": true,
"suggested": true,
            "description": "What category of book is this"
"description": "What category of book is this"
        },
},
        "universedate": {
"universedate": {
            "label":"In Universe Date",
"label": "In Universe Date",
            "type": "string",
"type": "date",
            "suggested": true,
"suggested": true,
            "description": "The date in universe that the book takes place"
"description": "The date in universe that the book takes place"
        }
}
    }
}
}
}
</templatedata>
</templatedata>

Revision as of 22:00, 15 May 2024

Infobox used for publications of books

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Titletitle

Title of the book

Stringrequired
Imageimage

Image of the book's cover

Filesuggested
Authorsauthors

Authors listed on the book

Stringsuggested
Artistsartists

Any artists listed in the book

Stringsuggested
Publisherpublisher

name of the publisher of the book

Stringrequired
Publication Datepublication_date

Date the book was published

Daterequired
ISBNisbn

the ISBN-10/ISBN-13 of the book

Templaterequired
Pagespages

How many pages does the book have

Stringsuggested
Editioneditiion

Which edition was the book made for

Stringrequired
Typetype

What category of book is this

Stringsuggested
In Universe Dateuniversedate

The date in universe that the book takes place

Datesuggested