Difference between revisions of "Template:Page status"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Working)
(New appearance)
Line 1: Line 1:
 
{{#ifexpr:{{#ifeq:{{NAMESPACENUMBER}}|0|0|1}} and ({{#ifeq:{{{status|{{{1|draft}}}}}}|draft|1|0}} or {{#ifeq:{{{status|{{{1|}}}}}}|review|1|0}} or {{#ifeq:{{{status|{{{1|}}}}}}|obsolete|1|0}})|
 
{{#ifexpr:{{#ifeq:{{NAMESPACENUMBER}}|0|0|1}} and ({{#ifeq:{{{status|{{{1|draft}}}}}}|draft|1|0}} or {{#ifeq:{{{status|{{{1|}}}}}}|review|1|0}} or {{#ifeq:{{{status|{{{1|}}}}}}|obsolete|1|0}})|
  +
<span style="background:{{#switch:{{{status|}}}|draft=#990000|review=#006699|#default=#990000}}; color:#fff; margin:0; padding:5px; font-size:150%;">
{{{!}} style="width:100%; margin:auto; border-collapse:collapse; margin-bottom:2.5em;"
 
  +
{{#switch:{{{status|{{{1|draft}}}}}}
{{!}}-
 
 
|review=Status: '''Under Review'''<includeonly>[[Category:Draft documents under review]]</includeonly>
{{!}} 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>
+
|draft=Status: '''Draft'''<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>
 
 
}}
 
}}
  +
</span>
{{!}}}
 
 
}}<noinclude>[[Category:Templates]]</noinclude>
 
}}<noinclude>[[Category:Templates]]</noinclude>

Revision as of 02:59, 11 March 2015

Status: Draft