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
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq: {{{type}}} | box |
+
<!---------------------------------------------------------------------------->
 +
<!-- Template:Top 10 2010 Developer Edition De:SubsectionAdvancedTemplate  -->
 +
<!---------------------------------------------------------------------------->
 +
==='''Usage:''' ===
 +
# Start Table
 +
#* <nowiki>{{Top_10:SubsectionTableBeginTemplate|type=main}}      <!--- in the main page ---></nowiki>
 +
#* <nowiki>{{Top_10:SubsectionTableBeginTemplate|type=headertab}} <!--- in the languages part, like JAVA ---></nowiki>
 +
#:
 +
# hint: use 'position=firstLeft', 'firstWhole' or 'firstLongLeft' for the 1st element<br/>
 +
::{|
 +
| <nowiki>{{Top_10_2010_Developer_Edition_De:SubsectionAdvancedTemplate</nowiki> ||  &nbsp;
 +
|-
 +
| &nbsp;&nbsp;<nowiki>|type={{Top_10_2010:StyleTemplate}}</nowiki>  || <nowiki> <!---  => box  ---> </nowiki>
 +
|-
 +
| &nbsp;&nbsp;<nowiki>|subsection=<defOp|example|freetext|howPrevent|references|userImpact|vulnerableTo></nowiki>  || &nbsp;
 +
|-
 +
| &nbsp;&nbsp;<nowiki>|title=your title</nowiki>                    || <nowiki> <!--- additional parameter for subsection=freetext or defOp (for the number) ---> </nowiki>               
 +
|-
 +
| &nbsp;&nbsp;<nowiki>|position=<firstLeft|firstWhole|firstLongLeft|left|right|whole|longLeft|longRight></nowiki>  || &nbsp;
 +
|-
 +
| &nbsp;&nbsp;<nowiki>|risk=1                            </nowiki>  || <nowiki> <!--- additional parameter for subsection=<defOp|example|howPrevent|vulnerableTo>:</nowiki>
 +
|-
 +
| &nbsp;                                                          || according to [[:Template:Top_10_2010_Developer_Edition_De:ByTheNumbers]] <nowiki> ---> </nowiki>
 +
|-
 +
| &nbsp;&nbsp;<nowiki>|year=<2010|2013>                  </nowiki>  || <nowiki> <!--- changes year of the Top-10-Version for subsection=<defOp|example|howPrevent|vulnerableTo> ---> </nowiki>
 +
|-
 +
| &nbsp;&nbsp;<nowiki>|language=de                      </nowiki>  || <nowiki> <!---  additional parameter for all subsection-tags without fulltext ---> </nowiki>
 +
|-
 +
| &nbsp;                                                          || according to [[:Template:Top 10:LanguageFile]] <nowiki> ---> </nowiki>
 +
|-
 +
| <nowiki>}}                                      </nowiki>  || &nbsp;
 +
|-
 +
| &nbsp;outdatet:                                            || &nbsp;
 +
|-
 +
| &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>
 +
|}
 +
:3. End Table
 +
:* <nowiki>{{Top_10:SubsectionTableEndTemplate}}                      <!--- in the main page ---></nowiki>
 +
:* <nowiki>{{Top_10_2010_Developer_Edition_De:BottomAdvancedTemplate  <!--- end of the page ---></nowiki>
 +
::: <nowiki>    |type={{Top_10_2010:StyleTemplate}}</nowiki>
 +
::: <nowiki>    |useprev=PrevLink_Germany_Projekte</nowiki>
 +
::: <nowiki>    |prev=Top_10_fuer_Entwickler</nowiki>
 +
::: <nowiki>    |usenext=NextLink_Germany_Projekte</nowiki>
 +
::: <nowiki>    |next=Top_10_fuer_Entwickler/Die Top-10-Risiken</nowiki>
 +
:: <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}}}
 
     {{#switch: {{{position}}}
       | firstLeft = <!-- left half -->
+
       | firstLeft = <!-- first element: left half -->
 
               <tr>
 
               <tr>
 
               <td  
 
               <td  
 
       | firstWhole = <!-- first element with full width -->
 
       | firstWhole = <!-- first element with full width -->
 
               <tr>
 
               <tr>
               <td colspan="2";
+
               <td colspan="2"
 +
      | firstLongLeft =
 +
              <tr>
 +
              <td rowspan="2"
 
       | left = <!-- left half -->
 
       | left = <!-- left half -->
 
               </td></tr>
 
               </td></tr>
Line 17: Line 188:
 
               </td></tr>
 
               </td></tr>
 
               <tr>
 
               <tr>
               <td colspan="2";
+
               <td colspan="2"
 +
      | longLeft =
 +
              </td></tr>
 +
              <tr>
 +
              <td rowspan="2"
 +
      | longRight = <!-- right half -->
 +
              </td>
 +
              <td rowspan="2"
 
       | #default = <!-- no 'position' set yet (old style)-->
 
       | #default = <!-- no 'position' set yet (old style)-->
         {{#switch: {{{number}}}
+
         {{#switch: {{{number}}} <!--- backward compatible for Template:Top 10 2010:SubsectionAdvancedTemplate; please do NOT use any longer --->
          | firstLeft = <!-- left half -->
+
           | left = <!-- first element: left half (=> firstLeft in new nomenclature for position!-->
              {{Top_10:SubsectionTableBeginTemplate|type=main}}
 
                  <tr>
 
                  <td
 
           | firstWhole = <!-- first element with full width -->
 
                {{Top_10:SubsectionTableBeginTemplate|type=main}}
 
                  <tr>
 
                  <td colspan="2";
 
          | left = <!-- left half -->
 
 
               {{Top_10:SubsectionTableBeginTemplate|type=main}}
 
               {{Top_10:SubsectionTableBeginTemplate|type=main}}
 
                   <tr>
 
                   <tr>
Line 35: Line 205:
 
                   </td>  
 
                   </td>  
 
                   <td  
 
                   <td  
           | whole =      
+
           | whole = <!-- first element with full width (=> firstWhole in new nomenclature for position!--> 
 
                   {{Top_10:SubsectionTableBeginTemplate|type=main}}
 
                   {{Top_10:SubsectionTableBeginTemplate|type=main}}
 
                   <tr>
 
                   <tr>
 
                   <td  
 
                   <td  
           | 1 = <!-- number 1: Links 1. Eintrag -->
+
           | 1 = <!-- number 1: Left 1st Element  => firstLeft in new nomenclature for position!-->
 
                 {{Top_10:SubsectionTableBeginTemplate|type=main}}
 
                 {{Top_10:SubsectionTableBeginTemplate|type=main}}
 
                   <tr>
 
                   <tr>
 
                   <td  
 
                   <td  
           | 2 =  <!-- number 2: Rechts 2. Eintrag-->
+
           | 2 =  <!-- number 2: right 2nd Element => right in new nomenclature for position!-->
 
                   </td>  
 
                   </td>  
 
                   <td  
 
                   <td  
           | 3 =  <!-- number 3 Links 1. Verteidigungs-Option -->
+
           | 3 =  <!-- number 3: Links 3rd Element => left in new nomenclature for position!-->
 
                   </td></tr>
 
                   </td></tr>
 
                   <tr>
 
                   <tr>
 
                   <td  
 
                   <td  
           | 4  
+
           | 4 = <!-- number 4: right 4th Element => right in new nomenclature for position!-->
          | defOp2 = <!-- 2nd defending Option 2, right -->
 
 
                   </td>
 
                   </td>
 
                   <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 -->
 
                  {{Top_10:SubsectionTableBeginTemplate|type=headertab}}
 
                      <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) -->
 
                  {{Top_10:SubsectionTableBeginTemplate|type=headertab}}
 
                      <tr>
 
                      <td colspan="2";
 
 
         }}
 
         }}
 
     }}
 
     }}
