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

From Wikispooks
Jump to navigation Jump to search
(extra info to output)
(Has fullPageName is superior to Has fullPageNamee for |link)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>'''This template makes a panel for the main page.'''[[Category:WikiSpooks Templates]]<br/>
+
<noinclude>'''This template makes a panel for the main page.'''<br/>
 +
For a tabstripped version, see [[Template:Main-panel-tabstrip-with-icon]].[[Category:Wikispooks Mainpage Templates‎]]<br/>
 
<br/>
 
<br/>
 
Usage:<br/>
 
Usage:<br/>
Line 6: Line 7:
 
|image= image for the section header<br/>
 
|image= image for the section header<br/>
 
|alt= alt text for the image<br/>
 
|alt= alt text for the image<br/>
|limit= how many results to show (defaults to 6)<br/>
+
|limit= how many results to show (defaults to 28)<br/>
 
|link= where to link the title image and text<br/>
 
|link= where to link the title image and text<br/>
 
|title= section title<br/>
 
|title= section title<br/>
Line 23: Line 24:
 
|?Is stub
 
|?Is stub
 
|?Creation date
 
|?Creation date
|?Has wikipediaPage
+
|?Has wikipediaPage2
|?Has image
+
|?Has fullPageName
|?Has logo
+
|?Modification date
 +
|?So called
 +
|?Has averageRating
 +
|?Has titularLogo
 +
|?Has website
 +
|?Description
 
|format=template
 
|format=template
 
|template=Main-panel-with-icon/output
 
|template=Main-panel-with-icon/output

Latest revision as of 14:12, 22 February 2020

This template makes a panel for the main page.
For a tabstripped version, see Template:Main-panel-tabstrip-with-icon.

Usage:
{{Main-panel-with-icon
|ask= The SMW Query expression
|image= image for the section header
|alt= alt text for the image
|limit= how many results to show (defaults to 28)
|link= where to link the title image and text
|title= section title
|sort= property to sort on (defaults to Creation date)
}}