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:Top 10 2010:SubsectionAdvancedTemplate"
From OWASP
(Undo revision 145302 by Neil Smithline (talk)) |
|||
| Line 1: | Line 1: | ||
| − | {{#ifeq: {{{type}}} | box | + | {{#ifeq: {{{type}}} | box | |
| − | + | ||
{{#switch: {{{number}}} | {{#switch: {{{number}}} | ||
| − | + | | left = <!-- left half --> | |
<table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px;"> | <table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px;"> | ||
| − | + | <tr> | |
| − | + | | right = <!-- right half --> | |
| − | + | </td> | |
| − | + | | 1 = <!-- number 1 --> | |
<table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px;"> | <table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px;"> | ||
| − | + | <tr> | |
| − | + | | 2 = <!-- number 2 --> | |
| − | + | </td> | |
| − | + | | 3 = <!-- number 3 --> | |
| − | + | </td> | |
</tr> | </tr> | ||
<tr> | <tr> | ||
| − | + | | 4 = <!-- number 4 --> | |
| − | + | </td> | |
| − | + | }} | |
| − | + | <td style="vertical-align: top; width: 50%; padding: 5px; border: 3px solid #4F81BD; background-color: #F2F2F2"> | |
| − | |||
| − | + | <div style="font-style: bold; 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={{{title}}} | right={{{title}}} | center={{{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={{{title}}} | right={{{title}}} | center={{{title}}} }}|}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||