Template:Order info: Difference between revisions
Jump to navigation
Jump to search
m Render status span w/ class (for row tint) + keep category emission |
m Preserve the space before the (superseding order) link so it renders "Superseded (…)" |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><span class="ostat ostat-{{lc:{{{status|active}}}}}">{{{status|Active}}}{{#if:{{{by|}}}| ([[{{{by}}}]])}}</span> | <includeonly><span class="ostat ostat-{{lc:{{{status|active}}}}}">{{{status|Active}}}{{#if:{{{by|}}}| ([[{{{by}}}]])}}</span></includeonly><noinclude> | ||
Structured metadata for the DPL-built order/directive index tables. Renders the status ( | 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 | ||
| date = 8 December 2022 | | date = 8 December 2022 | ||
| Line 6: | Line 6: | ||
| by = | | by = | ||
}}</pre> | }}</pre> | ||
* '''status''' — Active ''(default)'' / Superseded / Rescinded / Amended • '''by''' — superseding order (link) | |||
[[Category: Templates]][[Category: Formatting]]</noinclude> | [[Category: Templates]][[Category: Formatting]]</noinclude> | ||
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)