Template:Subpages9: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
Line 2: Line 2:
{|width="100%" border="0" cellpadding="1" cellspacing="0" style="background:#ffffff"
{|width="100%" border="0" cellpadding="1" cellspacing="0" style="background:#ffffff"
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}| {{subpagetab}} | {{Subpagetab2}} }}|<font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}|Main&nbsp;Article]]</font>
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}| {{subpagetab}} | {{Subpagetab2}} }}|<font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}|Main&nbsp;Article]]</font>
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Draft|  
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Draft| {{subpagetab}} | {{Subpagetab2}} }}|<font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Draft|Draft]]</font>
{{!}} 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| {{subpagetab}} | {{Subpagetab2}} }}|<font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Related|Related&nbsp;articles]]</font>
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Related|  
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Bibliography| {{subpagetab}} | {{Subpagetab2}} }}|<font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Bibliography|Bibliography]]</font>
{{!}} 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}}/Links| {{subpagetab}} | {{Subpagetab2}} }}|<font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Links|External&nbsp;links]]</font><nowiki>
{{ #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}}/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|{{!}}{{!}}  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>

Revision as of 10:02, 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