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

From Wikispooks
Jump to navigation Jump to search
(Remove video, image, template & SMW tabs - these are either out of date and/or not of great interest to most browsers)
(Move WS tab left)
 
(42 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>'''This template makes a panel for the main page.'''<br/>
+
<noinclude>'''This template makes the main panel for the [[Main Page]].'''<br/>
It is a tabstripped version of [[Template:Main-panel-with-icon]].[[Category:WikiSpooks Templates]]<br/>
+
Individual tabs are rendered by [[Template:Main-panel-tabstrip-with-icon/tab]].<br/>
</noinclude>{{main-panel-tabstrip-with-icon/tab|image=latest.png |title=Latest    |ask=[[Has objectClass2::+]]}}
+
It has one parameter, the number of items per tabstrip (which defaults to 15)<br/>
{{main-panel-tabstrip-with-icon/tab|title=New Pages     |image=new.png             |ask=[[Concept:New pages]][[:+]] OR  
+
It is a tabstripped version of [[Template:Main-panel-with-icon]].[[Category:Wikispooks Mainpage Templates‎]]<br/>
[[Concept:New pages]][[Talk:+]] OR
+
</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]]}}
[[Concept:New pages]][[Document:+]] OR
+
{{main-panel-tabstrip-with-icon/tab|title=Top Rated     |image=star-64.png        |limit={{{1|}}} |sort=Has averageRating |ask=[[Has averageRating::+]]}}
[[Concept:New pages]][[Template:+]] OR
+
{{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::+]]}}
[[Concept:New pages]][[Property:+]] OR
+
{{main-panel-tabstrip-with-icon/tab|title=Concepts      |image=concept.png        |limit={{{1|}}} |ask=[[Has objectClass2::Concept]][[Is not stub::true]]}}
[[Concept:New pages]][[Project:+]]}}
+
{{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=Documents    |image=document.png       |ask=[[Has objectClass2::Document]]}}
+
{{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          |ask=[[Has objectClass2::Event]]}}
+
{{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         |ask=[[Has objectClass2::Person]]}}
+
{{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           |ask=[[Has objectClass2::Group]]}}
+
{{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         |ask=[[Has objectClass2::Concept]]}}
+
{{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=Websites      |image=website.png         |ask=[[Has objectClass2::Website]]}}
+
{{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=Stubs        |image=Stub.png           |ask=[[Is stub::Yes]]}}
+
{{main-panel-tabstrip-with-icon/tab|title=Websites      |image=website.png       |limit={{{1|}}} |ask=[[Has objectClass2::Website]]}}
{{main-panel-tabstrip-with-icon/tab|title=Talk          |image=Talk.png           |ask=[[Talk:+]] OR [[Document talk:+]] OR [[Template talk:+]] OR [[Concept talk:+]] OR [[File talk:+]] OR [[WikiSpooks talk:+]]}}
+
{{main-panel-tabstrip-with-icon/tab|title=Wikispooks    |image=Wikispooks_logo.png|limit={{{1|}}} |ask=[[Has objectClass2::WikispooksPage]]}}
<!-- =[[image:Video.png|40px|alt=Video|link=]]&nbsp;<span style="display:none;">Video</span>=
+
{{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]]}}
 +
<!-- 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::+]]}}
 +
--><!-- =[[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 |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         |ask=[[Template:+]]}}
+
{{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=Semantic Web  |image=SMW.png            |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        |ask=[[Has objectClass2::Timeline]]}} --><headertabs/>
 

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.