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
Jump to: navigation, search
m (the rest: {{Top_10:BackgroundColor|year={{{year}}}}};)
m
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq: {{{type}}} | box |
+
<!---------------------------------------------------------------------------->
    {{#switch: {{{number}}}
+
<!-- Template:Top 10 2010 Developer Edition De:SubsectionAdvancedTemplate  -->
      | firstleft <!-- left half -->
+
<!---------------------------------------------------------------------------->
          <table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px;">
+
==='''Usage:''' ===
              <tr>
+
# Start Table
                <td style="vertical-align: top; padding:5px;
+
#* <nowiki>{{Top_10:SubsectionTableBeginTemplate|type=main}}      <!--- in the main page ---></nowiki>
                    width: 50%;
+
#* <nowiki>{{Top_10:SubsectionTableBeginTemplate|type=headertab}} <!--- in the languages part, like JAVA ---></nowiki>
                    border: 3px solid {{Top_10:BorderColor|year={{{year}}}}};
+
#:
                    background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
+
# hint: use 'position=firstLeft', 'firstWhole' or 'firstLongLeft' for the 1st element<br/>
    | firstwhole = <!-- first element with full width -->
+
::{|  
          <table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px;">
+
| <nowiki>{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate</nowiki> ||  &nbsp;
              <tr>
+
|-
                <td colspan="2" style="vertical-align: top; padding:5px;
+
| &nbsp;&nbsp;<nowiki>|type={{Top_10_2010:StyleTemplate}}</nowiki>  || <nowiki> <!---  => box  ---> </nowiki>
                    width: 50%;
+
|-
                    border: 3px solid {{Top_10:BorderColor|year={{{year}}} }};
+
| &nbsp;&nbsp;<nowiki>|subsection=<defOp|example|freetext|howPrevent|references|userImpact|vulnerableTo></nowiki>  || &nbsp;
                    background-color: {{Top_10:BackgroundColor|year={{{year}} }}};">
+
|-  
      | left = <!-- left half -->
+
| &nbsp;&nbsp;<nowiki>|title=your title</nowiki>                    || <nowiki> <!--- additional parameter for subsection=freetext or defOp (for the number) ---> </nowiki>               
          <table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px;">
+
|-
              <tr>
+
| &nbsp;&nbsp;<nowiki>|position=<firstLeft|firstWhole|firstLongLeft|left|right|whole|longLeft|longRight></nowiki> || &nbsp;
                <td style="vertical-align: top; padding:5px;
+
|-
                    width: 50%;
+
| &nbsp;&nbsp;<nowiki>|risk=1                            </nowiki>  || <nowiki> <!--- additional parameter for subsection=<defOp|example|howPrevent|vulnerableTo>:</nowiki>
                    border: 3px solid {{Top_10:BorderColor|year={{{year}}}}};
+
|-
                    background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
+
| &nbsp;                                                           || according to [[:Template:Top_10_2010_Developer_Edition_De:ByTheNumbers]] <nowiki> ---> </nowiki>
      | right = <!-- right half -->
+
|-
                </td>  
+
| &nbsp;&nbsp;<nowiki>|year=<2010|2013>                  </nowiki>  || <nowiki> <!--- changes year of the Top-10-Version for subsection=<defOp|example|howPrevent|vulnerableTo> ---> </nowiki>
                <td style="vertical-align: top; padding:5px;
+
|-  
                    width: 50%;
+
| &nbsp;&nbsp;<nowiki>|language=de                      </nowiki>  || <nowiki> <!---  additional parameter for all subsection-tags without fulltext ---> </nowiki>
                    border: 3px solid {{Top_10:BorderColor|year={{{year}}}}};
+
|-
                    background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
+
| &nbsp;                                                          || according to [[:Template:Top 10:LanguageFile]] <nowiki> ---> </nowiki>
      | whole =      
+
|-
            <table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px;">
+
| <nowiki>}}                                      </nowiki>  || &nbsp;
              <tr>
+
|-  
                <td style="vertical-align: top; padding:5px;
+
| &nbsp;outdatet:                                             || &nbsp;
                    width: 50%;
+
|-
                    border: 3px solid {{Top_10:BorderColor|year={{{year}}}}};
+
| &nbsp;&nbsp;<span style="color:red;"><nowiki>|number=<1|2|3|4|left|right|whole></nowiki></span>  || <span style="color:red;"><nowiki> <!--- backward compatible for Template:Top 10 2010:SubsectionAdvancedTemplate; please do NOT use any longer ---></nowiki></span>
                    background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
+
|}
      | 1 = <!-- number 1: Links 1. Eintrag -->
+
:3. End Table
          <table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px;">
+
:* <nowiki>{{Top_10:SubsectionTableEndTemplate}}                      <!--- in the main page ---></nowiki>
              <tr>
+
:* <nowiki>{{Top_10_2010_Developer_Edition_De:BottomAdvancedTemplate  <!--- end of the page ---></nowiki>
              <td style="vertical-align: top; width: 50%; padding: 5px; border: 3px solid {{Top_10:BorderColor|year={{{year}}}}}; background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
+
::: <nowiki>    |type={{Top_10_2010:StyleTemplate}}</nowiki>
      | 2 <!-- number 2: Rechts 2. Eintrag-->
+
::: <nowiki>    |useprev=PrevLink_Germany_Projekte</nowiki>
              </td>  
+
::: <nowiki>    |prev=Top_10_fuer_Entwickler</nowiki>
              <td style="vertical-align: top; width: 50%; padding: 5px; border: 3px solid {{Top_10:BorderColor|year={{{year}}}}}; background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
+
::: <nowiki>    |usenext=NextLink_Germany_Projekte</nowiki>
       | 3 = <!-- number 3 Links 1. Verteidigungs-Option -->
+
::: <nowiki>    |next=Top_10_fuer_Entwickler/Die Top-10-Risiken</nowiki>
              </td></tr>
+
:: <nowiki>}}</nowiki>
 +
 
 +
 
 +
=== '''Example:''' ===
 +
:<nowiki>{{Top_10:SubsectionTableBeginTemplate|type=main}} {{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate</nowiki>
 +
::<nowiki>|type={{Top_10_2010:StyleTemplate}}</nowiki>
 +
::<nowiki>|subsection=vulnerableTo</nowiki>
 +
::<nowiki>|position=firstLeft</nowiki>
 +
::<nowiki>|risk=1</nowiki>
 +
::<nowiki>|year=2013</nowiki>
 +
::<nowiki>|language=de</nowiki>
 +
:<nowiki>}}</nowiki>
 +
:<nowiki>1st box</nowiki>
 +
:<nowiki>{{Top_10:SubsectionTableEndTemplate}}</nowiki>
 +
 
 +
===English New Syntax===
 +
{{Top_10:SubsectionTableBeginTemplate|type=main}} {{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=vulnerableTo|position=firstLeft|risk=1|year=2013}}
 +
1st box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=howPrevent|position=right|risk=1|year=2013}
 +
