Jump to: navigation, search

Difference between revisions of "Template:PlanItem"

 
(25 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Displays information about a plan item
+
Displays information about a plan item with an icon displaying status.
  
{{Usage|<pre>{{PlanItem|Name|123|Status}}</pre>|2={{PlanItem|Name|123|Status}}}}
+
== Status Images ==
{{Usage|<pre>{{PlanItem|Name|123|Complete}}</pre>|2={{PlanItem|Name|123|Complete}}}}
+
The status is not case sensitive
{{Usage|<pre>{{PlanItem|Name||Status}}</pre>|2={{PlanItem|Name||Status}}}}
+
{{Usage|<pre>{{PlanItem|Name|123|}}</pre>|2={{PlanItem|Name|123|}}}}
+
{{Usage|<pre>{{PlanItem|Name||}}</pre>|2={{PlanItem|Name||}}}}
+
  
Bug Template
+
[[Image:Chkbox disabled.gif]] In Plan - Initial state of planned items, no work currently being done
<pre>{{message|{{#if:{{{1|}}}|[https://bugs.eclipse.org/{{{1}}} '''{{{1}}}''']<BR>}}{{#if:{{{2|}}}|{{{2}}}}}|image=Bug.png|bgcolor=#def3fe|bdcolor=#c5d7e0}}</pre>
+
 
<pre>[https://bugs.eclipse.org/bugs/show_bug.cgi?id={{{1}}} bug {{{1}}}]</pre>
+
[[Image:Glass.gif]] Investigate - Additional information is being collected
 +
 
 +
[[Image:Progress.gif]] In Progress - Work is being done on the item
 +
 
 +
[[Image:Ok_green.gif]] Complete - Work is released to a build
 +
 
 +
[[Image:Error.gif]] Dropped - No longer being worked on for this release
 +
 
 +
== Usage ==
 +
 
 +
{| cellpadding="5" border="1"
 +
! Markup !! Rendering
 +
|-
 +
| {{codeblock|<pre>{{PlanItem|Name||}}</pre>}}
 +
| {{PlanItem|Name||}}
 +
|-
 +
| {{codeblock|<pre>{{PlanItem|Name||Complete}}</pre>}}
 +
| {{PlanItem|Name||Complete}}
 +
|-
 +
| {{codeblock|<pre>{{PlanItem|Name|123}}</pre>}}
 +
| {{PlanItem|Name|123}}
 +
|-
 +
| {{codeblock|<pre>{{PlanItem|Name|123|Investigate}}</pre>}}
 +
| {{PlanItem|Name|123|Investigate}}
 +
|-
 +
| {{codeblock|<pre>{{PlanItem|Name|123|In Progress}}</pre>}}
 +
| {{PlanItem|Name|123|In Progress}}
 +
|-
 +
| {{codeblock|<pre>{{PlanItem|Name|123|Complete}}</pre>}}
 +
| {{PlanItem|Name|123|Complete}}
 +
|-
 +
| {{codeblock|<pre>{{PlanItem|Name|123|Dropped}}</pre>}}
 +
| {{PlanItem|Name|123|Dropped}}
 +
|}
 +
 
 +
[[Category:PDE]] [[Category:Templates]]
  
 
</noinclude>
 
</noinclude>
<includeonly>
+
<includeonly>{{#if:{{{3|}}}|{{#ifeq: {{uc:{{{3}}}}} | INPROGRESS | [[Image:Progress.gif]]}}|[[Image:Chkbox disabled.gif]]}}{{#if:{{{3|}}}|{{#ifeq: {{uc:{{{3}}}}} | IN PROGRESS | [[Image:Progress.gif]]}}}}{{#if:{{{3|}}}|{{#ifeq: {{uc:{{{3}}}}} | INVESTIGATE | [[Image:Glass.gif]]}}}}{{#if:{{{3|}}}|{{#ifeq: {{uc:{{{3}}}}} | COMPLETE | [[Image:Ok_green.gif]]}}}}{{#if:{{{3|}}}|{{#ifeq: {{uc:{{{3}}}}} | DROPPED | [[Image:Error.gif]]}}}} '''{{{1}}}''' {{#if:{{{2|}}}|([https://bugs.eclipse.org/{{{2}}} '''{{{2}}}'''])}}</includeonly>
{{#ifeq: {{uc:{{{3}}}}} | COMPLETE | Complete! | {{{3}}} {{uc:{{{3}}}}} }}<br>
+
{{{1}}} ({{{3}}})<br>
+
{{#if:{{{2|}}}|[https://bugs.eclipse.org/{{{2}}} '''{{{2}}}''']<br>}}
+
</includeonly>
+

Latest revision as of 11:41, 16 August 2011

Displays information about a plan item with an icon displaying status.

Status Images

The status is not case sensitive

Chkbox disabled.gif In Plan - Initial state of planned items, no work currently being done

Glass.gif Investigate - Additional information is being collected

Progress.gif In Progress - Work is being done on the item

Ok green.gif Complete - Work is released to a build

Error.gif Dropped - No longer being worked on for this release

Usage

Markup Rendering
{{PlanItem|Name||}}

Chkbox disabled.gif Name

{{PlanItem|Name||Complete}}

Ok green.gif Name

{{PlanItem|Name|123}}

Chkbox disabled.gif Name (123)

{{PlanItem|Name|123|Investigate}}

Glass.gif Name (123)

{{PlanItem|Name|123|In Progress}}

Progress.gif Name (123)

{{PlanItem|Name|123|Complete}}

Ok green.gif Name (123)

{{PlanItem|Name|123|Dropped}}

Error.gif Name (123)