Difference between revisions of "Template:Book"

From PKC
Jump to navigation Jump to search
Line 14: Line 14:
<includeonly>
<includeonly>
{{{Authors|}}}, {{{Name}}}, {{{Publisher}}}, {{{Year_of_publication}}}
{{{Authors|}}}, {{{Name}}}, {{{Publisher}}}, {{{Year_of_publication}}}
{{#cargo_store:_table=Books}}
{|
! Author(s)
| {{#arraymap:{{{Authors|}}}|,|x|{{#formredlink:form=Author|target=x}} }}
|-
! Genre(s)
| {{{Genres|}}}
|-
! Year of publication
| {{{Year of publication|}}}
|-
! Number of pages
| {{{Number of pages|}}}
|}
</includeonly>
</includeonly>

Revision as of 10:35, 27 June 2021

This is the "Book" template.

{{#cargo_declare:_table=Books
|Authors=List (,) of Page
|Genres=List (,) of String
|Year_of_publication=Date
|Number_of_pages=Integer}}