Template:File Gallery: Difference between revisions

From Fish Family Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
* ''caption'': property to use as a caption; default is none
* ''caption'': property to use as a caption; default is none
* ''limit'': max size; default is 40
* ''limit'': max size; default is 40
</noinclude><includeonly>{{Wrap|== {{#if: {{{title|}}} | {{{title}}} | Related Files }} ==
</noinclude><includeonly>{{Wrap|{{H2|{{#if: {{{title|}}} | {{{title}}} | Related Files }}}}
 
|{{#ask: {{{1|}}}
|{{#ask: {{{1|}}}
| {{#if: {{{caption|}}} | ?{{{caption}}} }}
| {{#if: {{{caption|}}} | ?{{{caption}}} }}

Revision as of 06:34, 1 July 2015

Generate a section containing a grid of files based on a query. If nothing matches, the result is empty.

  • First parameter: SMW query to execute
  • title: title for the section header; default is "Related Files"
  • caption: property to use as a caption; default is none
  • limit: max size; default is 40