This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Difference between revisions of "Template:Project Health Status"

From OWASP
Jump to: navigation, search
(Undo revision 78046 by Jason Li (Talk))
m (Reverted edits by Dinis.cruz (Talk) to last revision by Jason Li)
Line 1: Line 1:
<includeonly>{{#switch: {{{project_health_status}}} | -1 = {{Template:Not Reviewed}} | 0 ={{Template:Level 0 Project}} | 1={{Template:Level 1 Project}} | 2={{Template:Level 2 Project}} | 3={{Template:Level 3 Project}} | {{Template:Not Reviewed}} }}<small>''({{#switch: {{{criteria_version}}} | 1=Assessment Criteria v1.0 | 2=Assessment Criteria v2.0 | Provisional }})'' <small> - [[Projects/{{{project_name}}}/Releases/{{{release_name}}}/Assessment|Assessment Details]]</small></includeonly><noinclude>
+
<includeonly>{{#switch: {{{project_health_status}}} | -1 = {{Template:Not Reviewed}} | 0 ={{Template:Level 0 Project}} | 1={{Template:Level 1 Project}} | 2={{Template:Level 2 Project}} | 3={{Template:Level 3 Project}} | {{Template:Not Reviewed}} }} <small>''({{#switch: {{{criteria_version}}} | 1=Assessment Criteria v1.0 | 2=Assessment Criteria v2.0 | Provisional }})''</small></includeonly><noinclude>
 
= About =
 
= About =
 
This template displays the appropriate project health status icon using the given status along with the assessment criteria version used for the assessment. All parameters are optional. By default:
 
This template displays the appropriate project health status icon using the given status along with the assessment criteria version used for the assessment. All parameters are optional. By default:
Line 14: Line 14:
  
 
== project_health_status ==
 
== project_health_status ==
Valid values are:
+
The project health level. Valid values are:
 
* '''-1''': Not Reviewed ''(default)''
 
* '''-1''': Not Reviewed ''(default)''
 
* '''0''': Level 0 Project
 
* '''0''': Level 0 Project
Line 22: Line 22:
  
 
== criteria_version ==
 
== criteria_version ==
Valid values are:
+
The Assessment Criteria version used for this project. Valid values are:
 
* '''''null''''': Provisional ''(default)''
 
* '''''null''''': Provisional ''(default)''
 
* '''1''': Assessment Criteria v1.0
 
* '''1''': Assessment Criteria v1.0

Revision as of 17:03, 29 April 2010

About

This template displays the appropriate project health status icon using the given status along with the assessment criteria version used for the assessment. All parameters are optional. By default:

  • project_health_status = -1 (Not Reviewed)
  • criteria_version = null (Provisional)

Usage

{{Template:Project Health Status
| project_health_status = 
| criteria_version =
}}

project_health_status

The project health level. Valid values are:

  • -1: Not Reviewed (default)
  • 0: Level 0 Project
  • 1: Level 1 Project
  • 2: Level 2 Project
  • 3: Level 3 Project

criteria_version

The Assessment Criteria version used for this project. Valid values are:

  • null: Provisional (default)
  • 1: Assessment Criteria v1.0
  • 2: Assessment Criteria v2.0

Example

{{Template:Project Health Status
| project_health_status = 2
| criteria_version = 1
}}

Output

Greenlight.pngGreenlight.png Level 2 Project (Assessment Criteria v1.0)