« Modèle:BooksRatingQuery » : différence entre les versions

De Semantic MediaWiki - Sandbox

(chg)
(chg)
Ligne 1 : Ligne 1 :
<includeonly>{{#ask:
<noinclude>
This is the query template corresponding to the [[Template:Books|"Books" template (ratings)]].
 
== Template Code ==
<pre>
{{#ask:
  [[{{{property}}}::{{{value}}}]]
  [[{{{property}}}::{{{value}}}]]
  |mainlabel=title|+width=45%
  |mainlabel=title|+width=45%
Ligne 5 : Ligne 10 :
  |?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%
|format=table
|class=datatable
  |limit=0
  |limit=0
|intro=<big>Books that have been rated with '''{{{value}}}''':</big>
  |searchlabel={{{value}}}
  |searchlabel={{{value}}}
|headers=plain
}}
</pre>
[[Category:Query template]]</noinclude><includeonly>{{#ask:
[[{{{property}}}::{{{value}}}]]
|mainlabel=title|+width=45%
|?Has book author=author|+width=40%
|?Has book publishing year=year|+align=center|+width=5%
|?Has book ISBN=ISBN|+align=center|+width=10%
  |format=table
  |format=table
  |class=datatable
  |class=datatable
|limit=0
  |intro=<big>Books that have been rated with '''{{{value}}}''':</big>
  |intro=<big>Books that have been rated with '''{{{value}}}''':</big>
|searchlabel={{{value}}}
|headers=plain
}}</includeonly>
}}</includeonly>

Version du 16 janvier 2018 à 19:27

This is the query template corresponding to the "Books" template (ratings).

Template Code

{{#ask:
 [[{{{property}}}::{{{value}}}]]
 |mainlabel=title|+width=45%
 |?Has book author=author|+width=40%
 |?Has book publishing year=year|+align=center|+width=5%
 |?Has book ISBN=ISBN|+align=center|+width=10%
 |format=table
 |class=datatable
 |limit=0
 |intro=<big>Books that have been rated with '''{{{value}}}''':</big>
 |searchlabel={{{value}}}
 |headers=plain
}}
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.