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

From Wikispooks
Jump to navigation Jump to search
m (Protected "Template:Main-panel-tabstrip-with-icon" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(Current events tab)
Line 10: Line 10:
 
{{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]][[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=Years        |image=year.png          |limit={{{1|}}} |ask=[[Has objectClass2::Year]][[Is not stub::true]] OR [[Has objectClass2::Decade]][[Is not stub::true]]}}
 
{{main-panel-tabstrip-with-icon/tab|title=Years        |image=year.png          |limit={{{1|}}} |ask=[[Has objectClass2::Year]][[Is not stub::true]] OR [[Has objectClass2::Decade]][[Is not stub::true]]}}
 
{{main-panel-tabstrip-with-icon/tab|title=Websites      |image=website.png        |limit={{{1|}}} |ask=[[Has objectClass2::Website]]}}
 
{{main-panel-tabstrip-with-icon/tab|title=Websites      |image=website.png        |limit={{{1|}}} |ask=[[Has objectClass2::Website]]}}

Revision as of 15:15, 10 June 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.