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:OWASP Points Calculator"
From OWASP
Mark.bristow (talk | contribs) |
Mark.bristow (talk | contribs) |
||
Line 1: | Line 1: | ||
− | {{#expr: | + | <includeonly>{{#expr: |
{{#switch: {{{activity}}} | {{#switch: {{{activity}}} | ||
| b1 = 200 | | b1 = 200 | ||
Line 8: | Line 8: | ||
| c4 = 10 | | c4 = 10 | ||
}} div {{#ifexpr:{{#expr: {{#time: Y }} - {{{year}}}}} <= 1| 1 | 2}} | }} div {{#ifexpr:{{#expr: {{#time: Y }} - {{{year}}}}} <= 1| 1 | 2}} | ||
− | }} | + | }}</includeonly> |
+ | |||
+ | <noinclude> | ||
+ | == Usage == | ||
+ | '''<nowiki>{{OWASP Points|activity=<Activity Identifier>|year=<<Year of Activity>>|detail=<<Free-Form Text>>}}</nowiki>''' | ||
+ | |||
+ | |||
+ | This template is used for calculating OWASP Points. It requires 3 parameters: | ||
+ | * activity = The activity identifier (defined in the [http://www.owasp.org/index.php?title=Template:OWASP_Points_Calculator OWASP Points Calculator template]) | ||
+ | * year = The year that the points were '''earned''' | ||
+ | * detail = A free text field explaining the reason points earned (project name, conference name etc) | ||
+ | |||
+ | |||
+ | The template also calls the [http://www.owasp.org/index.php?title=Template:OWASP_Points_Calculator OWASP Points Calculator template] | ||
+ | </noinclude> |
Revision as of 22:14, 7 January 2011
Usage
{{OWASP Points|activity=<Activity Identifier>|year=<<Year of Activity>>|detail=<<Free-Form Text>>}}
This template is used for calculating OWASP Points. It requires 3 parameters:
- activity = The activity identifier (defined in the OWASP Points Calculator template)
- year = The year that the points were earned
- detail = A free text field explaining the reason points earned (project name, conference name etc)
The template also calls the OWASP Points Calculator template