Template:Subpages2: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Larry Sanger
No edit summary
imported>Chris Day
(make this version to use tabs for draft and mainarticle with no use of the basepagename)
Line 1: Line 1:
<!--encompassing table, for padding around the table-->{| align="right" cellpadding="5"
<!--encompassing table, for padding around the table-->
<div class="thumb tright" style="background-color: #f9f9f9; ">
{|border="0" cellpadding="1" cellspacing="0" style="margin: 0.3 em;"
|
|
{| align="right" width="125px" border="1" cellpadding="5" cellspacing="0" style="border:1px #4682b4; border-collapse:collapse"
{|width="120px" border="0" cellpadding="4" cellspacing="2" style="background:#B8DAE5"
|style="background:#B8DAE5" align=center|'''More Information'''
|style="background:#B8DAE5" align=center|<font size=1>'''Infoset'''</font>
[[{{NAMESPACE}}:{{#if:{{{title|}}}|{{{title}}}|{{BASEPAGENAME}}}}|{{#if:{{{title|}}}|{{{title}}}|{{BASEPAGENAME}}}}]]
{{#ifexist:{{NAMESPACE}}:{{#if:{{{title|}}}|{{{title}}}|{{BASEPAGENAME}}}}/Draft|<br><font size=1>''[[{{#if:{{{title|}}}|{{{title}}}|{{BASEPAGENAME}}}}/Draft|Draft page]]''</font>}}
|-
|-
|[[{{NAMESPACE}}:{{#if:{{{title|}}}|{{{title}}}|{{BASEPAGENAME}}}}/Categories|Categories]]
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}|
{{!}} align=center bgcolor="#cccccc" style="border-bottom:2px solid #eeeeee; border-top:2px solid #999999; border-left:2px solid #ffffff; border-right:2px solid #888888"| {{!}} align=center bgcolor="#dddddd" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #ffffff"}} |[[{{NAMESPACE}}:{{BASEPAGENAME}}|Main Article]]
|-
|-
|[[{{NAMESPACE}}:{{#if:{{{title|}}}|{{{title}}}|{{BASEPAGENAME}}}}/Bibliography|Bibliography]]
{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Draft|{{subpage_list_row|Draft|Draft page}}}}
|-
|-
|[[{{NAMESPACE}}:{{#if:{{{title|}}}|{{{title}}}|{{BASEPAGENAME}}}}/Links|Links]]<noinclude>
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Definition|
{{!}} align=center bgcolor="#cccccc" style="border-bottom:2px solid #eeeeee; border-top:2px solid #999999; border-left:2px solid #ffffff; border-right:2px solid #888888"| {{!}} align=center bgcolor="#dddddd" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #ffffff"}} |[[{{NAMESPACE}}:{{BASEPAGENAME}}/Definition|Definition]]{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Defintion||&nbsp;<font color="#00ff00" size=1>[[Template:Def {{BASEPAGENAME}}|e]]</font>}}
|-
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Related|
{{!}} align=center bgcolor="#cccccc" style="border-bottom:2px solid #eeeeee; border-top:2px solid #999999; border-left:2px solid #ffffff; border-right:2px solid #888888"| {{!}} align=center bgcolor="#dddddd" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #ffffff"}} |[[{{NAMESPACE}}:{{BASEPAGENAME}}/Related|Related&nbsp;articles]]
|-
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Bibliography|  
{{!}} align=center bgcolor="#cccccc" style="border-bottom:2px solid #eeeeee; border-top:2px solid #999999; border-left:2px solid #ffffff; border-right:2px solid #888888"| {{!}} align=center bgcolor="#dddddd" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #ffffff"}} |[[{{NAMESPACE}}:{{BASEPAGENAME}}/Bibliography|Bibliography]]
|-
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Links|  
{{!}} align=center bgcolor="#cccccc" style="border-bottom:2px solid #eeeeee; border-top:2px solid #999999; border-left:2px solid #ffffff; border-right:2px solid #888888"| {{!}} align=center bgcolor="#dddddd" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #ffffff"}} |[[{{NAMESPACE}}:{{BASEPAGENAME}}/Links|External&nbsp;links]]
|-
<noinclude>
<!-- Canonical list of subpages-->
<!-- Canonical list of subpages-->
</noinclude>{{subpage_list_row|Gallery|Gallery|title={{{title}}}}}<nowiki>
</noinclude>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tables|{{subpage_list_row|Tables|Tables}}}}<nowiki>
</noinclude>{{subpage_list_row|Invited_articles|Invited articles|title={{{title}}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Gallery|{{subpage_list_row|Gallery|Gallery}}}}<nowiki>
</noinclude>{{subpage_list_row|Debate_guide|Debate guide|title={{{title}}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Timelines|{{subpage_list_row|Timelines|Timelines}}}}<nowiki>
</noinclude>{{subpage_list_row|News_guide|News guide|title={{{title}}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tutorials|{{subpage_list_row|Tutorials|Tutorials}}}}<nowiki>
</noinclude>{{subpage_list_row|Timelines|Timelines|title={{{title}}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Debate_guide|{{subpage_list_row|Debate guide|Debate guide}}}}<nowiki>
</noinclude>{{subpage_list_row|Tutorials|Tutorials|title={{{title}}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/News_guide|{{subpage_list_row|News guide|News guide}}}}<nowiki>
</noinclude>{{subpage_list_row|Catalogs|Catalogs|title={{{title}}}}}
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Invited_articles|{{subpage_list_row|Invited articles|Invited articles}}}}
|-
|<center><font size=1>''[[CZ:Subpage Pilot|About Infosets]]''</font></center>
|}
|}
|}<noinclude>
|}</div>
[[User:Larry Sanger|Here's a test page]] -- see the upper right
</noinclude>

Revision as of 14:10, 10 July 2007