Line 101: Line 236:
 
     <!--- Box-Sub-Headline --->
 
     <!--- Box-Sub-Headline --->
 
     {{#switch: {{{subsection}}}
 
     {{#switch: {{{subsection}}}
       | freetext=   {{{title}}}  
+
       | freetext=   {{{title}}}  
       | example=   {{Top_10:LanguageFile|text=exampleScenarios|risk={{{risk}}}|language={{{language}}}|year={{{year}}} }}
+
       | 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}}} }}
+
       | 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_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}  
+
       | 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}}} }}
+
       | userImpact= {{Top_10:LanguageFile|text=userImpact|language={{{language}}} }}
       | references= {{Top_10:LanguageFile|text=references|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)-->
 
       | #default= <!-- no 'subsection' set yet (old style)-->
         {{#switch: {{{number}}}  
+
         {{#switch: {{{number}}} <!--- backward compatible for Template:Top 10 2010:SubsectionAdvancedTemplate; please do NOT use any longer --->
          | firstLeft
 
          | firstWhole
 
 
           | left  
 
           | left  
 
           | right  
 
           | right  
           | whole={{{title}}}  
+
           | whole={{{title}}}
           | 1={{Top_10:LanguageFile|text=exampleScenarios|risk={{{risk}}}|language={{{language}}}|year={{{year}}} }}
+
           | 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}}} }}
+
           | 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=defendingOption|language={{{language}}} }} 1: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}  
+
           | 3={{Top_10:LanguageFile|text=exampleScenarios|language={{{language}}} }}
          | 4
+
           | 4={{Top_10:LanguageFile|text=references|language={{{language}}} }}
          | 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}}} }} &apos;{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}&apos; {{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>
Line 135: Line 257:
 
     {{#switch: {{{subsection}}}
 
     {{#switch: {{{subsection}}}
 
       | freetext=  {{{title}}}  
 
       | freetext=  {{{title}}}  
       | example=    {{Top_10:LanguageFile|text=exampleScenarios|risk={{{risk}}}|language={{{language}}}|year={{{year}}} }}
+
       | 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}}} }}
+
       | 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_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}  
+
       | 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}}} }}
 
       | userImpact= {{Top_10:LanguageFile|text=userImpact|language={{{language}}} }}
 
       | references= {{Top_10:LanguageFile|text=references|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)-->
 
       | #default= <!-- no 'subsection' set yet (old style)-->
       {{#switch: {{{number}}}  
+
       {{#switch: {{{number}}} <!--- backward compatible for Template:Top 10 2010:SubsectionAdvancedTemplate; please do NOT use any longer --->
        | firstLeft
 
        | firstWhole
 
 
         | left  
 
         | left  
 
         | right  
 
         | right  
         | whole={{{title}}}  
+
         | whole={{{title}}}
         | 1={{Top_10:LanguageFile|text=exampleScenarios|risk={{{risk}}}|language={{{language}}}|year={{{year}}} }}
+
         | 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}}} }}
+
         | 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=defendingOption|language={{{language}}} }} 1: {{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}  
+
         | 3={{Top_10:LanguageFile|text=exampleScenarios|language={{{language}}} }}
        | 4
+
         | 4={{Top_10:LanguageFile|text=references|language={{{language}}} }}
        | 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}}} }} &apos;{{Top_10_2010_Developer_Edition_De:ByTheNumbers|{{{risk}}}|language={{{language}}}|year={{{year}}} }}&apos; {{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}}} }}
 
      }}
 
 
   }}|}}
 
   }}|}}
}}
+
}} </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