Difference between revisions of "Template:Page status"
Jump to navigation
Jump to search
(Working) |
(Working) |
||
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|}}}}}}|historical|1|0}} or {{#ifeq:{{{status|{{{1|}}}}}}|obsolete|1|0}})| |
− | <span style="background:{{#switch:{{{status|{{{1|draft}}}}}}|draft=#990000|review=#006699|historical=#484848|#default=#990000}}; color:#fff; margin:0; padding:5px;"> |
+ | <span style="background:{{#switch:{{{status|{{{1|draft}}}}}}|draft=#990000|review=#006699|historical|obsolete=#484848|#default=#990000}}; color:#fff; margin:0; padding:5px;"> |
{{#switch:{{{status|{{{1|draft}}}}}} |
{{#switch:{{{status|{{{1|draft}}}}}} |
||
|review=Status: '''Under Review'''<includeonly>[[Category:Draft documents under review]]</includeonly> |
|review=Status: '''Under Review'''<includeonly>[[Category:Draft documents under review]]</includeonly> |
||
|draft=Status: '''Draft'''<includeonly>[[Category:Draft documents under development]]</includeonly> |
|draft=Status: '''Draft'''<includeonly>[[Category:Draft documents under development]]</includeonly> |
||
− | |historical=Status: '''Historical'''<includeonly>[[Category:Historical or obsolete documents]]</includeonly> |
+ | |historical|obsolete=Status: '''Historical'''<includeonly>[[Category:Historical or obsolete documents]]</includeonly> |
}} |
}} |
||
</span> |
</span> |
Revision as of 06:19, 14 December 2015
Status: Draft