« Modèle:BooksQuery » : différence entre les versions
De Semantic MediaWiki - Sandbox
m (chg) |
(form) Balise : Éditeur de wikicode 2017 |
||
Ligne 26 : | Ligne 26 : | ||
}} | }} | ||
|?=title|+width=40% | |?=title|+width=40% | ||
|?Has book author=author|+width=40% | |?Has book author=author |+width=40% | ||
|?Has book publishing year=year|+align=center|+width=5% | |?Has book publishing year=year |+align=center |+width=5% | ||
|?Has book ISBN=ISBN|+align=center|+width=10% | |?Has book ISBN=ISBN |+align=center |+width=10% | ||
|?Has book rating=rating|+align=center|+width=5% | |?Has book rating=rating |+align=center |+width=5% | ||
|mainlabel=- | |mainlabel=- | ||
|headers=plain | |headers=plain | ||
Ligne 65 : | Ligne 65 : | ||
}} | }} | ||
|?=title|+width=40% | |?=title|+width=40% | ||
|?Has book author=author|+width=40% | |?Has book author=author |+width=40% | ||
|?Has book publishing year=year|+align=center|+width=5% | |?Has book publishing year=year |+align=center |+width=5% | ||
|?Has book ISBN=ISBN|+align=center|+width=10% | |?Has book ISBN=ISBN |+align=center |+width=10% | ||
|?Has book rating=rating|+align=center|+width=5% | |?Has book rating=rating |+align=center |+width=5% | ||
|mainlabel=- | |mainlabel=- | ||
|headers=plain | |headers=plain |
Dernière version du 27 avril 2018 à 10:36
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>