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

From Wikispooks
Jump to navigation Jump to search
(Better tabs leftwards)
(MAIN PAGE NOW ONLY LISTS PEOPLE WHO HAVE IMAGES)
Line 8: Line 8:
 
{{main-panel-tabstrip-with-icon/tab|title=Documents    |image=document.png      |limit={{{1|}}} |ask=[[Has objectClass2::Document]][[Is not stub::true]]}}
 
{{main-panel-tabstrip-with-icon/tab|title=Documents    |image=document.png      |limit={{{1|}}} |ask=[[Has objectClass2::Document]][[Is not stub::true]]}}
 
{{main-panel-tabstrip-with-icon/tab|title=Groups        |image=group.png          |limit={{{1|}}} |ask=[[Has objectClass2::Group]][[Is not stub::true]]}}
 
{{main-panel-tabstrip-with-icon/tab|title=Groups        |image=group.png          |limit={{{1|}}} |ask=[[Has objectClass2::Group]][[Is not stub::true]]}}
{{main-panel-tabstrip-with-icon/tab|title=People        |image=person.png        |limit={{{1|}}} |ask=[[Has objectClass2::Person]][[Is not stub::true]]}}
+
{{main-panel-tabstrip-with-icon/tab|title=People        |image=person.png        |limit={{{1|}}} |ask=[[Has objectClass2::Person]][[Has image::+]][[Is not stub::true]]}}
 
{{main-panel-tabstrip-with-icon/tab|title=Events        |image=event.png          |limit={{{1|}}} |ask=[[Has objectClass2::Event]][[Is not stub::true]]}}
 
{{main-panel-tabstrip-with-icon/tab|title=Events        |image=event.png          |limit={{{1|}}} |ask=[[Has objectClass2::Event]][[Is not stub::true]]}}
 
{{main-panel-tabstrip-with-icon/tab|title=Current Events|image=current_event.png  |limit={{{1|}}} |ask=[[Has objectClass2::Event]] |sort=Start}}
 
{{main-panel-tabstrip-with-icon/tab|title=Current Events|image=current_event.png  |limit={{{1|}}} |ask=[[Has objectClass2::Event]] |sort=Start}}

Revision as of 21:31, 2 July 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.