Template:Order info: Difference between revisions

m Render status span only (drop category to avoid index pollution)
m Preserve the space before the (superseding order) link so it renders "Superseded (…)"
 
Line 1: Line 1:
<includeonly><span class="ostat ostat-{{lc:{{{status|active}}}}}">{{{status|Active}}}{{#if:{{{by|}}}| ([[{{{by}}}]])}}</span></includeonly><noinclude>
<includeonly><span class="ostat ostat-{{lc:{{{status|active}}}}}">{{{status|Active}}}{{#if:{{{by|}}}|&#32;([[{{{by}}}]])}}</span></includeonly><noinclude>
Structured metadata for the DPL-built order/directive index tables. Renders the status (shown in the index Status column; superseded/rescinded/amended rows are tinted) and stores the effective date. Place near the top of an order page.
Structured metadata for the DPL-built order/directive index tables. Renders the status (shown in the index Status column; superseded/rescinded/amended rows are tinted) and stores the effective date. Place near the top of an order page.
<pre>{{Order info
<pre>{{Order info