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 Developer Edition De:SubsectionAdvancedTemplate"
From OWASP
m |
(added new variables 'position' and 'subsection'; renamed def to defOp) |
||
Line 1: | Line 1: | ||
{{#ifeq: {{{type}}} | box | | {{#ifeq: {{{type}}} | box | | ||
− | {{#switch: {{{ | + | {{#switch: {{{position}}} |
− | | | + | | firstLeft <!-- left half --> |
− | |||
<tr> | <tr> | ||
<td | <td | ||
− | | | + | | firstWhole = <!-- first element with full width --> |
− | |||
<tr> | <tr> | ||
<td colspan="2"; | <td colspan="2"; | ||
| left = <!-- left half --> | | left = <!-- left half --> | ||
− | + | </td></tr> | |
<tr> | <tr> | ||
<td | <td | ||
| right = <!-- right half --> | | right = <!-- right half --> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</td> | </td> | ||
<td | <td | ||
− | | | + | | whole = |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</td></tr> | </td></tr> | ||
<tr> | <tr> | ||
<td colspan="2"; | <td colspan="2"; | ||
− | | 7 = <!-- number 7 Links Auswirkung(en) auf den Benutzer --> | + | | #default = <!-- no 'position' set yet (old style)--> |
− | + | {{#switch: {{{number}}} | |
− | + | | firstLeft <!-- left half --> | |
− | + | <table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px;"> | |
− | + | <tr> | |
− | + | <td | |
− | + | | firstWhole = <!-- first element with full width --> | |
− | + | <table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px;"> | |
− | + | <tr> | |
− | + | <td colspan="2"; | |
− | + | | left = <!-- left half --> | |
− | + | <table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px;"> | |
− | + | <tr> | |
− | + | <td | |
− | + | | right = <!-- right half --> | |
− | + | </td> | |
− | + | <td | |
− | + | | whole = | |
− | + | <table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px;"> | |
− | + | <tr> | |
− | + | <td | |
− | + | | 1 = <!-- number 1: Links 1. Eintrag --> | |
− | + | <table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px;"> | |
− | + | <tr> | |
+ | <td | ||
+ | | 2 = <!-- number 2: Rechts 2. Eintrag--> | ||
+ | </td> | ||
+ | <td | ||
+ | | 3 = <!-- number 3 Links 1. Verteidigungs-Option --> | ||
+ | </td></tr> | ||
+ | <tr> | ||
+ | <td | ||
+ | | 4 | ||
+ | | defOp2 = <!-- 2nd defending Option 2, right --> | ||
+ | </td> | ||
+ | <td | ||
+ | | 5 | ||
+ | | defOp3 = <!-- 3.rd defending Option 3, left --> | ||
+ | </td></tr> | ||
+ | <tr> | ||
+ | <td | ||
+ | | 6 | ||
+ | | defOp= <!-- number 6: Ganze Breite (2 Spalten) --> | ||
+ | </td></tr> | ||
+ | <tr> | ||
+ | <td colspan="2"; | ||
+ | | 7 = <!-- number 7 Links Auswirkung(en) auf den Benutzer --> | ||
+ | </td></tr> | ||
+ | <tr> | ||
+ | <td | ||
+ | | 8 = <!-- number 8: References right --> | ||
+ | </td> | ||
+ | <td | ||
+ | | 9 = <!-- number 9: References left --> | ||
+ | </td></tr> | ||
+ | <tr> | ||
+ | <td | ||
+ | | 11 | ||
+ | | defOp1 = <!-- defendingOption 1: Tabellen-Anfang, Links 1. Verteidigungs-Option --> | ||
+ | <table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px; margin:0; font-size:125%"> | ||
+ | <tr> | ||
+ | <td | ||
+ | | 12 = <!-- number 12: Tabellen-Anfang, Ganze Breite (2 Spalten) Test Format für howPrevent --> | ||
+ | </td></tr> | ||
+ | <tr> | ||
+ | <td colspan="2"; | ||
+ | | 16 = <!-- number 16: Tabellen-Anfang, Ganze Breite (2 Spalten) --> | ||
+ | <table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px; margin:0; font-size:125%"> | ||
+ | <tr> | ||
+ | <td colspan="2"; | ||
+ | }} | ||
}} | }} | ||
style="vertical-align: top; padding:5px; width: 50%; | style="vertical-align: top; padding:5px; width: 50%; | ||
Line 80: | Line 100: | ||
font-size: 150%;"> | font-size: 150%;"> | ||
<!--- Box-Sub-Headline ---> | <!--- Box-Sub-Headline ---> | ||
− | {{#switch: {{{number}}} | + | {{#switch: {{{subsection}}} |
− | + | | freetext= {{{title}}} | |
− | + | | example= {{Top_10:LanguageFile|text=exampleScenarios|risk={{{risk}}}|language={{{language}}}|year={{{year}}} }} | |
− | + | | howPrevent= {{Top_10:LanguageFile|text=howPrevent1|language={{{language}}} }} '{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}' {{Top_10:LanguageFile|text=howPrevent2|language={{{language}}} }} | |
− | + | | defOp= {{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 1: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }} | |
− | + | | userImpact= {{Top_10:LanguageFile|text=userImpact|language={{{language}}} }} | |
− | + | | references= {{Top_10:LanguageFile|text=references|language={{{language}}} }} | |
− | + | | #default= <!-- no 'subsection' set yet (old style)--> | |
− | + | {{#switch: {{{number}}} | |
− | + | | firstLeft | |
− | + | | firstWhole | |
− | + | | left | |
− | + | | right | |
− | + | | whole={{{title}}} | |
− | + | | 1={{Top_10:LanguageFile|text=exampleScenarios|risk={{{risk}}}|language={{{language}}}|year={{{year}}} }} | |
− | + | | 2={{Top_10:LanguageFile|text=howPrevent1|language={{{language}}} }} '{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}' {{Top_10:LanguageFile|text=howPrevent2|language={{{language}}} }} | |
− | + | | 3={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 1: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }} | |
− | + | | 4 | |
− | + | | defOp2={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 2: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }} | |
− | + | | 5 | |
+ | | defOp3={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 3: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }} | ||
+ | | 6 | ||
+ | | defOp={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }}{{{title}}}: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }} | ||
+ | | 7={{Top_10:LanguageFile|text=userImpact|language={{{language}}} }} | ||
+ | | 8={{Top_10:LanguageFile|text=references|language={{{language}}} }} | ||
+ | | 9={{Top_10:LanguageFile|text=references|language={{{language}}} }} | ||
+ | | 11 | ||
+ | | defOp1={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 1: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }} | ||
+ | | 12={{Top_10:LanguageFile|text=howPrevent1|language={{{language}}} }} '{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}' {{Top_10:LanguageFile|text=howPrevent2|language={{{language}}} }} | ||
+ | | 16={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }}: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }} | ||
+ | }} | ||
}}</div> | }}</div> | ||
|<br/>{{Top_10_2010:SubsectionColoredTemplate| | |<br/>{{Top_10_2010:SubsectionColoredTemplate| | ||
− | {{#switch: {{{number}}} | + | {{#switch: {{{subsection}}} |
− | + | | freetext= {{{title}}} | |
− | + | | example= {{Top_10:LanguageFile|text=exampleScenarios|risk={{{risk}}}|language={{{language}}}|year={{{year}}} }} | |
− | + | | howPrevent= {{Top_10:LanguageFile|text=howPrevent1|language={{{language}}} }} '{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}' {{Top_10:LanguageFile|text=howPrevent2|language={{{language}}} }} | |
− | + | | defOp= {{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 1: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }} | |
− | + | | userImpact= {{Top_10:LanguageFile|text=userImpact|language={{{language}}} }} | |
− | + | | references= {{Top_10:LanguageFile|text=references|language={{{language}}} }} | |
− | + | | #default= <!-- no 'subsection' set yet (old style)--> | |
− | + | {{#switch: {{{number}}} | |
− | + | | firstLeft | |
− | + | | firstWhole | |
− | + | | left | |
− | + | | right | |
− | + | | whole={{{title}}} | |
− | + | | 1={{Top_10:LanguageFile|text=exampleScenarios|risk={{{risk}}}|language={{{language}}}|year={{{year}}} }} | |
− | + | | 2={{Top_10:LanguageFile|text=howPrevent1|language={{{language}}} }} '{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}' {{Top_10:LanguageFile|text=howPrevent2|language={{{language}}} }} | |
− | + | | 3={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 1: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }} | |
− | + | | 4 | |
− | + | | defOp2={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 2: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }} | |
− | + | | 5 | |
− | + | | defOp3={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 3: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }} | |
+ | | 6 | ||
+ | | defOp= {{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }}{{{title}}}: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }} | ||
+ | | 7={{Top_10:LanguageFile|text=userImpact|language={{{language}}} }} | ||
+ | | 8={{Top_10:LanguageFile|text=references|language={{{language}}} }} | ||
+ | | 9={{Top_10:LanguageFile|text=references|language={{{language}}} }} | ||
+ | | 11 | ||
+ | | defOp1={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 1: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }} | ||
+ | | 12={{Top_10:LanguageFile|text=howPrevent1|language={{{language}}} }} '{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}' {{Top_10:LanguageFile|text=howPrevent2|language={{{language}}} }} | ||
+ | | 16={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }}: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }} | ||
+ | }} | ||
+ | }}|}} | ||
}} | }} |