Difference between revisions of "Template:Main-panel-tabstrip-with-icon/tab"
Jump to navigation
Jump to search
(Fix {{s) |
(tidy) |
||
Line 9: | Line 9: | ||
|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/> | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
− | </noinclude><includeonly>={{#if: {{{image|}}}|[[image:{{{image|}}}| | + | </noinclude><includeonly>={{#if: {{{image|}}}|[[image:{{{image|}}}|40px|alt={{{title|}}}|link=]] <span style="display:none;">{{{title|}}}</span>|<big>'''{{{title}}}'''</big>}}= |
{|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|}}} | ||
Line 25: | Line 25: | ||
|template=Main-panel-with-icon/output | |template=Main-panel-with-icon/output | ||
|limit={{#if: {{{limit|}}}|{{{limit}}}|36}} | |limit={{#if: {{{limit|}}}|{{{limit}}}|36}} | ||
− | |searchlabel= | + | |searchlabel=}} |
− | }} | ||
|}</includeonly> | |}</includeonly> |
Revision as of 15:10, 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 36)
|title= tab title
|sort= property to sort on (defaults to Creation date)
}}