Template:Book: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(#set test)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:
|Genres=List (,) of String
|Genres=List (,) of String
|Year_of_publication=Date
|Year_of_publication=Date
|ISBN=String
|Number_of_pages=Integer}}
|Number_of_pages=Integer}}
</noinclude>
</noinclude>
<includeonly>{{#set:
<includeonly>{{#cargo_store:_table=Books
|Author={{{Authors|}}}|+sep=,
|ISBN={{{ISBN|}}}
|Genre={{{Genres|}}}|+sep=,
|Year of publication={{{Year of publication|}}}
|Number of pages={{{Number of pages|}}}
}}
{{#cargo_store:_table=Books
|Authors={{{Authors|}}}
|Authors={{{Authors|}}}
|Genres={{{Genres|}}}
|Genres={{{Genres|}}}
|Year_of_publication={{{Year of publication|}}}
|Year_of_publication={{{Year of publication|}}}
|Number_of_pages={{{Number of pages|}}} }}
|ISBN={{{ISBN|}}}
{| class="wikitable"
|Number_of_pages={{{Number of pages|}}} }}'''Author(s):''' {{#arraymap:{{{Authors|}}}|,|x|{{#formredlink:form=Author|target=x}} }}
! Author(s)
 
| {{#arraymap:{{{Authors|}}}|,|x|{{#formredlink:form=Author|target=x}} }}
'''Genre(s):''' {{{Genres|}}}
|-
 
! Genre(s)
'''Year of publication:''' {{{Year of publication|}}}
| {{{Genres|}}}
 
|-
'''ISBN:''' {{{ISBN|}}}
! Year of publication
 
| {{{Year of publication|}}}
'''Number of pages:''' {{{Number of pages|}}}
|-
! Number of pages
| {{{Number of pages|}}}
|}


[[Category:Books]]
[[Category:Books]]
</includeonly>
</includeonly>

Latest revision as of 16:43, June 19, 2020

This is the "Book" template.

This template defines the table "Books". View table.