« Books » : différence entre les versions

De Semantic MediaWiki - Sandbox

(chg)
(chg)
 
(20 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
: {{#queryformlink:
form=BooksQuery
|link text=Search for books
|link type=button |new window
}} // See [[Form:BooksQuery]] and [[Template:BooksQuery]] for how the search for books is done.
; See also
* [[Template:Books]] - Used to store and display data for books
* [[Template:BooksRatingQuery]] - Used to query for books with the same rating (accessed via the pages on books stored with [[Template:Books]]
----
{{#ask:
{{#ask:
  [[Category:Book]]
  [[Category:Books]]
  [[Has book title::+]]
  [[Has book title::+]]
  |?Has book author=author
|?=title|+width=40%
  |?Has book publishing year=year|+align=center
  |?Has book author=author|+width=40%
  |?Has book ISBN=ISBN
  |?Has book publishing year=year|+align=center|+width=5%
  |?Has book rating=rating|+align=center
  |?Has book ISBN=ISBN|+align=center|+width=10%
  |intro=<b>This table shows the books I have stored here:</b>
  |?Has book rating=rating|+align=center|+width=5%
  |mainlabel=title
  |intro=<b>This table shows some of the {{#ask:
  [[Category:Books]]
  [[Has book title::+]]
  |format=count
}} books I have stored here:</b>
  |mainlabel=-
  |searchlabel=... more books
  |searchlabel=... more books
  |headers=plain
  |headers=plain
  |sort=Has book publishing year,Has book author
  |sort=Has book publishing year,Has book author
  |order=descending,ascending
  |order=descending,ascending
  |limit=3
  |format=table
|class=datatable
}}
}}


{{#ask:
[[Category:Books| ]]
[[Category:Book]]
[[Category:Book form]]
[[Has book title::+]]
|?Has book author=author
|?Has book publishing year=year
|?Has book ISBN=ISBN
|?Has book rating=rating
|mainlabel=title
|searchlabel=CSV-download of stored books
|default=<b>Currently no bookes have been stored yet.</b>
|sort=Has book publishing year,Has book author
|order=descending,ascending
|format=csv
}}

Dernière version du 4 mai 2021 à 16:51

// See Form:BooksQuery and Template:BooksQuery for how the search for books is done.
See also


This table shows some of the 13 books I have stored here:

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.