2nd box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=example|position=left|risk=1|year=2013}} 
 +
3rd box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=references|position=right|risk=1|year=2013}
 +
4th box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=defOp|title=1|position=whole|risk=1|year=2013}}
 +
5th box (big box)
 +
{{Top_10:SubsectionTableEndTemplate}}
 +
<br/>
 +
===English old Syntax 2013===
 +
{{Top_10:SubsectionTableBeginTemplate|type=main}} {{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|number=1|risk=1|year=2013}} 
 +
1st box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|number=2|risk=1|year=2013}} 
 +
2nd box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|number=3|risk=1|year=2013}
 +
3rd box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|number=4|risk=1|year=2013}}
 +
4th box
 +
 
 +
{{Top_10:SubsectionTableEndTemplate}}
 +
<br/>
 +
===English Old Syntax 2010===
 +
{{Top_10:SubsectionTableBeginTemplate|type=main}} {{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|number=1|risk=1}}
 +
1st box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|number=2|risk=1}} 
 +
2nd box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|number=3|risk=1}} 
 +
3rd box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|number=4|risk=1}} 
 +
4th box
 +
 
 +
{{Top_10:SubsectionTableEndTemplate}}
 +
<br/>
 +
===German 2013===
 +
{{Top_10:SubsectionTableBeginTemplate|type=main}} {{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=vulnerableTo|position=firstLeft|risk=1|year=2013|language=de}} 
 +
1st box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=howPrevent|position=right|risk=1|year=2013|language=de}}
 +
2nd box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=example|position=left|risk=1|year=2013|language=de}} 
 +
3rd box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=references|position=right|risk=1|year=2013|language=de}}
 +
4th box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=defOp|title=1|position=whole|risk=1|year=2013|language=de}} 
 +
5th box (big box)
 +
 
 +
{{Top_10:SubsectionTableEndTemplate}}
 +
 
 +
<br/>
 +
