Difference between revisions of "Template:Main-panel-tabstrip-with-icon"
Jump to navigation
Jump to search
(Has revisionSize) |
(NEW not working? And slight reordering of tabs) |
||
Line 5: | Line 5: | ||
</noinclude><includeonly>{{main-panel-tabstrip-with-icon/tab|image=latest.png |title=Latest |limit={{{1|}}} |ask=[[Has objectClass2::+]][[Is not stub::true]][[Has revisionSize::<99999]]}} | </noinclude><includeonly>{{main-panel-tabstrip-with-icon/tab|image=latest.png |title=Latest |limit={{{1|}}} |ask=[[Has objectClass2::+]][[Is not stub::true]][[Has revisionSize::<99999]]}} | ||
{{main-panel-tabstrip-with-icon/tab|title=Top Rated |image=star-64.png |limit={{{1|}}} |sort=Has averageRating |ask=[[Has averageRating::+]]}} | {{main-panel-tabstrip-with-icon/tab|title=Top Rated |image=star-64.png |limit={{{1|}}} |sort=Has averageRating |ask=[[Has averageRating::+]]}} | ||
+ | {{main-panel-tabstrip-with-icon/tab|title=Documents |image=document.png |limit={{{1|}}} |ask=[[Has objectClass2::Document]][[Is not stub::true]][[Has image::+]] OR [[Has objectClass2::Document]][[Is not stub::true]][[Has logo::+]]}} | ||
{{main-panel-tabstrip-with-icon/tab|title=Concepts |image=concept.png |limit={{{1|}}} |ask=[[Has objectClass2::Concept]][[Is not stub::true]]}} | {{main-panel-tabstrip-with-icon/tab|title=Concepts |image=concept.png |limit={{{1|}}} |ask=[[Has objectClass2::Concept]][[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]][[Has image::+]][[Is not stub::true]][[Has revisionSize::<99999]]}} | {{main-panel-tabstrip-with-icon/tab|title=People |image=person.png |limit={{{1|}}} |ask=[[Has objectClass2::Person]][[Has image::+]][[Is not stub::true]][[Has revisionSize::<99999]]}} | ||
Line 17: | Line 17: | ||
{{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]]}} | ||
{{main-panel-tabstrip-with-icon/tab|title=Stubs |image=Stub.png |limit={{{1|}}} |ask=[[Is stub::Yes]]}} | {{main-panel-tabstrip-with-icon/tab|title=Stubs |image=Stub.png |limit={{{1|}}} |ask=[[Is stub::Yes]]}} | ||
+ | <!-- Removes June 5, 2019, since it was not working for me. | ||
{{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=New Pages |image=new.png |limit={{{1|}}} |ask=[[Concept:New pages]][[Has objectClass2::+]]}} | ||
− | <!-- =[[image:Video.png|40px|alt=Video|link=]] <span style="display:none;">Video</span>= | + | --><!-- =[[image:Video.png|40px|alt=Video|link=]] <span style="display:none;">Video</span>= |
{{#ask: [[constitutes::Cover-video]][[Has publicationDate::+]] | ?Has caption| ?Has videoCode | ?Description2 | ?Subtext2 |limit=1 |sort=Has publicationDate|order=descending |format=template |template=Main Page/output-video |searchlabel=}} | {{#ask: [[constitutes::Cover-video]][[Has publicationDate::+]] | ?Has caption| ?Has videoCode | ?Description2 | ?Subtext2 |limit=1 |sort=Has publicationDate|order=descending |format=template |template=Main Page/output-video |searchlabel=}} | ||
=[[image:Image.png|40px|alt=Image|link=]] <span style="display:none;">Image</span>= | =[[image:Image.png|40px|alt=Image|link=]] <span style="display:none;">Image</span>= |
Revision as of 17:49, 5 June 2019
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.