Difference between revisions of "Template:Top 10 2010:SubsectionAdvancedTemplate"

From OWASP
Jump to: navigation, search
Line 20: Line 20:
 
                 </td>
 
                 </td>
 
   }}
 
   }}
                 <td style="vertical-align: top; width: {{#if: {{{width}}} | {{{width}}} | 50%}}; padding: 5px; border: 3px solid {{#switch: {{{year}}} | 2013=#3b6431 | #default=#4F81BD}}; background-color: {{#switch: {{{year}}} | 2013=#FCFFF0 | #default=#F2F2F2}};">
+
                 <td style="vertical-align: top; width: {{#if: {{{width}}} | {{{width}}} | 50%}}; padding: 5px; border: 3px solid {{#switch: {{{year}}} | 2013=#4d953d | #default=#4F81BD}}; background-color: {{#switch: {{{year}}} | 2013=#FCFFF0 | #default=#F2F2F2}};">
  
<div style="font-style: bold; color: {{#switch: {{{year}}} | 2013=#3b6431| #default=#4F81BD}}; font-size: 150%;">{{#switch: {{{number}}} | 1=Am I Vulnerable To {{Top_10_2010:ByTheNumbers|{{{risk}}}|year={{{year}}}}}? | 2=How Do I Prevent {{Top_10_2010:ByTheNumbers|{{{risk}}}|year={{{year}}}}}? | 3=Example Scenarios | 4=References | left | right | whole={{{title}}} }}</div>
+
<div style="font-style: bold; color: {{#switch: {{{year}}} | 2013=#4d953d| #default=#4F81BD}}; font-size: 150%;">{{#switch: {{{number}}} | 1=Am I Vulnerable To {{Top_10_2010:ByTheNumbers|{{{risk}}}|year={{{year}}}}}? | 2=How Do I Prevent {{Top_10_2010:ByTheNumbers|{{{risk}}}|year={{{year}}}}}? | 3=Example Scenarios | 4=References | left | right | whole={{{title}}} }}</div>
 
|<br/>{{Top_10_2010:SubsectionColoredTemplate|{{#switch: {{{number}}} | 1=Am I Vulnerable To {{Top_10_2010:ByTheNumbers|{{{risk}}}|year={{{year}}}}}? | 2=How Do I Prevent {{Top_10_2010:ByTheNumbers|{{{risk}}}|year={{{year}}}}}? | 3=Example Scenarios | 4=References | left | right | whole={{{title}}} }}|}}
 
|<br/>{{Top_10_2010:SubsectionColoredTemplate|{{#switch: {{{number}}} | 1=Am I Vulnerable To {{Top_10_2010:ByTheNumbers|{{{risk}}}|year={{{year}}}}}? | 2=How Do I Prevent {{Top_10_2010:ByTheNumbers|{{{risk}}}|year={{{year}}}}}? | 3=Example Scenarios | 4=References | left | right | whole={{{title}}} }}|}}
 
}}
 
}}

Revision as of 23:46, 21 February 2013