===German 2010===
 +
{{Top_10:SubsectionTableBeginTemplate|type=main}} {{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=vulnerableTo|position=firstLeft|risk=1|language=de}} 
 +
1st box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=howPrevent|position=right|risk=1|language=de}} 
 +
2nd box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=example|position=left|risk=1|language=de}}
 +
3rd box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=references|position=right|risk=1|language=de}}
 +
4th box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=defOp|title=1|position=whole|risk=1|language=de}}  
 +
5th box (big box)
 +
 
 +
{{Top_10:SubsectionTableEndTemplate}}
 +
 
 +
<br/>
 +
===Special 2013===
 +
{{Top_10:SubsectionTableBeginTemplate|type=main}} {{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=vulnerableTo|position=firstLeft|risk=2|year=2013}} 
 +
1st box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=howPrevent|position=right|risk=2|year=2013}} 
 +
2nd box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=example|position=left|risk=2|year=2013}}
 +
3rd box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=userImpact|position=right|risk=2|year=2013}}
 +
4th box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=defOp|title=1|position=longLeft|risk=2|year=2013}} 
 +
5th box (long box)
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=defOp|title=2|position=right|risk=2|year=2013}}  
 +
6th box
 +
 
 +
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=references|position=left|risk=2|year=2013}}
 +
7th box
 +
 
 +
{{Top_10:SubsectionTableEndTemplate}}
 +
 
 +
