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
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{OWASP Points Calculator|activity={{{activity}}}}}: [[{{{detail}}}]]
+
<includeonly>{{#ifexpr:{{#expr: {{#time: Y }} - {{{year}}}}} <= 2| {{OWASP Points Calculator|activity={{{activity}}}|year={{{year}}}}}: {{{detail}}} - {{{year}}} |}}</includeonly><noinclude>
 +
== Usage ==
 +
'''<nowiki>{{OWASP Points|activity=<Activity Identifier>|year=<<Year of Activity>>|detail=<<Free-Form Text>>}}</nowiki>'''
 +
 
 +
 
 +
This template is used for displaying 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)
 +
 
 +
 
 +
'''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]
 +
 
 +
==Code==
 +
<nowiki>{{#ifexpr:{{#expr: {{#time: Y }} - {{{year}}}}} <= 2| {{OWASP Points Calculator|activity={{{activity}}}|year={{{year}}}}}: {{{detail}}} - {{{year}}} |}}</nowiki>
 +
</noinclude>

Latest 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 displaying 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}}} |}}