Difference between revisions of "Template:Header title"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Don't display draft tags in ns0)
(Adding limit)
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifexpr:{{#ifeq:{{NAMESPACENUMBER}}|0|1|0}} and ({{#ifeq:{{{status|}}}|draft|1|0}} or {{#ifeq:{{{status|}}}|review|1|0}})|
+
{{draft|{{{status|~}}}}} {{#ifeq:{{NAMESPACENUMBER}}|0|__NOEDITSECTION__}} __NOTOC__{{DISPLAYTITLE:{{{title}}}}}{{#ifeq:{{{toc|}}}|yes|{{TOCright|limit={{{limit|3}}}}}}}<noinclude>[[Category:Visual identity templates]]</noinclude>
{{{!}} style="width:100%; margin:auto; border-collapse:collapse; margin-bottom:1.5em;"
 
{{!}}-
 
{{!}} style="padding:10px; text-align: center; font-size:120%; color:#990000; font-variant:small-caps; vertical-align:top; width:100%;" {{!}} {{#switch:{{{status|}}}
 
|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>
 
}}
 
{{!}}}
 
}}
 
{{color bar}} __NOTOC__ __NOEDITSECTION__
 
{| style="width:100%; margin:auto; border-collapse:collapse; margin-bottom:10px; margin-top:0.8em;"
 
| style="padding:10px; padding-left:0; vertical-align:top; width:100%;" |
 
<div style="line-height:100%; font-size: 270%; font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif;">{{{title}}}</div>
 
|}{{#ifeq:{{{toc|}}}|yes|
 
{{TOCright}}}}<noinclude>[[Category:Visual identity templates]]</noinclude>
 

Latest revision as of 18:54, 20 August 2016