<onlyinclude> {{#ifeq: {{{type}}} | box |
 +
    {{#switch: {{{position}}}
 +
       | firstLeft = <!-- first element: left half -->
 
               <tr>
 
               <tr>
               <td style="vertical-align: top; width: 50%; padding: 5px; border: 3px solid {{Top_10:BorderColor|year={{{year}}}}}; background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
+
               <td  
       | 4 = <!-- number 4 Rechts 2. Verteidigungs-Option -->
+
       | firstWhole = <!-- first element with full width -->
              </td>
 
              <td style="vertical-align: top; width: 50%; padding: 5px; border: 3px solid {{Top_10:BorderColor|year={{{year}}}}}; background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
 
      | 5 =  <!-- number 5 Links 3. Verteidigungs-Option -->
 
              </td></tr>
 
 
               <tr>
 
               <tr>
               <td style="vertical-align: top; width: 50%; padding: 5px; border: 3px solid {{Top_10:BorderColor|year={{{year}}}}}; background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
+
               <td colspan="2"
       | 6 = <!-- number 6: Ganze Breite (2 Spalten) -->
+
       | firstLongLeft =
              </td></tr>
 
 
               <tr>
 
               <tr>
               <td colspan="2" style="vertical-align: top; width: 50%; padding: 5px; border: 3px solid {{Top_10:BorderColor|year={{{year}}}}}; background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
+
               <td rowspan="2"  
       | 7 = <!-- number 7 Links Auswirkung(en) auf den Benutzer -->
+
       | left = <!-- left half -->
 
               </td></tr>
 
               </td></tr>
 
               <tr>
 
               <tr>
               <td style="vertical-align: top; width: 50%; padding: 5px; border: 3px solid {{Top_10:BorderColor|year={{{year}}}}}; background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
+
               <td  
       | 8 = <!-- number 8: References right -->
+
       | right = <!-- right half -->
 
               </td>  
 
               </td>  
               <td style="vertical-align: top; width: 50%; padding: 5px; border: 3px solid {{Top_10:BorderColor|year={{{year}}}}}; background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
+
               <td  
       | 9 = <!-- number 9: References left  -->
+
       | whole =      
 
               </td></tr>
 
               </td></tr>
 
               <tr>
 
               <tr>
               <td style="vertical-align: top; width: 50%; padding: 5px; border: 3px solid {{Top_10:BorderColor|year={{{year}}}}}; background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
+
               <td colspan="2"
       | 11 =  <!-- number 11: Tabellen-Anfang, Links 1. Verteidigungs-Option -->
+
       | longLeft =
          <table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px; margin:0; font-size:125%">
 
            <tr>
 
            <td style="vertical-align: top; width: 50%; padding: 5px; border: 3px solid {{Top_10:BorderColor|year={{{year}}}}}; background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
 
      | 12 =  <!-- number 16: Tabellen-Anfang, Ganze Breite (2 Spalten) Test Format für howPrevent -->
 
 
               </td></tr>
 
               </td></tr>
 
               <tr>
 
               <tr>
               <td colspan="2" style="vertical-align: top; width: 50%; padding: 5px; border: 3px solid {{Top_10:BorderColor|year={{{year}}}}}; background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
+
               <td rowspan="2"  
      | 16 =  <!-- number 16: Tabellen-Anfang, Ganze Breite (2 Spalten) -->
+
      | longRight = <!-- right half -->
          <table style="border: none; text-align: left; width: 100%; border-spacing:5px 5px; margin:0; font-size:125%">
+
              </td>
            <tr>
+
              <td rowspan="2"
            <td colspan="2" style="vertical-align: top; width: 50%; padding: 5px; border: 3px solid {{Top_10:BorderColor|year={{{year}}}}}; background-color: {{Top_10:BackgroundColor|year={{{year}}}}};">
+
      | #default = <!-- no 'position' set yet (old style)-->
  }}
+
        {{#switch: {{{number}}} <!--- backward compatible for Template:Top 10 2010:SubsectionAdvancedTemplate; please do NOT use any longer --->
<div style="font-style: bold;
+
          | left =  <!-- first element: left half (=> firstLeft in new nomenclature for position!-->
    {{#switch: {{{year}}}
+
              {{Top_10:SubsectionTableBeginTemplate|type=main}}
        | 2013=color: #000000; border-bottom: #999999 solid 1px; margin-bottom: 3px; padding-bottom: 3px;
+
                  <tr>
        | #default=color: #4F81BD;
+
                  <td
    }};
+
          | right = <!-- right half -->
font-size: 150%;">
+
                  </td>  
{{#switch: {{{number}}}
+
                  <td  
  | left
+
          | whole = <!-- first element with full width (=> firstWhole in new nomenclature for position!--
  | right
+
                  {{Top_10:SubsectionTableBeginTemplate|type=main}}
  | whole={{{title}}}
+
                  <tr>
  | 1={{Top_10:LanguageFile|text=exampleScenarios|risk={{{risk}}}|language={{{language}}}|year={{{year}}} }}
+
                  <td
  | 2={{Top_10:LanguageFile|text=howPrevent1|language={{{language}}} }} &apos;{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}&apos; {{Top_10:LanguageFile|text=howPrevent2|language={{{language}}} }}
+
          | 1 = <!-- number 1: Left 1st Element  => firstLeft in new nomenclature for position!-->
  | 3={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 1: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}  
+
                {{Top_10:SubsectionTableBeginTemplate|type=main}}
  | 4={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 2: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}
+
                  <tr>
  | 5={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 3: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}
+
                  <td
  | 6={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }}: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}
+
          | 2 =  <!-- number 2: right 2nd Element => right in new nomenclature for position!-->
  | 7={{Top_10:LanguageFile|text=userImpact|language={{{language}}} }}
+
                  </td>
  | 8={{Top_10:LanguageFile|text=references|language={{{language}}} }}
+
                  <td
  | 9={{Top_10:LanguageFile|text=references|language={{{language}}} }}
+
          | 3 = <!-- number 3: Links 3rd Element => left in new nomenclature for position!-->
  | 11={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 1: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}
+
                  </td></tr>
  | 12={{Top_10:LanguageFile|text=howPrevent1|language={{{language}}} }} &apos;{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}&apos; {{Top_10:LanguageFile|text=howPrevent2|language={{{language}}} }}
+
                  <tr>
  | 16={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }}: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}  
+
                  <td
}}</div>
+
          | 4 = <!-- number 4: right 4th Element => right in new nomenclature for position!-->
|<br/>{{Top_10_2010:SubsectionColoredTemplate|{{#switch: {{{number}}}  
+
                  </td>
  | left
+
                  <td
  | right
+
        }}
  | whole={{{title}}}  
+
    }}
  | 1={{Top_10:LanguageFile|text=exampleScenarios|risk={{{risk}}}|language={{{language}}}|year={{{year}}} }}
+
    style="vertical-align: top; padding:5px; width: 50%;
  | 2={{Top_10:LanguageFile|text=howPrevent1|language={{{language}}} }} &apos;{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}&apos; {{Top_10:LanguageFile|text=howPrevent2|language={{{language}}} }}
+
          border: 3px solid {{Top_10:BorderColor|year={{{year}}} }};
  | 3={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 1: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}
+
          background-color: {{Top_10:BackgroundColor|year={{{year}}} }};">
  | 4={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 2: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}  
+
    <div style="font-style: bold;
  | 5={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 3: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}
+
          {{#switch: {{{year}}}  
  | 6={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }}: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}
+
            | 2013=color: #000000; border-bottom: #999999 solid 1px; margin-bottom: 3px; padding-bottom: 3px;
  | 7={{Top_10:LanguageFile|text=userImpact|language={{{language}}} }}
+
            | #default=color: #4F81BD;
  | 8={{Top_10:LanguageFile|text=references|language={{{language}}} }}
+
          }};
  | 9={{Top_10:LanguageFile|text=references|language={{{language}}} }}
