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

From Wikispooks
Jump to navigation Jump to search
(test)
(default #)
Line 7: Line 7:
 
|image= image for the section header<br/>
 
|image= image for the section header<br/>
 
|alt= alt text for the image<br/>
 
|alt= alt text for the image<br/>
|limit= how many results to show (defaults to 6)<br/>
+
|limit= how many results to show (defaults to 28)<br/>
 
|link= where to link the title image and text<br/>
 
|link= where to link the title image and text<br/>
 
|title= section title<br/>
 
|title= section title<br/>

Revision as of 02:57, 21 October 2014

This template makes a panel for the main page.
For a tabstripped version, see Template:Main-panel-tabstrip-with-icon.

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 28)
|link= where to link the title image and text
|title= section title
|sort= property to sort on (defaults to Creation date)
}}