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
Dinis.cruz (talk | contribs) |
m (Protected "Template:Project Health Status" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <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: |
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 }}