Difference between revisions of "Template:Status"

From DFM Wiki
m (Changed background from pale green to light cyan for table rows listing published reports; this is easier on the eyes.)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="display:table;padding:1em; margin:1em 0; border: solid 2px {{#ifeq: {{trim| {{#lsth:{{{1}}}|Status}} }} | PUBLISHED | green | red }}">
+
<includeonly><tr style="background-color:{{#ifeq: {{trim| {{#lsth:{{{1}}}|Status}} }} | PUBLISHED | lightcyan | lightyellow }}">
<div style="width:20%; display:table-cell">
+
<td>[[{{{1}}}]]</td>
<b>{{{1}}}</b>
+
<td>{{#ifexist: {{{1}}}| {{#lsth:{{{1}}}|Workflow}} | <!-- no report page --> }}</td>
 
+
</tr></includeonly><noinclude>
([[{{{1}}}|Source]])
 
</div>
 
<div style="display:table-cell">
 
 
 
{{#lsth:{{{1}}}|Workflow}}
 
 
 
</div></div></includeonly><noinclude>
 
 
<templatedata>
 
<templatedata>
 
{
 
{

Latest revision as of 08:10, 6 August 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