Template:Subpages10: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Stephen Ewen
No edit summary
 
imported>Chris Day
(rv back to basepapge for maina rticle)
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div align="left" style="background-color: #dddddd; border:1px solid #silver; margin:0.5em;">
<div align="left" border="0" style="background-color: #cccccc; margin:0.5em;">
{|width="100%" border="0" cellpadding="1" cellspacing="0" style="background:#ffffff"
{|class=noprint width="100%" border="0" cellpadding="1" cellspacing="0" style="background:#ffffff"{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}| {{button on2|status= {{{{BASEPAGENAME}}/Metadata|info=status}}}} | {{button off2}} }}|<font size=1>[[{{BASEPAGENAME}}|Main Article]]</font>{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Draft| {{button on2|status= {{{{BASEPAGENAME}}/Metadata|info=status}}}} | {{button off2}} }}|<font size=1>[[{{BASEPAGENAME}}/Draft|Draft]]</font>{{Default button 3}}{{Optional button 3}}
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}|
|style="background-color: #FFFFff; border-bottom:2px solid #eeeeee"|&nbsp;
{{!}} width=80px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #aaaaaa; border-top:2px solid #aaaaaa; border-left:2px solid #eeeeee; border-right:2px solid #888888"| {{!}} width=80px align=center bgcolor="#eeeeee" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} |<font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}|Main&nbsp;Article]]</font>
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Draft|  
{{!}} width=80px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #aaaaaa; border-top:2px solid #aaaaaa; border-left:2px solid #eeeeee; border-right:2px solid #888888"| {{!}} width=80px align=center bgcolor="#eeeeee" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} |<font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Draft|Draft]]</font>
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Related|
{{!}}  width=80px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #aaaaaa; border-top:2px solid #aaaaaa; border-left:2px solid #eeeeee; border-right:2px solid #888888"| {{!}} width=80px align=center bgcolor="#eeeeee" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} |<font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Related|Related&nbsp;articles]]</font>
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Bibliography|
{{!}}  width=80px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #aaaaaa; border-top:2px solid #aaaaaa; border-left:2px solid #eeeeee; border-right:2px solid #888888"| {{!}} width=80px align=center bgcolor="#eeeeee" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} |<font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Bibliography|Bibliography]]</font>
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Links|
{{!}}  width=80px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #aaaaaa; border-top:2px solid #aaaaaa; border-left:2px solid #eeeeee; border-right:2px solid #888888"| {{!}} width=80px align=center bgcolor="#eeeeee" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} |<font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Links|External&nbsp;links]]</font><nowiki>
 
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tables| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Tables|{{!}}{{!}}  width=80px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #aaaaaa; border-top:2px solid #aaaaaa; border-left:2px solid #eeeeee; border-right:2px solid #888888"|{{!}}{{!}}  width=80px align=center bgcolor="#eeeeee" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Tables|Tables]]</font> |}}<nowiki>
 
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Gallery| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Gallery|{{!}}{{!}}  width=80px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #aaaaaa; border-top:2px solid #aaaaaa; border-left:2px solid #eeeeee; border-right:2px solid #888888"|{{!}}{{!}}  width=80px align=center bgcolor="#eeeeee" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Gallery|Gallery]]</font> |}}<nowiki>
 
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Timelines| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Timelines|{{!}}{{!}}  width=80px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #aaaaaa; border-top:2px solid #aaaaaa; border-left:2px solid #eeeeee; border-right:2px solid #888888"|{{!}}{{!}}  width=80px align=center bgcolor="#eeeeee" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Timelines|Timelines]]</font> |}}<nowiki>
 
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tutorials| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Tutorials|{{!}}{{!}}  width=80px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #aaaaaa; border-top:2px solid #aaaaaa; border-left:2px solid #eeeeee; border-right:2px solid #888888"|{{!}}{{!}}  width=80px align=center bgcolor="#eeeeee" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Tutorials|Tutorials]] </font>|}}<nowiki>
 
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Debate guide|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Debate guide|{{!}}{{!}}  width=80px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #aaaaaa; border-top:2px solid #aaaaaa; border-left:2px solid #eeeeee; border-right:2px solid #888888"|{{!}}{{!}}  width=80px align=center bgcolor="#eeeeee" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Debate guide|Debate&nbsp;Guide]]</font> |}}<nowiki>
 
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/News guide| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/News guide|{{!}}{{!}}  width=80px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #aaaaaa; border-top:2px solid #aaaaaa; border-left:2px solid #eeeeee; border-right:2px solid #888888"|{{!}}{{!}}  width=80px align=center bgcolor="#eeeeee" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/News guide|News&nbsp;Guide]]</font> |}}<nowiki>
 
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Invited articles|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Invited articles|{{!}}{{!}}  width=80px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #aaaaaa; border-top:2px solid #aaaaaa; border-left:2px solid #eeeeee; border-right:2px solid #888888"|{{!}}{{!}}  width=80px align=center bgcolor="#eeeeee" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Invited articles|Invited&nbsp;Articles]]</font> |}}<nowiki>
 
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Discography|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Discography|{{!}}{{!}}  width=80px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #aaaaaa; border-top:2px solid #aaaaaa; border-left:2px solid #eeeeee; border-right:2px solid #888888"|{{!}}{{!}}  width=80px align=center bgcolor="#eeeeee" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Discography|Discography]]</font> |}}<nowiki>
 
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other1|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other1|{{!}}{{!}}  width=80px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #aaaaaa; border-top:2px solid #aaaaaa; border-left:2px solid #eeeeee; border-right:2px solid #888888"|{{!}}{{!}}  width=80px align=center bgcolor="#eeeeee" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Other1|Other1]]</font> |}}<nowiki>
 
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other2|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other2|{{!}}{{!}}  width=80px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #aaaaaa; border-top:2px solid #aaaaaa; border-left:2px solid #eeeeee; border-right:2px solid #888888"|{{!}}{{!}}  width=80px align=center bgcolor="#eeeeee" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Other2|Other2]]</font> |}}<nowiki>
 
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other3|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other3|{{!}}{{!}}  width=80px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #aaaaaa; border-top:2px solid #aaaaaa; border-left:2px solid #eeeeee; border-right:2px solid #888888"|{{!}}{{!}}  width=80px align=center bgcolor="#eeeeee" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Other3|Other3]]</font> |}}<nowiki>
 
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other4|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other4|{{!}}{{!}}  width=80px align=center bgcolor="#dddddd" style="border-bottom:2px solid #dddddd; border-top:2px solid #aaaaaa; border-top:2px solid #aaaaaa; border-left:2px solid #eeeeee; border-right:2px solid #888888"|{{!}}{{!}}  width=80px align=center bgcolor="#eeeeee" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #ffffff; border-right:2px solid #cccccc"}} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Other4|Other4]]</font> |}}
|style="background-color: #dddddd; border-bottom:2px solid #aaaaaa"|&nbsp;
|-
|-
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}|
{{#ifeq: {{{{BASEPAGENAME}}/Metadata|info=status}}|0|{{!}}colspan=20 style="padding: 10px 10px 10px 10px; background:#C4DFC4; border-left:2px solid #bbbbbb; border-bottom:2px solid #cccccc"|{{!}}colspan=20 style="padding: 5px 5px 5px 5px; background:#C4D2DF; border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb"}}|{{Subpage_print2}}  
{{!}}colspan=20 style="background:#dddddd"{{!}}
{{approved2}}|}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Draft|{{Template:Subpage list row2|Draft}}}}<nowiki>
 
