Template:Order info: Difference between revisions

From TenthFleet
Jump to navigation Jump to search
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

Latest revision as of 02:07, 14 July 2026

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.

{{Order info
| date   = 8 December 2022
| status = Active
| by     =
}}
  • status — Active (default) / Superseded / Rescinded / Amended   •   by — superseding order (link)