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

From Wikispooks
Jump to navigation Jump to search
(Move year one tabstrip left)
(Move WS tab left)
 
(22 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
Individual tabs are rendered by [[Template:Main-panel-tabstrip-with-icon/tab]].<br/>
 
Individual tabs are rendered by [[Template:Main-panel-tabstrip-with-icon/tab]].<br/>
 
It has one parameter, the number of items per tabstrip (which defaults to 15)<br/>
 
It has one parameter, the number of items per tabstrip (which defaults to 15)<br/>
It is a tabstripped version of [[Template:Main-panel-with-icon]].[[Category:WikiSpooks Mainpage Templates‎]]<br/>
+
It is a tabstripped version of [[Template:Main-panel-with-icon]].[[Category:Wikispooks Mainpage Templates‎]]<br/>
</noinclude><includeonly>{{main-panel-tabstrip-with-icon/tab|image=latest.png |title=Latest    |limit={{{1|}}} |ask=[[Has objectClass2::+]][[Is not stub::true]]}}
+
</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=Barnstar-128.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=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=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=People        |image=person.png         |limit={{{1|}}} |ask=[[Has objectClass2::Person]][[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=Groups        |image=group.png          |limit={{{1|}}} |ask=[[Has objectClass2::Group]][[Is not stub::true]]}}
+
{{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=Concepts      |image=concept.png       |limit={{{1|}}} |ask=[[Has objectClass2::Concept]][[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=Documents    |image=document.png       |limit={{{1|}}} |ask=[[Has objectClass2::Document]][[Is not stub::true]]}}
+
{{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=Years         |image=year.png           |limit={{{1|}}} |ask=[[Has objectClass2::Year]] OR [[Has objectClass2::Decade]]}}
 
 
{{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=Wikispooks    |image=Wikispooks_logo.png|limit={{{1|}}} |ask=[[Has objectClass2::WikispooksPage]]}}
 
{{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::+]]}}
{{main-panel-tabstrip-with-icon/tab|title=Talk          |image=Talk.png          |limit={{{1|}}} |ask=[[Talk:+]] OR [[Document talk:+]] OR [[Template talk:+]] OR [[Concept talk:+]] OR [[File talk:+]] OR [[WikiSpooks talk:+]]}}
+
--><!-- =[[image:Video.png|40px|alt=Video|link=]]&nbsp;<span style="display:none;">Video</span>=
<!-- =[[image:Video.png|40px|alt=Video|link=]]&nbsp;<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=]]&nbsp;<span style="display:none;">Image</span>=
 
=[[image:Image.png|40px|alt=Image|link=]]&nbsp;<span style="display:none;">Image</span>=
{{#ask: [[constitutes::Cover-image]][[Has publicationDate::+]] | ?Has caption | ?Description2 | ?Subtext2 |limit=1 |sort=Has publicationDate |order=descending |format=template |template=Main Page/output-image |searchlabel= |link=none}}-->
+
{{#ask: [[constitutes::Cover-image]][[Has publicationDate::+]] | ?Has caption | ?Description2 | ?Subtext2 |limit=1 |sort=Has publicationDate |order=descending |format=template |template=Main Page/output-image |searchlabel= |link=none}}--><!--
=[[image:Twitter.png|40px|alt=Twitter|link=]]&nbsp;<span style="display:none;">Twitter</span>=
+
=[[image:Twitter.png|40px|alt=Twitter|link=]]&nbsp;<span style="display:none;">Twitter</span>= -->
 
{{main-panel-twitter|height=1200|width=660}}
 
{{main-panel-twitter|height=1200|width=660}}
{{main-panel-tabstrip-with-icon/tab|title=Wikispooks    |image=Wikispooks_logo.png |limit={{{1|}}} |ask=[[Has objectClass2::WikispooksPage]]}}
+
{{main-panel-tabstrip-with-icon/tab|title=Talk          |image=Talk.png           |limit={{{1|}}} |ask=[[Talk:+]] OR [[Document talk:+]] OR [[Template talk:+]] OR [[Concept talk:+]] OR [[File talk:+]] OR [[Wikispooks talk:+]]}}
{{main-panel-tabstrip-with-icon/tab|title=Templates     |image=Template.png      |limit={{{1|}}} |ask=[[Template:+]]}}<!--{{main-panel-tabstrip-with-icon/tab|title=Semantic Web  |image=SMW.png            |limit={{{1|}}} |ask=[[Has objectClass2::Property]]}}--><!--
+
{{main-panel-tabstrip-with-icon/tab|title=System     |image=Template.png      |limit={{{1|}}} |ask=[[Template:+]] OR [[Has objectClass2::Property]]}}<!--{{main-panel-tabstrip-with-icon/tab|title=Semantic Web  |image=SMW.png            |limit={{{1|}}} |ask=[[Has objectClass2::Property]]}}--><!--
 
{{main-panel-tabstrip-with-icon/tab|title=Timelines    |image=timeline.png        |limit={{{1|}}} |ask=[[Has objectClass2::Timeline]]}} --><headertabs/></includeonly>
 
{{main-panel-tabstrip-with-icon/tab|title=Timelines    |image=timeline.png        |limit={{{1|}}} |ask=[[Has objectClass2::Timeline]]}} --><headertabs/></includeonly>

Latest revision as of 18:33, 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.