Template:BookInfo: Difference between revisions

From Shadowrun Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<infobox>
{{#invoke:Infobox|infoboxTemplate
<title source="title">
| title = {{{title|{{PAGENAME}}}}}
<default>{{PAGENAME}}</default>
</title>
| image = {{#if:{{{image|}}}|[[File:{{{image|}}}|center|200px]]}}
<image source="image"/>
 
<header>Credits</header>
| header1 = Credits
<data source="authors">
| label2 = Authors
<label>Authors</label>
| data2 = {{{authors|}}}
</data>
| label3 = Artists
<data source="artists">
| data3 = {{{artists|}}}
<label>Artists</label>
 
</data>
| header4 = Publication Information
<header>Publication information</header>
| label5 = Publisher
<data source="publisher">
| data5 = {{{publisher|}}}
<label>Publisher</label>
| label6 = Publication Date
</data>
| data6 = {{{publication_date|}}}
<data source="publication_date">
| label7 = ISBN
<label>Publication Date</label>
| data7 = {{{isbn|}}}
</data>
| label8 = Pages
<data source="isbn">
| data8 = {{{pages|}}}
<label>ISBN</label>
 
</data>
| header9 = Meta-information
<data source="pages">
| label10 = Edition
<label>Pages</label>
| data10 = {{#if:{{{edition2|}}}|[[{{{edition}}}]], [[{{{edition2}}}]]|[[{{{edition}}}]]}}
</data>
| label11 = Type
<header>Meta-information</header>
| data11 = {{{type|}}}
<data source="edition">
| label12 = In Universe Date
<label>Edition</label>
| data12 = {{{universedate|}}}
</data>
}}
<data source="type">
[[Category:Books]]
<label>Type</label>
{{#if:{{{edition|}}}|[[Category:{{{edition}}}]]}}
</data>
{{#if:{{{edition2|}}}|[[Category:{{{edition2}}}]]}}
<data source="universedate">
<label>In Universe Date</label>
</data>
</infobox>
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Line 45: Line 41:
"label": "Title",
"label": "Title",
"type": "string",
"type": "string",
"required": true,
"required": false,
"description": "Title of the book"
"description": "Title of the book"
},
},
Line 81: Line 77:
"label": "ISBN",
"label": "ISBN",
"type": "wiki-template-name",
"type": "wiki-template-name",
"required": true,
"required": false,
"description": "the ISBN-10/ISBN-13 of the book",
"description": "the ISBN-10/ISBN-13 of the book",
"example": "{{ISBNT|1-55560-144-8}}"
"example": "{{ISBNT|1-55560-144-8}}"

Latest revision as of 21:59, 26 May 2025


Infobox used for publications of books

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Titletitle

Title of the book

Stringoptional
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

Page namerequired
Publication Datepublication_date

Date the book was published

Daterequired
ISBNisbn

the ISBN-10/ISBN-13 of the book

Example
{{ISBNT|1-55560-144-8}}
Templateoptional
Pagespages

How many pages does the book have

Stringsuggested
Editionedition

Which edition was the book made for

Page namerequired
Typetype

What category of book is this

Stringsuggested
In Universe Dateuniversedate

The date in universe that the book takes place

Datesuggested