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

From OWASP
Jump to: navigation, search
Line 22: Line 22:
 
                 <td style={{Top_10:BoxStyle|year={{{year}}}|width={{{width}}}}}>
 
                 <td style={{Top_10:BoxStyle|year={{{year}}}|width={{{width}}}}}>
  
<div style="font-style: bold;
+
<div style="{{{Top_10:SubsectionTitle|year={{{year}}}|width={{{width}}}}}">
    {{#switch: {{{year}}}  
+
{{#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>
        | 2013=color: #000000; border-bottom: #999999 solid 1px; margin-bottom: 3px; padding-bottom: 3px;
+
        | #default=color: #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 09:40, 23 February 2013