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

From Wikispooks
Jump to navigation Jump to search
(undo)
m (Text replacement - "WikiSpooks" to "Wikispooks")
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>'''This template makes a single tab of [[Template:Main-panel-tabstrip-with-icon]].[[Category: WikiSpooks Mainpage Templates‎]]<br/>
+
<noinclude>'''This template makes a single tab of [[Template:Main-panel-tabstrip-with-icon]].[[Category: Wikispooks Mainpage Templates‎]]<br/>
 
The output is formatted by [[Template:Main-panel-with-icon/output]].<br/>
 
The output is formatted by [[Template:Main-panel-with-icon/output]].<br/>
 
<br/>
 
<br/>
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=]]&nbsp;<span style="display:none;">{{{title|}}}</span> =
+
</noinclude><includeonly>= <span title="{{{title|}}}">[[image:{{{image|}}}|40px|alt={{{title|}}}|link=]]</span>&nbsp;<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|}}}
Line 24: Line 24:
 
|?Modification date
 
|?Modification date
 
|?So called
 
|?So called
 +
|?Has averageRating
 +
|?Has wikipediaProtection
 +
|?Has titularLogo
 +
|?Has website
 +
|?Has URL
 +
|?Description
 
|format=template
 
|format=template
 
|template=Main-panel-with-icon/output
 
|template=Main-panel-with-icon/output

Latest revision as of 17:24, 14 October 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)
}}