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.)
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly><tr style="background-color:{{#ifeq: {{trim| {{#lsth:{{{1}}}|Status}} }} | PUBLISHED | lightcyan | lightyellow }}">
=== [[{{{pagename}}}]] ===
+
<td>[[{{{1}}}]]</td>
{{#lsth:{{{pagename}}}|Status}}
+
<td>{{#ifexist: {{{1}}}| {{#lsth:{{{1}}}|Workflow}} | <!-- no report page --> }}</td>
</includeonly><noinclude>
+
</tr></includeonly><noinclude>
 
<templatedata>
 
<templatedata>
 
{
 
{
 
"params": {
 
"params": {
"pagename": {
+
"1": {
 
"description": "Wiki page containing a description of the report. The page should include a section with the title \"Status\".",
 
"description": "Wiki page containing a description of the report. The page should include a section with the title \"Status\".",
 
"type": "wiki-page-name",
 
"type": "wiki-page-name",
 
"required": true,
 
"required": true,
"label": "Report page"
+
"label": "Report page",
 +
"aliases": [
 +
"pagename"
 +
]
 
}
 
}
 
},
 
},

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