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

From Wikispooks
Jump to navigation Jump to search
m (Protected "Template:Main-panel-tabstrip-with-icon/tab": High traffic page: Used by coverpage ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(Reduce #results by 25%)
Line 26: Line 26:
 
|format=template
 
|format=template
 
|template=Main-panel-with-icon/output
 
|template=Main-panel-with-icon/output
|limit={{#if: {{{limit|}}}|{{{limit}}}|15}}
+
|limit={{#if: {{{limit|}}}|{{{limit}}}|12}}
 
|searchlabel=}}
 
|searchlabel=}}
 
|}</includeonly>
 
|}</includeonly>

Revision as of 18:11, 23 June 2015

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= optional image for the tabstrip header (needed unless this is a standalone tab)
|limit= how many results to show (defaults to 15)
|title= tab title
|sort= property to sort on (defaults to Modification date)
}}