Modèle:BooksQuery
De Semantic MediaWiki - Sandbox
This is the query template corresponding to the "BooksQuery" form.
Template Code
<div style="float: right"><big>→ Back to the overview page on '''[[books]]'''</big></div><br> {{#ask: [[Category:Books]] {{#if: {{{title|}}} |[[Has book title::{{{title|}}}]] }} {{#if: {{{author|}}} |[[Has book author::{{{author|}}}]] }} {{#if: {{{publisher|}}} |[[Has book publisher::{{{publisher|}}}]] }} {{#if: {{{country|}}} |[[Has book publishing country::{{{country|}}}]] }} {{#if: {{{year|}}} |[[Has book publishing year::{{{year|}}}]] }} {{#if: {{{rating|}}} |[[Has book rating::{{{rating|}}}]] }} |?=title|+width=40% |?Has book author=author |+width=40% |?Has book publishing year=year |+align=center |+width=5% |?Has book ISBN=ISBN |+align=center |+width=10% |?Has book rating=rating |+align=center |+width=5% |mainlabel=- |headers=plain |sort=Has book author |order=ascending |format=table |class=datatable |default=<b>No books match your criteria.</b> |intro=<b>This table shows the books matching your criteria:</b> }} <div style="float: right"><big>→ Back to the overview page on '''[[books]]'''</big></div>