Difference between revisions of "Template:Main-panel-with-icon"

From Wikispooks
Jump to navigation Jump to search
(wider)
(suppress "further results" link)
Line 23: Line 23:
 
|template=Main-panel-with-icon/output
 
|template=Main-panel-with-icon/output
 
|limit={{#if: {{{limit|}}}|{{{limit}}}|28}}
 
|limit={{#if: {{{limit|}}}|{{{limit}}}|28}}
 +
|outrotemplate=
 
}}
 
}}
 
|}
 
|}
 
</div>
 
</div>

Revision as of 08:56, 19 September 2014

This template makes a panel for the main page.

Usage:
{{Main-panel-with-icon
|ask= The SMW Query expression
|image= image for the section header
|alt= alt text for the image
|limit= how many results to show (defaults to 6)
|link= where to link the title image and text
|title= section title
|sort= property to sort on (defaults to Creation date)
}}