</nowiki>{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Related|{{Related tab}}|}}<nowiki>
 
</nowiki>{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Bibliography|<br>
{{!}}colspan=20 style="background:#dddddd"{{!}}{{Bibliography tab}}|}}<nowiki>
 
</nowiki>{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Links|<br>
{{!}}colspan=20 style="background:#dddddd"{{!}}{{Links tab}}|}}<nowiki>
 
</nowiki>{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Tables|<br>
{{!}}colspan=20 style="background:#dddddd"{{!}}{{Tables tab}}|}}<nowiki>
 
</nowiki>{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Gallery|<br>
{{!}}colspan=20 style="background:#dddddd"{{!}}{{Gallery tab}}|}}<nowiki>
 
</nowiki>{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Timelines|<br>
{{!}}colspan=20 style="background:#dddddd"{{!}}{{Timelines tab}}|}}<nowiki>
 
</nowiki>{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Tutorials|<br>
{{!}}colspan=20 style="background:#dddddd"{{!}}{{Tutorials tab}}|}}<nowiki>
 
</nowiki>{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Debate guide|<br>
{{!}}colspan=20 style="background:#dddddd"{{!}}{{Debate guide tab}}|}}<nowiki>
 
</nowiki>{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/News guide|<br>
{{!}}colspan=20 style="background:#dddddd"{{!}}{{News guide}}|}}<nowiki>
 
</nowiki>{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Invited articles|<br>
{{!}}colspan=20 style="background:#dddddd"{{!}}{{Invited articles}}|}}<nowiki>
 
</nowiki>{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Discography|<br>
{{!}}colspan=20 style="background:#dddddd"{{!}}{{Discography}}|}}<nowiki>
 
</nowiki>{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other1|<br>
{{!}}colspan=20 style="background:#dddddd"{{!}}{{Other1}}|}}<nowiki>
 
</nowiki>{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other2|<br>
{{!}}colspan=20 style="background:#dddddd"{{!}}{{Other2}}|}}<nowiki>
 
</nowiki>{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other3|<br>
{{!}}colspan=20 style="background:#dddddd"{{!}}{{Other3}}|}}<nowiki>
 
</nowiki>{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other4|<br>
{{!}}colspan=20 style="background:#dddddd"{{!}}{{Other4}}|}}
|}</div><noinclude>
== Placement ==
Use on the top of pages as an index mechanism for subpages.
 
== Usage ==
See example on [[Anthropology]].
 
{|border="0" colspan="1" cellpadding="1" cellspacing="3" style="margin: 0 0 0 0; background:#ffffff;"  
!Wikitext
|-
|<pre>{{Subpages9}}
</pre>
|-
!Appearance
|-
|{{Subpages9}}
|}
<br/>
{| class="wikitable"
!Anatomical
|-
|{{Subpages9}}
|}
|}
 
</div>
==Parameters==
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>

Latest revision as of 01:59, 16 August 2007