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

From Wikispooks
Jump to navigation Jump to search
(Clarify)
(Use display image and ditch the other graphics)
Line 15: Line 15:
 
|sort={{#if: {{{sort|}}}|{{{sort|}}}|Modification date}}
 
|sort={{#if: {{{sort|}}}|{{{sort|}}}|Modification date}}
 
|order=descending
 
|order=descending
|?Has objectClass2
+
|?Display image
 
|?Has revisionSize
 
|?Has revisionSize
 
|?Has revisionUser
 
|?Has revisionUser
Line 22: Line 22:
 
|?Has wikipediaPage2
 
|?Has wikipediaPage2
 
|?Has fullPageNamee
 
|?Has fullPageNamee
|?Has image2
 
|?Has logo
 
 
|?Modification date
 
|?Modification date
 
|format=template
 
|format=template

Revision as of 15:37, 15 July 2015

This template makes a single tab of Template:Main-panel-tabstrip-with-icon.
The output is formatted by Template:Main-panel-with-icon/output.

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)
}}