Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
Line 8: Line 8:


-->{{#ifexist: image:Statusbar{{{status|}}}.png
-->{{#ifexist: image:Statusbar{{{status|}}}.png
                 |rowspan=2 width=2px valign=top align=left {{#ifeq:{{{status|}}}|0|style="background:#{{{approved color|}}};|style="background:#{{{not approved color|}}};}} border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:1px solid #dddddd;"{{!}}[[Image:Statusbar{{{status|}}}.png]]
                 |rowspan=2 width=2px valign=top align=left {{#ifeq:{{{status|}}}|0|style="background:#{{{approved color|}}};|style="background:#{{{not approved color|}}};}} border-left:1px solid #aaaaaa; border-bottom:1px solid #aaaaaa; border-top:1px solid #aaaaaa; border-right:1px solid #aaaaaa;"{{!}}[[Image:Statusbar{{{status|}}}.png]]
                 |rowspan=2 align=center width=2px style="background:#{{{not approved color|}}}; border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:1px solid #dddddd;"{{!}}Please [http://en.citizendium.org/wiki?title=Template:{{BASEPAGENAMEE}}/Metadata&action=edit '''update&nbsp;the&nbsp;status&nbsp;field'''] to a value between '''0-4''' [[Category:Articles_with_Ambiguous_Status]] }}<!--
                 |rowspan=2 align=center width=2px style="background:#{{{not approved color|}}}; border-left:1px solid #aaaaaa; border-bottom:1px solid #aaaaaa; border-top:1px solid #aaaaaa; border-right:1px solid #aaaaaa;"{{!}}Please [http://en.citizendium.org/wiki?title=Template:{{BASEPAGENAMEE}}/Metadata&action=edit '''update&nbsp;the&nbsp;status&nbsp;field'''] to a value between '''0-4''' [[Category:Articles_with_Ambiguous_Status]] }}<!--


***Adds the MAIN ARTICLE tab***
***Adds the MAIN ARTICLE tab***
Line 102: Line 102:


</nowiki>{{Button_off2|button off color={{{button off color|}}}}}|{{click|image=Subpages.png|link=CZ:Subpages |width=17px|height=17px}}
</nowiki>{{Button_off2|button off color={{{button off color|}}}}}|{{click|image=Subpages.png|link=CZ:Subpages |width=17px|height=17px}}
|width=100% style="background-color: #{{{background|}}}; border-bottom:2px solid #eeeeee"|&nbsp;
|width=100% style="background-color: #{{{background|}}}; border-bottom:1px solid #eeeeee"|&nbsp;
|-  
|-  
|colspan=20 {{#ifeq: {{{status|}}}|0
|colspan=20 {{#ifeq: {{{status|}}}|0
         |align=left style="background:#{{{approved color|}}}; {{#ifeq:{{{name|}}}|{{{basepagename|}}}|{{#ifeq:{{{namespace|}}}||border-left:2px solid #aaaaaa|border-left:2px solid #bbbbbb}}|border-left:2px solid #bbbbbb}}
         |align=left style="background:#{{{approved color|}}}
         |align=left style="background:#{{{not approved color|}}}; {{#ifeq:{{{name|}}}|{{{basepagename|}}}|{{#ifeq:{{{namespace|}}}||border-left:2px solid #aaaaaa|border-left:2px solid #bbbbbb}}|border-left:2px solid #bbbbbb}} }}; padding: 2px 2px 2px 2px; border-bottom:2px solid #bbbbbb"|
         |align=left style="background:#{{{not approved color|}}} }}; padding: 2px 2px 2px 2px; border-bottom:1px solid #aaaaaa"|
{| height=25px align="right" border="0" cellpadding="2" cellspacing="0"
{| height=25px align="right" border="0" cellpadding="2" cellspacing="0"
{{ #ifeq:{{{namespace|}}}|Template
{{ #ifeq:{{{namespace|}}}|Template

Revision as of 13:23, 25 April 2008


Usage

See CZ:Using the Subpages template for information on how to use this template. See CZ:Subpages for an introduction to the concept and our use of subpages.

Examples of this templates use can be found at the Test article cluster.