« Issue/2677/combine with align » : différence entre les versions

De Semantic MediaWiki - Sandbox
(add)
(add)
Ligne 40 : Ligne 40 :
  |?Has book rating=rating |+width=5% |+align=center
  |?Has book rating=rating |+width=5% |+align=center
  |mainlabel=title |+width=20%
  |mainlabel=title |+width=20%
|sort=Has book publishing year, Has book author
|order=descending,asc
|headers=plain
|link=all
|limit=3
}}
; mainlabel being ignored since no preceding printout is available
{{#ask:
[[Category:Book]]
[[Has book title::+]]
|mainlabel=title |+width=20%
|?Has book author=author |+width=20%
|?Has book publishing year=year |+width=5% |+align=center
|?Has book ISBN=ISBN |+width=10% |+align=center
|?Has book rating=rating |+width=5% |+align=center
  |sort=Has book publishing year, Has book author
  |sort=Has book publishing year, Has book author
  |order=descending,asc
  |order=descending,asc

Version du 26 septembre 2017 à 00:49

titleauthoryearISBNrating
Die Klavierspielerin

wrong

mainlable actually applied to the last result column overriding the value explicitly stated for it
titleauthoryearISBNrating
Die Klavierspielerin
mainlabel being ignored since no preceding printout is available
titleauthoryearISBNrating
Die Klavierspielerin

workaround

hide first result column via mainlabel and add it via a first column statement including a width format
titleauthoryearISBNrating
Die Klavierspielerin
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.