+
          font-size: 150%;">
  | 11={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} 1: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}
+
    <!--- Box-Sub-Headline --->
  | 12={{Top_10:LanguageFile|text=howPrevent1|language={{{language}}} }} &apos;{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}&apos; {{Top_10:LanguageFile|text=howPrevent2|language={{{language}}} }}
+
    {{#switch: {{{subsection}}}
  | 16={{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }}: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}  
+
      | freetext=    {{{title}}}  
}}|}}
+
      | example=    {{Top_10:LanguageFile|text=exampleScenarios|language={{{language}}} }}
}}
+
      | howPrevent= {{Top_10:LanguageFile|text=howPrevent1|language={{{language}}} }} &apos;{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}&apos;{{Top_10:LanguageFile|text=howPrevent2|language={{{language}}} }}
 +
      | defOp=      {{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} {{{title}}} {{Top_10:LanguageFile|text=against|language={{{language}}} }} &apos;{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}&apos;:
 +
      | userImpact= {{Top_10:LanguageFile|text=userImpact|language={{{language}}} }}
 +
      | references=  {{Top_10:LanguageFile|text=references|language={{{language}}} }}
 +
      | vulnerableTo={{Top_10:LanguageFile|text=vulnerableTo1|language={{{language}}} }} &apos;{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}&apos;{{Top_10:LanguageFile|text=vulnerableTo2|language={{{language}}} }}
 +
      | #default= <!-- no 'subsection' set yet (old style)-->
 +
        {{#switch: {{{number}}} <!--- backward compatible for Template:Top 10 2010:SubsectionAdvancedTemplate; please do NOT use any longer --->
 +
          | left
 +
          | right
 +
          | whole={{{title}}}
 +
          | 1={{Top_10:LanguageFile|text=vulnerableTo1|language={{{language}}} }} &apos;{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}&apos;{{Top_10:LanguageFile|text=vulnerableTo2|language={{{language}}} }}  
 +
          | 2={{Top_10:LanguageFile|text=howPrevent1|language={{{language}}} }} &apos;{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}&apos;{{Top_10:LanguageFile|text=howPrevent2|language={{{language}}} }}
 +
          | 3={{Top_10:LanguageFile|text=exampleScenarios|language={{{language}}} }}
 +
          | 4={{Top_10:LanguageFile|text=references|language={{{language}}} }}
 +
      }}  
 +
  }}</div>
 +
|<br/>{{Top_10_2010:SubsectionColoredTemplate|
 +
    {{#switch: {{{subsection}}}
 +
      | freetext=  {{{title}}}  
 +
      | example=   {{Top_10:LanguageFile|text=exampleScenarios|language={{{language}}} }}
 +
      | howPrevent= {{Top_10:LanguageFile|text=howPrevent1|language={{{language}}} }} &apos;{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}&apos;{{Top_10:LanguageFile|text=howPrevent2|language={{{language}}} }}
 +
      | defOp=     {{Top_10:LanguageFile|text=defendingOption|language={{{language}}} }} {{{title}}} {{Top_10:LanguageFile|text=against|language={{{language}}} }} &apos;{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}&apos;:
 +
      | userImpact= {{Top_10:LanguageFile|text=userImpact|language={{{language}}} }}
 +
      | references= {{Top_10:LanguageFile|text=references|language={{{language}}} }}
 +
      | vulnerableTo= {{Top_10:LanguageFile|text=vulnerableTo1|language={{{language}}} }} &apos;{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}&apos;{{Top_10:LanguageFile|text=vulnerableTo2|language={{{language}}} }}
 +
      | #default= <!-- no 'subsection' set yet (old style)-->
 +
      {{#switch: {{{number}}} <!--- backward compatible for Template:Top 10 2010:SubsectionAdvancedTemplate; please do NOT use any longer --->
 +
        | left
 +
        | right
 +
        | whole={{{title}}}
 +
        | 1={{Top_10:LanguageFile|text=vulnerableTo1|language={{{language}}} }} &apos;{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}&apos;{{Top_10:LanguageFile|text=vulnerableTo2|language={{{language}}} }}  
 +
        | 2={{Top_10:LanguageFile|text=howPrevent1|language={{{language}}} }} &apos;{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}&apos;{{Top_10:LanguageFile|text=howPrevent2|language={{{language}}} }}
 +
        | 3={{Top_10:LanguageFile|text=exampleScenarios|language={{{language}}} }}
 +
        | 4={{Top_10:LanguageFile|text=references|language={{{language}}} }}
 +
      }}
 +
  }}|}}
 +
}} </onlyinclude>

