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:LanguageFile"

From OWASP
Jump to: navigation, search
(added: isTheApplicationVulnerable, howToPrevent)
(Top 10-2017: updated centerLink1, centerLink2)
Line 182: Line 182:
 
           }}
 
           }}
 
         | top10TmpMessageDeveloperEdition =  ==The Top 10-2013 Developer Edition Wiki is under Connstruction. The Content is Not Finished yet==
 
         | top10TmpMessageDeveloperEdition =  ==The Top 10-2013 Developer Edition Wiki is under Connstruction. The Content is Not Finished yet==
         | centerLink1 =                  [[Top 10 {{{year}}}-Table of Contents | {{{year}}} Table of Contents]]
+
         | centerLink1 =                   
         | centerLink2 =                   [[Top_10_{{{year}}}-Top 10|{{{year}}} Top 10 List]]
+
          {{#switch: {{{year}}}
 +
            | 2017    = [[Top 10-{{{year}}} Table of Contents | {{{year}}} Table of Contents]]
 +
            | #default = [[Top 10 {{{year}}}-Table of Contents | {{{year}}} Table of Contents]]
 +
          }}
 +
         | centerLink2 =
 +
          {{#switch: {{{year}}}
 +
            | 2017    = [[Top 10-{{{year}}} Top 10|{{{year}}} Top 10 List]]
 +
            | #default = [[Top_10_{{{year}}}-Top 10|{{{year}}} Top 10 List]]
 +
          }}
 
         | centerLink1DeveloperEdition =  [[Top 10 {{{year}}} Developer Edition-Table of Contents|{{{year}}} Developer Edition-Table of Contents]]
 
         | centerLink1DeveloperEdition =  [[Top 10 {{{year}}} Developer Edition-Table of Contents|{{{year}}} Developer Edition-Table of Contents]]
 
         | centerLink2DeveloperEdition =  [[Top 10 {{{year}}} Developer Edition-Top 10 List|{{{year}}} Developer Edition-Top 10 List]]
 
         | centerLink2DeveloperEdition =  [[Top 10 {{{year}}} Developer Edition-Top 10 List|{{{year}}} Developer Edition-Top 10 List]]

Revision as of 21:15, 29 December 2017

Usage:

This File contains all the text that is used by OWASP Top 10 Templates
Please leave a message to Torsten Gigler @ if you liked to add a new localization
If you use an undefined language you will get English output (default language).

{{Top_10:LanguageFile

|text=<parameter> <!-- take one of the defined parmeters, e.g. tableOfContents -->
|language=<your language> <!-- actually only English (=en) and German (=de) are valid parameters) -->
|year=<year> <!-- optional for some texts -->

}}

Example:

{{Top_10:LanguageFile|text=tableOfContents|language=de}} => Inhaltsverzeichnis


Healthcheck

tbd.
In the meantime, please check:


If you use an unknown parameter you will get the following Error message in your wiki page:
ERROR in the 'Language File' (Use of an unknown Object)