Difference between revisions of "Template:Page status"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Working)
(Working)
Line 1: Line 1:
{{#ifexpr:{{#ifeq:{{NAMESPACENUMBER}}|0|0|1}} and ({{#ifeq:{{{status|{{{1|}}}}}}|draft|1|0}} or {{#ifeq:{{{status|{{{1|}}}}}}|review|1|0}})|
+
{{#ifexpr:{{#ifeq:{{NAMESPACENUMBER}}|0|0|1}} and ({{#ifeq:{{{status|{{{1|draft}}}}}}|draft|1|0}} or {{#ifeq:{{{status|{{{1|}}}}}}|review|1|0}})|
 
{{{!}} style="width:100%; margin:auto; border-collapse:collapse; margin-bottom:1.3em;"
 
{{{!}} style="width:100%; margin:auto; border-collapse:collapse; margin-bottom:1.3em;"
 
{{!}}-
 
{{!}}-
{{!}} style="padding:10px; padding-bottom:12px; text-align: center; font-size:120%; background:#990000; color:#ffffff; font-variant:small-caps; vertical-align:top; width:100%;" {{!}} {{#switch:{{{status|{{{1|}}}}}}
+
{{!}} style="padding:10px; padding-bottom:12px; text-align: center; font-size:120%; background:#990000; color:#ffffff; font-variant:small-caps; vertical-align:top; width:100%;" {{!}} {{#switch:{{{status|{{{1|draft}}}}}}
 
|review=this is a '''draft document''' that is currently under review<includeonly>[[Category:Draft documents under review]]</includeonly>
 
|review=this is a '''draft document''' that is currently under review<includeonly>[[Category:Draft documents under review]]</includeonly>
 
|draft=this is a '''draft document''' that is currently under development<includeonly>[[Category:Draft documents under development]]</includeonly>
 
|draft=this is a '''draft document''' that is currently under development<includeonly>[[Category:Draft documents under development]]</includeonly>

Revision as of 11:15, 20 May 2013

this is a draft document that is currently under development