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
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> - Review Details</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> - [[Projects/{{{project_name}}}/Releases/{{{release_name}}}/Review|Review Details]]</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:

Revision as of 16:48, 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)