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
Jump to: navigation, search
Line 1: Line 1:
 +
{{#expr:
 
{{#switch: {{{activity}}}
 
{{#switch: {{{activity}}}
 
  | b1 = 200
 
  | b1 = 200
Line 4: Line 5:
 
  | c1 = 150
 
  | c1 = 150
 
  | c2 = 100
 
  | c2 = 100
}}  
+
}} div {{#ifexpr:{{#expr: {{#time: Y }} - {{{year}}}}} <= 1| 1 | 2}}
 
+
}}
{{#expr: {{#time: Y }} - {{{year}}} }}
 

Revision as of 21:47, 7 January 2011

Expression error: Unexpected div operator.