Gallery format - data stored in subobjects
From Semantic MediaWiki - Sandbox
- Data
{{#subobject:|Has page=Fichier:Client-brief client-budget.jpg|Has title={{PAGENAME}}|Has note=A typical situation in the consulting business.}}
{{#subobject:|Has page=Fichier:NietzscheGod.jpg|Has title={{PAGENAME}}|Has note=Always good to have long wind.}}
- Syntax
{{#ask:
[[Has title::{{PAGENAME}}]]
|?Has page
|?Has note
|imageproperty=Has page
|captionproperty=Has note
|format=gallery
|widths=400
|heights=400
}}
- Result