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

From Wikispooks
Jump to navigation Jump to search
(hidden text)
(3MB coverpage is heavy!)
Line 5: Line 5:
 
|ask= ''The SMW Query expression<br/>
 
|ask= ''The SMW Query expression<br/>
 
|image= image for the tabstrip header<br/>
 
|image= image for the tabstrip header<br/>
|limit= how many results to show (defaults to 36)<br/>
+
|limit= how many results to show (defaults to 15)<br/>
 
|title= tab title<br/>
 
|title= tab title<br/>
 
|sort= property to sort on (defaults to [[Property:Creation date|Creation date]])<br/>
 
|sort= property to sort on (defaults to [[Property:Creation date|Creation date]])<br/>
Line 24: Line 24:
 
|format=template
 
|format=template
 
|template=Main-panel-with-icon/output
 
|template=Main-panel-with-icon/output
|limit={{#if: {{{limit|}}}|{{{limit}}}|36}}
+
|limit={{#if: {{{limit|}}}|{{{limit}}}|15}}
 
|searchlabel=}}
 
|searchlabel=}}
 
|}</includeonly>
 
|}</includeonly>

Revision as of 16:40, 19 October 2014

This template makes a single tab of Template:Main-panel-tabstrip-with-icon.

Usage:
{{Main-panel-tabstrip-with-icon/tab
|ask= The SMW Query expression
|image= image for the tabstrip header
|limit= how many results to show (defaults to 15)
|title= tab title
|sort= property to sort on (defaults to Creation date)
}}