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

From OWASP
Jump to: navigation, search
Line 23: Line 23:
 
   }}
 
   }}
 
                 <td style="vertical-align: top; padding:5px;
 
                 <td style="vertical-align: top; padding:5px;
     width: {{if#: {{{width}}} | {{{width}}} | 50%}};
+
     width: 50%;
 
     border: 3px solid {{Top_10:BorderColor|year={{{year}}}}};
 
     border: 3px solid {{Top_10:BorderColor|year={{{year}}}}};
 
     background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
 
     background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
Line 31: Line 31:
 
         | 2013=color: #000000; border-bottom: #999999 solid 1px; margin-bottom: 3px; padding-bottom: 3px;
 
         | 2013=color: #000000; border-bottom: #999999 solid 1px; margin-bottom: 3px; padding-bottom: 3px;
 
         | #default=color: #4F81BD;
 
         | #default=color: #4F81BD;
     }};  
+
     }}; {{{width}}}
 
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>
 
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:59, 5 March 2013