Différences entre les versions de « Issue/2823 »

De Semantic MediaWiki - Sandbox
(Page créée avec « {{#ask: Catégorie:Books Has book title::+ |?=title|+width=40% |?Has book author=author|+width=40% |?Has book publishing year=year|+align=center|+width=5... »)
Balise : Éditeur de wikicode 2017
 
Balise : Éditeur de wikicode 2017
 
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
 +
; References [https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/2823 #2823]
 +
 +
; Syntax
 +
<pre>
 
{{#ask:
 
{{#ask:
 
  [[Catégorie:Books]]
 
  [[Catégorie:Books]]
 
  [[Has book title::+]]
 
  [[Has book title::+]]
 
  |?=title|+width=40%
 
  |?=title|+width=40%
  |?Has book author=author|+width=40%
+
  |?Has book author=author|+width=32%
 +
|?Has book publishing language=language|+width=8%
 
  |?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%
 
  |format=table
 
  |format=table
  |limit=20
+
  |limit=10
 +
|offset=0
 +
|sort=Has book publishing year,Has book publishing language,Has book author
 +
|order=descending,descending,ascending
 +
|headers=plain
 +
|mainlabel=-
 +
|searchlabel=... more books
 +
|class=datatable
 +
}}
 +
</pre>
 +
 
 +
; Result
 +
{{#ask:
 +
[[Catégorie:Books]]
 +
[[Has book title::+]]
 +
|?=title|+width=40%
 +
|?Has book author=author|+width=32%
 +
|?Has book publishing language=language|+width=8%
 +
|?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%
 +
|format=table
 +
|limit=10
 
  |offset=0
 
  |offset=0
 
  |sort=Has book publishing year,Has book publishing language,Has book author
 
  |sort=Has book publishing year,Has book publishing language,Has book author
Ligne 14 : Ligne 41 :
 
  |headers=plain
 
  |headers=plain
 
  |mainlabel=-
 
  |mainlabel=-
|intro=<b>This table shows some of the 15 books I have stored here:</b>
 
 
  |searchlabel=... more books
 
  |searchlabel=... more books
 
  |class=datatable
 
  |class=datatable

Dernière version du 12 mai 2018 à 08:30

References #2823
Syntax
{{#ask:
 [[Catégorie:Books]]
 [[Has book title::+]]
 |?=title|+width=40%
 |?Has book author=author|+width=32%
 |?Has book publishing language=language|+width=8%
 |?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%
 |format=table
 |limit=10
 |offset=0
 |sort=Has book publishing year,Has book publishing language,Has book author
 |order=descending,descending,ascending
 |headers=plain
 |mainlabel=-
 |searchlabel=... more books
 |class=datatable
}}
Result
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.