Template:Subpage style test: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Daniel Mietchen
(next try)
imported>Daniel Mietchen
(missing "}")
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:1px solid #aaaaaa; border-bottom:1px solid #aaaaaa; border-top:1px solid #aaaaaa; border-right:1px solid #aaaaaa;"{{!}} [[Image:Level{{{status|}}}.jpg|10px{{#ifeq: 0 |{{{status}}}|Approved Article|}}{{#ifeq: 1 |{{{status|}}}|Developed Article|}}{{#ifeq: 2 | {{{status|}}}|Developing Article|}}{{#ifeq: 3 | {{{status|}}}|Stub|}}{{#ifeq: 4 | {{{status|}}}|External Article|}]]
                 |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:Level{{{status|}}}.jpg|10px{{#ifeq: 0 |{{{status}}}|Approved Article|}}{{#ifeq: 1 |{{{status|}}}|Developed Article|}}{{#ifeq: 2 | {{{status|}}}|Developing Article|}}{{#ifeq: 3 | {{{status|}}}|Stub|}}{{#ifeq: 4 | {{{status|}}}|External Article|}}]]
                 |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 12:08, 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.