Difference between revisions of "Template:Deliverable"

From DFM Wiki
(Pilot template for listing deliverables)
 
m (Fixed whitespace)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="display:table;border-collapse:collapse;padding:0.5em;">
+
<includeonly><tr>
<div style="display:table-cell; width:40%;">
+
<td>{{{1}}}<BR>
{{{1}}}<BR>
+
<span class="plainlinks">({{#ifexist: {{{1}}}|[[{{{1}}}|View]] {{!}}&nbsp; | }}[{{fullurl:{{{1}}}|veaction=edit}} Edit])</span></td>
<span class="plainlinks">({{#ifexist: {{{1}}}|([[{{{1}}}|View]] / | }}[{{fullurl:{{{1}}}|veaction=edit}} Edit])</span>
+
<td>{{#ifexist: {{{1}}}| {{#lsth:{{{1}}}|Workflow}} | <!-- no report page --> }}</td>
</div>
+
<td>
<div style="display:table-cell">
+
{{{date|}}}
{{#ifexist: {{{1}}}| {{#lsth:{{{1}}}|Workflow}} | <!-- no report page --> }}
+
</td></tr></includeonly>
</div>
+
<noinclude>
<div style="display:table-cell; width:15%;">
+
<templatedata>
{{#ifexist: {{{1}}}| {{#lsth:{{{1}}}|Date}} | {{{date|}}} }}
+
{
</div></div></includeonly>
+
"params": {
 +
"1": {
 +
"label": "Deliverable",
 +
"description": "Name of the deliverable; this will also be used as the title of an associated page in the wiki.",
 +
"example": "DFM Cambodia Scoping Report",
 +
"type": "wiki-page-name",
 +
"required": true
 +
},
 +
"date": {
 +
"label": "Due date",
 +
"description": "The date on which the deliverable is due. This information is displayed from the calling template rather than from the description page.",
 +
"type": "date"
 +
}
 +
},
 +
"description": "Template for displaying progress towards a deliverable, for project monitoring. The deliverable name is linked to a page in the wiki, which will be used for storing a description and updates; this template will show the deliverable name, status (from the section under the \"Workflow\" heading in the linked description page), and target date in tabular format.",
 +
"format": "inline"
 +
}
 +
</templatedata>
 +
</noinclude>

Latest revision as of 13:06, 5 August 2021


Template for displaying progress towards a deliverable, for project monitoring. The deliverable name is linked to a page in the wiki, which will be used for storing a description and updates; this template will show the deliverable name, status (from the section under the "Workflow" heading in the linked description page), and target date in tabular format.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Deliverable1

Name of the deliverable; this will also be used as the title of an associated page in the wiki.

Example
DFM Cambodia Scoping Report
Pagerequired
Due datedate

The date on which the deliverable is due. This information is displayed from the calling template rather than from the description page.

Dateoptional