Template:Subpages7: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(test more complex if statement for the optional subpages)
imported>Chris Day
(this should fade out the tab when the page does not exist and work as normal when the page does exist)
Line 18: Line 18:
|colspan=2 width=100px align=center bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"|Tables
|colspan=2 width=100px align=center bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"|Tables
|colspan=2 width=100px align=center bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"|Gallery
|colspan=2 width=100px align=center bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"|Gallery
{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Timelines|{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Timelines|  
{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Timelines| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Timelines|  
{{!}} colspan=2 width=110px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #bbbbbb; border-left:2px solid #cccccc; border-right:2px solid #999999"| {{!}}colspan=2 width=110px align=center bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}}{{!}}[[{{NAMESPACE}}:{{BASEPAGENAME}}/Timelines|Timelines]]}}| {{!}}colspan=2 width=110px align=center bgcolor="#f9f9f9" style="border-top:2px solid #eeeeee; border-left:2px solid #ffffff; border-right:2px solid #dddddd"{{!}}[[{{NAMESPACE}}:{{BASEPAGENAME}}/ Timelines {{!}}<font color="#cccccc">Timelines</font>]] }}
{{!}} colspan=2 width=110px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #bbbbbb; border-left:2px solid #cccccc; border-right:2px solid #999999"| {{!}} colspan=2 width=110px align=center bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} {{!}} [[{{NAMESPACE}}:{{BASEPAGENAME}}/Timelines|Timelines]] |  
{{!}} colspan=2 width=110px align=center bgcolor="#f9f9f9" style="border-top:2px solid #eeeeee; border-left:2px solid #ffffff; border-right:2px solid #dddddd" {{!}} [[{{NAMESPACE}}:{{BASEPAGENAME}}/ Timelines {{!}} <font color="#cccccc">Timelines</font>]] }}
|colspan=2 width=100px align=center bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"|Tutorials
|colspan=2 width=100px align=center bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"|Tutorials
|colspan=2 width=100px align=center bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"|Debate&nbsp;Guide
|colspan=2 width=100px align=center bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"|Debate&nbsp;Guide

Revision as of 23:15, 9 July 2007

  Main Article Definition e Related articles Bibliography External links About Subpages  
Tables Gallery Timelines Tutorials Debate Guide News Guide Invited Articles