Latest revision as of 16:49, 12 April 2013

Usage:

  1. Start Table
    • {{Top_10:SubsectionTableBeginTemplate|type=main}} <!--- in the main page --->
    • {{Top_10:SubsectionTableBeginTemplate|type=headertab}} <!--- in the languages part, like JAVA --->
  2. hint: use 'position=firstLeft', 'firstWhole' or 'firstLongLeft' for the 1st element
{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate  
  |type={{Top_10_2010:StyleTemplate}} <!--- => box --->
  |subsection=<defOp|example|freetext|howPrevent|references|userImpact|vulnerableTo>  
  |title=your title <!--- additional parameter for subsection=freetext or defOp (for the number) --->
  |position=<firstLeft|firstWhole|firstLongLeft|left|right|whole|longLeft|longRight>  
  |risk=1 <!--- additional parameter for subsection=<defOp|example|howPrevent|vulnerableTo>:
  according to Template:Top_10_2010_Developer_Edition_De:ByTheNumbers --->
  |year=<2010|2013> <!--- changes year of the Top-10-Version for subsection=<defOp|example|howPrevent|vulnerableTo> --->
  |language=de <!--- additional parameter for all subsection-tags without fulltext --->
  according to Template:Top 10:LanguageFile --->
}}  
 outdatet:  
  |number=<1|2|3|4|left|right|whole> <!--- backward compatible for Template:Top 10 2010:SubsectionAdvancedTemplate; please do NOT use any longer --->
3. End Table
  • {{Top_10:SubsectionTableEndTemplate}} <!--- in the main page --->
  • {{Top_10_2010_Developer_Edition_De:BottomAdvancedTemplate <!--- end of the page --->
|type={{Top_10_2010:StyleTemplate}}
|useprev=PrevLink_Germany_Projekte
|prev=Top_10_fuer_Entwickler
|usenext=NextLink_Germany_Projekte
|next=Top_10_fuer_Entwickler/Die Top-10-Risiken
}}


Example:

{{Top_10:SubsectionTableBeginTemplate|type=main}} {{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate
|type={{Top_10_2010:StyleTemplate}}
|subsection=vulnerableTo
|position=firstLeft
|risk=1
|year=2013
|language=de
}}
1st box
{{Top_10:SubsectionTableEndTemplate}}

English New Syntax

Am I Vulnerable To 'Injection'?

1st box

How Do I Prevent 'Injection'?

2nd box

Example Attack Scenarios

3rd box

References

4th box

Defending Option 1 against 'Injection':

5th box (big box)


English old Syntax 2013

Am I Vulnerable To 'Injection'?

1st box

How Do I Prevent 'Injection'?

2nd box

Example Attack Scenarios

3rd box

References

4th box


English Old Syntax 2010

Am I Vulnerable To 'Injection'?

1st box

How Do I Prevent 'Injection'?

2nd box

Example Attack Scenarios

3rd box

References

4th box


German 2013

Bin ich durch 'Injection' verwundbar?

1st box

Wie kann ich 'Injection' verhindern?

2nd box

Mögliche Angriffsszenarien

3rd box

Referenzen

4th box

Verteidigungs-Option 1 gegen 'Injection':

5th box (big box)


German 2010

Bin ich durch 'Injection' verwundbar?

1st box

Wie kann ich 'Injection' verhindern?

2nd box

Mögliche Angriffsszenarien

3rd box

Referenzen

4th box

Verteidigungs-Option 1 gegen 'Injection':

5th box (big box)


Special 2013

Am I Vulnerable To 'Broken Authentication and Session Management'?

1st box

How Do I Prevent 'Broken Authentication and Session Management'?

2nd box

Example Attack Scenarios

3rd box

Impact to the User

4th box

Defending Option 1 against 'Broken Authentication and Session Management':

5th box (long box)

Defending Option 2 against 'Broken Authentication and Session Management':

6th box

References

7th box