Difference between revisions of "Template:Status"

From DFM Wiki
(Fixed URL to source)
(Use table layout with different colours for "draft" and "published" reports)
Line 1: Line 1:
<includeonly>== {{trim| {{#lsth:{{{1}}}|title}} }}==
+
<includeonly><div style="display:table;padding:1em; margin:1em 0; border: solid 2px {{#ifeq: {{trim| {{#lsth:{{{1}}}|Status}} }} | PUBLISHED | green | red }}">
 +
<div style="width:20%; display:table-cell">
 +
<b>{{{1}}}</b>
 +
 
 +
([[{{{1}}}|Source]])
 +
</div>
 +
<div style="display:table-cell">
 
{{#lsth:{{{1}}}|Status}}
 
{{#lsth:{{{1}}}|Status}}
[[{{{1}}}#Status|Source]]
+
</div></div></includeonly><noinclude>
</includeonly><noinclude>
 
 
<templatedata>
 
<templatedata>
 
{
 
{

Revision as of 10:18, 20 July 2021

Summary of a report status

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Report page1 pagename

Wiki page containing a description of the report. The page should include a section with the title "Status".

Pagerequired