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

From Wikispooks
Jump to navigation Jump to search
(Headstone tab)
Line 11: Line 11:
 
{{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=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=Recent Deaths |image=headstone.png      |limit={{{1|}}} |ask=[[Has objectClass2::Person]][[Has deathDate::+]]|sort=Died on}}
+
{{main-panel-tabstrip-with-icon/tab|title=Recent Deaths |image=headstone.png      |limit={{{1|}}} |ask=[[Has objectClass2::Person]][[Died on::+]]|sort=Died on}}
 
{{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=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=Current Years |image=current_year.png  |limit={{{1|}}} |ask=[[Has objectClass2::Year]][[Is not stub::true]]  |sort=Has wikipediaPage}}

Revision as of 17:43, 13 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.