Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David E. Volk
(Trying old Chris Day version)
imported>David E. Volk
(Undo revision 100591346 by David E. Volk (Talk))
Line 1: Line 1:
<includeonly>{{#if:{{{speedydelete|}}}|{{{speedydelete}}} }}
<includeonly>{{#if:{{{speedydelete|}}}|{{{speedydelete}}} }}
<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 0; position:relative;">
{|class=noprint width="100%" border="0" cellpadding="4" cellspacing="0" style="background:#{{{background|}}}"
{|class=noprint width="100%" border="0" cellpadding="4" cellspacing="0" style="background:#{{{background|}}}"
|-
|-
Line 9: Line 9:


-->{{#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:1px solid #aaaaaa; border-bottom:1px solid #aaaaaa; border-top:1px solid #aaaaaa; border-right:1px solid #aaaaaa;"{{!}}[[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|10pxl|{{#ifeq: 0 |{{{status}}}|{{statusmessage|Approved}}|}}{{#ifeq: 1 |{{{status|}}}|{{statusmessage|developed but not approved}}|}}{{#ifeq: 2 | {{{status|}}}|{{statusmessage|developing and not approved}}|}}{{#ifeq: 3 | {{{status|}}}|{{statusmessage|a stub and thus not approved}}|}}{{#ifeq: 4 | {{{status|}}}|{{statusmessage|basically copied from an external source and has not been approved}}|}}]]
                 |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]] }}<!--
                 |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]] }}<!--



Revision as of 14:20, 20 October 2009

Full documentation for this template can be found at Subpages/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.