Difference between revisions of "Template:Status"

From DFM Wiki
m (Reintroduce line break)
Line 1: Line 1:
<includeonly><div style="display:table;width:96%;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 | lightgreen | lightcoral }}">
<div style="width:30%; display:table-cell">
+
<td>[[{{{1}}}]]</td>
<b>{{{1}}}</b><BR>
+
<td>{{#ifexist: {{{1}}}| {{#lsth:{{{1}}}|Workflow}} | <!-- no report page --> }}</td>
<span class="plainlinks">{{#ifexist: {{{1}}}|([[{{{1}}}|View]] / [{{fullurl:{{{1}}}|veaction=edit}} Edit])|([{{fullurl:{{{1}}}|veaction=edit&preload=Template:Report_page}} Create with report template])}}
+
<td>{{#ifexist: {{{1}}}| {{#lsth:{{{1}}}|Status}} | <!-- no report page --> }}</td></tr></includeonly><noinclude>
</span>
 
</div>
 
<div style="display:table-cell">
 
{{#lsth:{{{1}}}|Workflow}}
 
</div></div></includeonly><noinclude>
 
 
<templatedata>
 
<templatedata>
 
{
 
{

Revision as of 15:23, 5 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