Template:Core article: 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:
<div align="left" border="0" style="background-color: #cccccc; margin:0.5em;position:relative;">
<div align="left" border="0" style="background-color: #cccccc; margin:0.5em;position:relative;">
{|width="100%" border="0" cellpadding="1" cellspacing="0" style="background:#f5f5f5"
{|width="100%" border="0" cellpadding="1" cellspacing="0" style="background:#f5f5f5"
|rowspan=2 width=0px style="border-left:1px solid #aaaaaa; border-bottom:1px solid #aaaaaa; border-top:1px solid #aaaaaa;"|
|<!--
<!--


***Adds the CORE ARTICLE home page tab***
***Adds the CORE ARTICLE home page tab***


-->{{ #ifeq: {{FULLPAGENAME}} |CZ:{{BASEPAGENAME}}
-->{{ #ifeq: {{FULLPAGENAME}} |CZ:{{BASEPAGENAME}}
                             | {{button on2|approved color={{Subpage list|button=button on A}}|not approved color={{Subpage list|button=button on NA}}|button off color={{Subpage list|button=button off}} |background={{Subpage list|button=background}}}}  
                             | width=1px style="background:#{{Subpage list|button=button on NA}}; border-left:1px solid #aaaaaa; border-bottom:1px solid #aaaaaa; border-top:1px solid #aaaaaa;"{{!}}
                             | {{button off2|approved color={{Subpage list|button=button on A}}|not approved color={{Subpage list|button=button on NA}}|button off color={{Subpage list|button=button off}} |background={{Subpage list|button=background}}}}}}{{!}}<font size=1>[[CZ:{{BASEPAGENAME}}|Core Home]]</font><!--
{{!}}{{button on2|approved color={{Subpage list|button=button on A}}|not approved color={{Subpage list|button=button on NA}}|button off color={{Subpage list|button=button off}} |background={{Subpage list|button=background}}}}  
                             | width=1px style="background:#{{Subpage list|button=button off}}; border-left:1px solid #aaaaaa; border-bottom:1px solid #aaaaaa; border-top:1px solid #aaaaaa;"{{!}}
{{!}}{{button off2|approved color={{Subpage list|button=button on A}}|not approved color={{Subpage list|button=button on NA}}|button off color={{Subpage list|button=button off}} |background={{Subpage list|button=background}}}}}}{{!}}<font size=1>[[CZ:{{BASEPAGENAME}}|Core Home]]</font><!--


***Adds the TALK tab and ensures it always links to the correct talk page. Also indicates if on a talk page or not. ***
***Adds the TALK tab and ensures it always links to the correct talk page. Also indicates if on a talk page or not. ***
Line 36: Line 37:
|style="background-color: #f2f2f2; border-bottom:1px solid #aaaaaa"|&nbsp;
|style="background-color: #f2f2f2; border-bottom:1px solid #aaaaaa"|&nbsp;
|-  
|-  
|width=1px style="background:#C4D2DF; border-left:1px solid #aaaaaa; border-bottom:1px solid #aaaaaa; border-top:1px solid #aaaaaa;"|
|colspan=20 align=left style="background:#C4D2DF; padding: 2px 2px 2px 2px; border-bottom:1px solid #aaaaaa; border-right:1px solid #aaaaaa"|  
|colspan=20 align=left style="background:#C4D2DF; padding: 2px 2px 2px 2px; border-bottom:1px solid #aaaaaa; border-right:1px solid #aaaaaa"|  
{{ #ifeq: {{BASEPAGENAME}}|{{PAGENAME}}||
{{ #ifeq: {{BASEPAGENAME}}|{{PAGENAME}}||

Revision as of 13:09, 1 May 2008

Usage

Stripped down version of subpages for the core article page