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

From Wikispooks
Jump to navigation Jump to search
(undo)
Line 21: Line 21:
 
{{#ask: [[constitutes::Cover-video]][[Has publicationDate::+]] | ?Has caption| ?Has videoCode | ?Description2 | ?Subtext2 |limit=1 |sort=Has publicationDate|order=descending |format=template |template=Main Page/output-video |searchlabel=}}
 
{{#ask: [[constitutes::Cover-video]][[Has publicationDate::+]] | ?Has caption| ?Has videoCode | ?Description2 | ?Subtext2 |limit=1 |sort=Has publicationDate|order=descending |format=template |template=Main Page/output-video |searchlabel=}}
 
=[[image:Image.png|40px|alt=Image|link=]]&nbsp;<span style="display:none;">Image</span>=
 
=[[image:Image.png|40px|alt=Image|link=]]&nbsp;<span style="display:none;">Image</span>=
{{#ask: [[constitutes::Cover-image]][[Has publicationDate::+]] | ?Has caption | ?Description2 | ?Subtext2 |limit=1 |sort=Has publicationDate |order=descending |format=template |template=Main Page/output-image |searchlabel= |link=none}}-->
+
{{#ask: [[constitutes::Cover-image]][[Has publicationDate::+]] | ?Has caption | ?Description2 | ?Subtext2 |limit=1 |sort=Has publicationDate |order=descending |format=template |template=Main Page/output-image |searchlabel= |link=none}}--><!--
=[[image:Twitter.png|40px|alt=Twitter|link=]]&nbsp;<span style="display:none;">Twitter</span>=
+
=[[image:Twitter.png|40px|alt=Twitter|link=]]&nbsp;<span style="display:none;">Twitter</span>= -->
 
{{main-panel-twitter|height=1200|width=660}}
 
{{main-panel-twitter|height=1200|width=660}}
 
{{main-panel-tabstrip-with-icon/tab|title=Wikispooks    |image=Wikispooks_logo.png |limit={{{1|}}} |ask=[[Has objectClass2::WikispooksPage]]}}
 
{{main-panel-tabstrip-with-icon/tab|title=Wikispooks    |image=Wikispooks_logo.png |limit={{{1|}}} |ask=[[Has objectClass2::WikispooksPage]]}}

Revision as of 02:45, 29 December 2017

This template makes the main panel for the Main Page.
Individual tabs are rendered by Template:Main-panel-tabstrip-with-icon/tab.
It has one parameter, the number of items per tabstrip (which defaults to 15)
It is a tabstripped version of Template:Main-panel-with-icon.