Template:Book: Difference between revisions
Myriad-admin (talk | contribs) Created page with "<noinclude> {{#template_params:Genre (label=Genre(s);list;property=Has genre)|Number of pages (property=Has number of pages)}} </noinclude><includeonly>{{#arraymap:{{{Genre|}}}|,|x|Has genre::x}} [[Has number of pages::{{{Number of pages|}}}]] {{#ask:[[Foaf:homepage::{{SUBJECTPAGENAME}}]]|format=list}} Category:Books </includeonly>" |
Myriad-admin (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params: | {{#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>{{#arraymap:{{{ | </noinclude><includeonly>{{#arraymap:{{{Authors|}}}|,|x|[[Was written by::x]]}} | ||
{{#arraymap:{{{Genres|}}}|,|x|[[Has genre::x]]}} | |||
[[Was published in year::{{{Year|}}}]] | |||
[[Has number of pages::{{{Number of pages|}}}]] | [[Has number of pages::{{{Number of pages|}}}]] | ||
{{#ask:[[Foaf:homepage::{{SUBJECTPAGENAME}}]]|format=list}} | {{#ask:[[Foaf:homepage::{{SUBJECTPAGENAME}}]]|format=list}} |
Latest revision as of 09:25, 30 September 2025
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.