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

From Wikispooks
Jump to navigation Jump to search
(revert)
m (Text replacement - "WikiSpooks" to "Wikispooks")
 
(15 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 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/>
 
<br/>
 
<br/>
 
Usage:<br/>
 
Usage:<br/>
Line 9: 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|}}}
 
|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 21: Line 22:
 
|?Has wikipediaPage2
 
|?Has wikipediaPage2
 
|?Has fullPageNamee
 
|?Has fullPageNamee
|?Has image
 
|?Has logo
 
 
|?Modification date
 
|?Modification date
 +
|?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
|limit={{#if: {{{limit|}}}|{{{limit}}}|15}}
+
|limit={{#if: {{{limit|}}}|{{{limit}}}|12}}
 
|searchlabel=}}
 
|searchlabel=}}
 
|}</includeonly>
 
|}</includeonly>

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