Template:Subpages7: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Robert W King
imported>Chris Day
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}|  
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}|  
{{!}} 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}}|Main Article]]
{{!}} 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}}|Main Article]]
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/ Definition|  
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Definition|  
{{!}} 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}}/Definition|Definition]]{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Defintion||&nbsp;<font color="#00ff00" size=1>[[Template:Def {{BASEPAGENAME}}|e]]</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}}/Definition|Definition]]{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Defintion||&nbsp;<font color="#00ff00" size=1>[[Template:Def {{BASEPAGENAME}}|e]]</font>}}
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Related|  
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Related|  
Line 33: Line 33:
{{!}} 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>]] }}
{{!}} 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|  
{{#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="#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>]] }}
{{!}} 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|  
{{#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="#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>]] }}
{{!}} 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|  
{{#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="#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>]] }}
{{!}} 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>


Line 53: Line 53:


== Usage ==
== Usage ==
See example on [[Anthropology]].
See example on ...no current example.


{|border="0" colspan="1" cellpadding="1" cellspacing="3" style="margin: 0 0 0 0; background:#ffffff;"  
{|border="0" colspan="1" cellpadding="1" cellspacing="3" style="margin: 0 0 0 0; background:#ffffff;"  
Line 59: Line 59:
|-
|-
|<pre>{{Subpages7}}
|<pre>{{Subpages7}}
}}</pre>
</pre>
|-
|-
!Appearance
!Appearance
Line 74: Line 74:
==Parameters==
==Parameters==
None
None
==Credits==
* [[User:Chris Day|Chris Day]], scripting/tab design/Concept
* [[User:Robert W King|Robert King]], Concept/Original Layout
* [[User:Stephen Ewen|Stephen Ewen]], Testing/scripting
* [[User:Larry Sanger|Larry Sanger]], CZ/Establishment of Subpages
</noinclude>
</noinclude>

Latest revision as of 16:54, 16 July 2007