Difference between revisions of "Template:Status"

From DFM Wiki
(Created page with "== [[{{{pagename}}}|{{#lsth:{{{pagename}}}|title}}]] == {{#lsth:{{{pagename}}}|Status}}")
 
m (Changed background from pale green to light cyan for table rows listing published reports; this is easier on the eyes.)
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
== [[{{{pagename}}}|{{#lsth:{{{pagename}}}|title}}]] ==
+
<includeonly><tr style="background-color:{{#ifeq: {{trim| {{#lsth:{{{1}}}|Status}} }} | PUBLISHED | lightcyan | lightyellow }}">
{{#lsth:{{{pagename}}}|Status}}
+
<td>[[{{{1}}}]]</td>
 +
<td>{{#ifexist: {{{1}}}| {{#lsth:{{{1}}}|Workflow}} | <!-- no report page --> }}</td>
 +
</tr></includeonly><noinclude>
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"description": "Wiki page containing a description of the report. The page should include a section with the title \"Status\".",
 +
"type": "wiki-page-name",
 +
"required": true,
 +
"label": "Report page",
 +
"aliases": [
 +
"pagename"
 +
]
 +
}
 +
},
 +
"description": "Summary of a report status",
 +
"format": "inline"
 +
}
 +
</templatedata>
 +
</noinclude>

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