Difference between revisions of "Template:Main-panel-tabstrip-with-icon/tab"
Jump to navigation
Jump to search
(3MB coverpage is heavy!) |
(Sort by Modification date) |
||
Line 7: | Line 7: | ||
|limit= how many results to show (defaults to 15)<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: | + | |sort= property to sort on (defaults to [[Property:Modification date|Modification date]])<br/> |
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
</noinclude><includeonly>= [[image:{{{image|}}}|40px|alt={{{title|}}}|link=]] <span style="display:none;">{{{title|}}}</span> = | </noinclude><includeonly>= [[image:{{{image|}}}|40px|alt={{{title|}}}|link=]] <span style="display:none;">{{{title|}}}</span> = | ||
{|style="font-size:100%; text-align:left; width:100%; border-bottom:1px solid #dedede; padding:0.25em;" | {|style="font-size:100%; text-align:left; width:100%; border-bottom:1px solid #dedede; padding:0.25em;" | ||
!{{#Ask: {{{ask|}}} | !{{#Ask: {{{ask|}}} | ||
− | |sort={{#if: {{{sort|}}}|{{{sort|}}}| | + | |sort={{#if: {{{sort|}}}|{{{sort|}}}|Modification date}} |
|order=descending | |order=descending | ||
|?Has objectClass2 | |?Has objectClass2 |
Revision as of 17:08, 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 Modification date)
}}