Template:Subpages7: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(this should fade out the tab when the page does not exist and work as normal when the page does exist)
imported>Chris Day
(code the optional tabs)
Line 16: Line 16:
|}
|}
{|border="0" width=700px align=center frame=box rules=none cellpadding="1" cellspacing="1" style="margin: 0 0 0 0; border-bottom:2px solid #a9a9a9; background:#ffffff; wrap:no"
{|border="0" width=700px align=center frame=box rules=none cellpadding="1" cellspacing="1" style="margin: 0 0 0 0; border-bottom:2px solid #a9a9a9; background:#ffffff; wrap:no"
|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
{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tables| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Tables|
{{!}} 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}}/Tables|Tables]] |
{{!}} 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}}/Tables {{!}} <font color="#cccccc">Tables</font>]] }}
 
{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Gallery| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Gallery|
{{!}} 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}}/Gallery|Gallery]] |  
{{!}} 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}}/Gallery {{!}} <font color="#cccccc">Gallery</font>]] }}
 
{{#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="#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="#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"|Debate&nbsp;Guide
{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tutorials| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/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"|News&nbsp;Guide
{{!}} 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}}/Tutorials|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"|Invited&nbsp;Articles
{{!}} 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}}/Tutorials {{!}} <font color="#cccccc">Tutorials</font>]] }}
 
{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Debate_guide| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Debate_guide|
{{!}} 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}}/Debate_guide|Debate&nbsp;Guide]] |  
{{!}} 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}}/Debate_guide {{!}} <font color="#cccccc">Debate&nbsp;Guide</font>]] }}
 
{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/News_guide| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/News_guide|
{{!}} 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}}/News_guide|News&nbsp;Guide]] |  
{{!}} 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}}/News_guide {{!}} <font color="#cccccc">News&nbsp;Guide</font>]] }}
 
{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Invited_articles| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Invited_articles|
{{!}} 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}}/Invited_articles|Invited&nbsp;Articles]] |  
{{!}} 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}}/Invited_articles {{!}} <font color="#cccccc">Invited&nbsp;Articles</font>]] }}
|}</div>
|}</div>

Revision as of 23:31, 9 July 2007