Jump to content

Template:Book: Difference between revisions

From PNW Book Wiki
Created page with "<noinclude> {{#template_params:Authors (label=Author(s);list;property=Was written by)|Genres (label=Genre(s);list;property=Has genre)|Year (label=Year of Publication;property=Was published in year)|Number of pages (property=Has number of pages)}} </noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:l..."
 
No edit summary
 
Line 5: Line 5:
|-
|-
! Author(s)
! Author(s)
| {{#arraymap:{{{Authors|}}}|,|x|[[Was written by::x]]}}
| {{#arraymap:{{{Authors|}}}|,|x|{{#formredlink:target=x|form=Author}}{{#set:Was written by=x}}}}


|-
|-

Latest revision as of 14:59, 7 January 2026

This is the "Book" template.

It should be called in the following format:

{{Book
|Authors=
|Genres=
|Year=
|Number of pages=
}}

Edit the page to see the template text.