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

From Wikispooks
Jump to navigation Jump to search
(Current Year)
(No stubs in current year tab)
Line 12: Line 12:
 
{{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}}
 
{{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=Current Years |image=current_year.png  |limit={{{1|}}} |ask=[[Has objectClass2::Year]]  |sort=Has wikipediaPage}}
+
{{main-panel-tabstrip-with-icon/tab|title=Current Years |image=current_year.png  |limit={{{1|}}} |ask=[[Has objectClass2::Year]][[Is not stub::true]]  |sort=Has wikipediaPage}}
 
{{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]]}}
 
{{main-panel-tabstrip-with-icon/tab|title=Employments  |image=employment.png    |limit={{{1|}}} |ask=[[Has objectClass2::Employment]]}}
 
{{main-panel-tabstrip-with-icon/tab|title=Employments  |image=employment.png    |limit={{{1|}}} |ask=[[Has objectClass2::Employment]]}}

Revision as of 15:07, 24 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.