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

From Wikispooks
Jump to navigation Jump to search
(padding)
(Is stub)
Line 18: Line 18:
 
|sort={{#if: {{{sort|}}}|{{{sort|}}}|Creation date}}
 
|sort={{#if: {{{sort|}}}|{{{sort|}}}|Creation date}}
 
|order=descending
 
|order=descending
|?Has objectClass2=
+
|?Has objectClass2
 +
|?Is stub
 
|format=template
 
|format=template
 
|template=Main-panel-with-icon/output
 
|template=Main-panel-with-icon/output

Revision as of 17:14, 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)
}}