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

From Wikispooks
Jump to navigation Jump to search
(tidier code - might work better)
(remove untemplated files from "NEW" tab)
Line 3: Line 3:
 
It is a tabstripped version of [[Template:Main-panel-with-icon]].[[Category:WikiSpooks Templates]]<br/>
 
It is a tabstripped version of [[Template:Main-panel-with-icon]].[[Category:WikiSpooks Templates]]<br/>
 
</noinclude><includeonly>{{main-panel-tabstrip-with-icon/tab|image=latest.png |title=Latest    |limit={{{1|}}} |ask=[[Has objectClass2::+]]}}
 
</noinclude><includeonly>{{main-panel-tabstrip-with-icon/tab|image=latest.png |title=Latest    |limit={{{1|}}} |ask=[[Has objectClass2::+]]}}
{{main-panel-tabstrip-with-icon/tab|title=New Pages    |image=new.png            |limit={{{1|}}} |ask=[[Concept:New pages]]}}
+
{{main-panel-tabstrip-with-icon/tab|title=New Pages    |image=new.png            |limit={{{1|}}} |ask=[[Concept:New pages]][[Has objectClass2]]}}
 
{{main-panel-tabstrip-with-icon/tab|title=Documents    |image=document.png      |limit={{{1|}}} |ask=[[Has objectClass2::Document]]}}
 
{{main-panel-tabstrip-with-icon/tab|title=Documents    |image=document.png      |limit={{{1|}}} |ask=[[Has objectClass2::Document]]}}
 
{{main-panel-tabstrip-with-icon/tab|title=Events        |image=event.png          |limit={{{1|}}} |ask=[[Has objectClass2::Event]]}}
 
{{main-panel-tabstrip-with-icon/tab|title=Events        |image=event.png          |limit={{{1|}}} |ask=[[Has objectClass2::Event]]}}

Revision as of 15:24, 9 August 2015

This template makes the main panel for the Main Page.
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.