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"

From OWASP
Jump to: navigation, search
Line 8: Line 8:
 
* year = The year that the points were '''earned'''
 
* year = The year that the points were '''earned'''
 
* detail = A free text field explaining the reason points earned (project name, conference name etc)
 
* detail = A free text field explaining the reason points earned (project name, conference name etc)
 +
 +
 +
'''Points will no longer show if they have expired'''
  
  
 
The template also calls the [http://www.owasp.org/index.php?title=Template:OWASP_Points_Calculator OWASP Points Calculator template]
 
The template also calls the [http://www.owasp.org/index.php?title=Template:OWASP_Points_Calculator OWASP Points Calculator template]
 +
 +
==Code==
 +
<nowiki>{{#ifexpr:{{#expr: {{#time: Y }} - {{{year}}}}} <= 2| {{OWASP Points Calculator|activity={{{activity}}}|year={{{year}}}}}: {{{detail}}} - {{{year}}} |}}</nowiki>
 
</noinclude>
 
</noinclude>

Revision as of 22:19, 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)


Points will no longer show if they have expired


The template also calls the OWASP Points Calculator template

Code

{{#ifexpr:{{#expr: {{#time: Y }} - {{{year}}}}} <= 2| {{OWASP Points Calculator|activity={{{activity}}}|year={{{year}}}}}: {{{detail}}} - {{{year}}} |}}