Difference between revisions of "Template:Page status"
Jump to navigation
Jump to search
(+cat) |
(Working) |
||
(10 intermediate revisions by 2 users not shown) | |||
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=#339966|historical|obsolete=#484848|#default=#990000}}; color:#fff; margin:0; padding:5px;"> |
||
− | {{{!}} style="width:100%; margin:auto; border-collapse:collapse; margin-bottom:1.3em;" |
||
+ | {{#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}}}}}} |
||
− | | |
+ | |draft=Status: '''Draft'''<includeonly>[[Category:Draft documents under development]]</includeonly> |
− | | |
+ | |historical|obsolete=Status: '''Historical'''<includeonly>[[Category:Historical or obsolete pages]]</includeonly> |
− | |obsolete=this is an '''obsolete draft''' that is no longer under development<includeonly>[[Category:Obsolete drafts]]</includeonly> |
||
}} |
}} |
||
+ | </span> |
||
− | {{!}}} |
||
− | }}<noinclude>[[Category: |
+ | }}<noinclude>[[Category:Visual identity templates]]</noinclude> |
Latest revision as of 17:35, 16 June 2018
Status: Draft