Gallery format - data stored in subobjects
De Semantic MediaWiki - Sandbox
- Data
{{#subobject:|Has page=Fichier:Client-brief client-budget.jpg|Has title={{PAGENAME}}|Has note=This is the first file}} {{#subobject:|Has page=Fichier:NietzscheGod.jpg|Has title={{PAGENAME}}|Has note=This is the second file}}
- Syntax
{{#ask: [[Has title::{{PAGENAME}}]] |?Has page |?Has note |imageproperty=Has page |captionproperty=Has note |format=gallery |widths=400 |heights=400 }}
- Result