Template:Subpages9: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
(add subpagetab style templates)
Line 9: Line 9:
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tables| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Tables|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Tables|Tables]]</font> |}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tables| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Tables|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <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}}/Gallery| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Gallery|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <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}}/Timelines| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Timelines|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <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}}/Tutorials| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Tutorials|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <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}}/Debate guide|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Debate guide|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <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}}/News guide| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/News guide|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <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}}/Invited articles|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Invited articles|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <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}}/Discography|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Discography|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <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}}/Other1|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other1|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <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}}/Other2|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other2|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <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}}/Other3|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other3|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <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> |}}
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other4|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other4|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Other4|Other4]]</font> |}}
|style="background-color: #dddddd; border-bottom:2px solid #aaaaaa"|&nbsp;
|style="background-color: #dddddd; border-bottom:2px solid #aaaaaa"|&nbsp;
|-
|-

Revision as of 10:12, 17 July 2007

Main Article Draft Related articles Bibliography External links  
Template:Main article tab

Placement

Use on the top of pages as an index mechanism for subpages.

Usage

See example on Anthropology.

Wikitext
{{Subpages9}}
Appearance


Anatomical

Parameters

None

Credits