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 (Protected "Template:Project Health Status" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(One intermediate revision by one other user not shown)
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

Latest revision as of 19:05, 11 September 2013

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)