Query for file size
De Semantic MediaWiki - Sandbox
- This example makes use of the "MediaFunctions" extension.
- Property "Has file size" must be of datatype Quantity.
Example (selection)
- Syntax
{{#ask: [[File:+]] [[Has file size::>>100 Kio]] |?Has file size |format=table |sort=Has file size |order=descending |mainlabel=- }}
- Result
Has file size |
---|
1 350 Kio1 Mio <br />0 Gio <br /> |
1 210 Kio1 Mio <br />0 Gio <br /> |
Example (all)
- Syntax
{{#ask: [[File:+]] [[Has file size::+]] |?Has file size |format=table |sort=Has file size |order=descending |mainlabel=- }}
- Result
Has file size |
---|
1 350 Kio1 Mio <br />0 Gio <br /> |
1 210 Kio1 Mio <br />0 Gio <br /> |