Différences entre les versions de « Issue/2823 »
De Semantic MediaWiki - Sandbox
(form) Balise : Éditeur de wikicode 2017 |
Balise : Éditeur de wikicode 2017 |
||
Ligne 1 : | Ligne 1 : | ||
+ | ; References [https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/2823 #2823] | ||
+ | |||
+ | ; Syntax | ||
+ | <pre> | ||
+ | {{#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 | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | ; Result | ||
{{#ask: | {{#ask: | ||
[[Catégorie:Books]] | [[Catégorie:Books]] |
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