Difference between revisions of "Template:Main-panel-tabstrip-with-icon/tab"
Jump to navigation
Jump to search
(extra param) |
(Add title to icon?) |
||
Line 10: | Line 10: | ||
|sort= property to sort on (defaults to [[Property:Modification date|Modification date]])<br/> | |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>= <span title="{{{title|}}}">[[image:{{{image|}}}|40px|alt={{{title|}}}|link=]]</span> <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|}}} |
Revision as of 13:24, 27 March 2018
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)
}}