Template:Subpage style test: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
(reset to current version)
Line 3: Line 3:
|-
|-
|<!--
|<!--
***Adds the status bar on the article and all subpages.***
|approved color={{{approved color|}}}|not approved color={{{not approved color|}}}|button off color={{{button off color|}}}
-->{{#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: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: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 109: Line 116:
         |style="background:#{{{approved color|}}}
         |style="background:#{{{approved color|}}}
         |style="background:#{{{not approved color|}}} }}; padding: 2px 2px 2px 2px; border-right:1px solid #aaaaaa; border-bottom:1px solid #aaaaaa"|
         |style="background:#{{{not approved color|}}} }}; padding: 2px 2px 2px 2px; border-right:1px solid #aaaaaa; border-bottom:1px solid #aaaaaa"|
{| height=25px align="left" border="0" cellpadding="2" cellspacing="0"
{{#ifexist: image:Level{{{status|}}}.jpg
                |{{!}}[[Image:Level{{{status|}}}.jpg|15px]]
                |{{!}}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]] }}
|}
{| 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 11:34, 13 March 2009

Full documentation for this template can be found at Subpages test/doc.

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.