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
(top10TmpMessage (en): unterlined link and fixed default) |
(Added or updated some base tokens for German Wiki: documentRootTop10New, top10TmpMessage, centerLink1, centerLink2, projectCategory) |
||
Line 30: | Line 30: | ||
{{#switch: {{{text}}} <noinclude> | {{#switch: {{{text}}} <noinclude> | ||
<!-- BEGIN Document-Root --> </noinclude> | <!-- BEGIN Document-Root --> </noinclude> | ||
+ | | documentRootTop10New = Germany/Projekte/Top 10-{{{year}}} | ||
+ | | documentRootTop10NewDeveloperEdition = Germany/Projekte/Top 10 fuer Entwickler-{{{year}}} | ||
| documentRootTop10 = Germany/Projekte/Top 10-{{{year}}} | | documentRootTop10 = Germany/Projekte/Top 10-{{{year}}} | ||
| documentRootTop10DeveloperEdition = Germany/Projekte/Top 10 fuer Entwickler-{{{year}}}<noinclude> | | documentRootTop10DeveloperEdition = Germany/Projekte/Top 10 fuer Entwickler-{{{year}}}<noinclude> | ||
<!-- END Document-Root --> | <!-- END Document-Root --> | ||
<!-- BEGIN of Top Ten Section for Top 10 2013-CenterLinkTemplate + Top 10 2013:Top and Bottom(Advanced)Template(s) --> </noinclude> | <!-- BEGIN of Top Ten Section for Top 10 2013-CenterLinkTemplate + Top 10 2013:Top and Bottom(Advanced)Template(s) --> </noinclude> | ||
− | | top10TmpMessage = ==BAUSTELLE! Hier entsteht das deutsche Wiki der OWASP Top 10-2013== | + | | top10TmpMessage = |
+ | {{#switch: {{{year}}} | ||
+ | | 2017 = <noinclude>==BAUSTELLE! Hier entsteht das deutsche Wiki der OWASP Top 10-2017==<br/><br/>==Bitte benutzen Sie die <u>[[Germany/Projekte/Top_10 | PDF Version]]</u>.==</noinclude> | ||
+ | | 2013 <noinclude>= ==The Top 10-2013 Wiki is under Construction. The Content is Not Finished yet==</noinclude> | ||
+ | | #default = NOTE: THIS IS NOT THE LATEST VERSION. Please visit the <u>[[:Category:OWASP_Top_Ten_Project|OWASP Top 10 project page]]</u> to find the latest edition. | ||
+ | }} | ||
| top10TmpMessageDeveloperEdition = ==BAUSTELLE! Hier entsteht das deutsche Wiki der OWASP Top 10 fuer Entwickler-2013== | | top10TmpMessageDeveloperEdition = ==BAUSTELLE! Hier entsteht das deutsche Wiki der OWASP Top 10 fuer Entwickler-2013== | ||
− | | centerLink1 = [[Germany/Projekte/Top 10- | + | | centerLink1 = |
− | | centerLink2 = | + | {{#switch: {{{year}}} |
+ | | #default = [[Germany/Projekte/Top 10-{{{year}}}-Inhaltsverzeichnis|{{{year}}} Inhaltsverzeichnis]] | ||
+ | }} | ||
+ | | centerLink2 = | ||
+ | {{#switch: {{{year}}} | ||
+ | | 2013 = [[Germany/Projekte/Top 10-2013-Top 10|2013 Die Top-10-Risiken]] | ||
+ | | 2017 = [[Germany/Projekte/Top_10| PDF version]] | ||
+ | | #default = [[Germany/Projekte/[Top_10_{{{year}}}-Top 10|{{{year}}} Die Top-10-Risiken]] | ||
+ | }} | ||
| centerLink1DeveloperEdition = [[Germany/Projekte/Top 10 fuer Entwickler-2013/Inhaltsverzeichnis|Top 10 fuer Entwickler-2013: Inhaltsverzeichnis]] | | centerLink1DeveloperEdition = [[Germany/Projekte/Top 10 fuer Entwickler-2013/Inhaltsverzeichnis|Top 10 fuer Entwickler-2013: Inhaltsverzeichnis]] | ||
| centerLink2DeveloperEdition = [[Germany/Projekte/Top 10 fuer Entwickler-2013/Top 10|Die Top-10-Risiken]] | | centerLink2DeveloperEdition = [[Germany/Projekte/Top 10 fuer Entwickler-2013/Top 10|Die Top-10-Risiken]] | ||
− | | projectCategory = [[Category: Germany/Projekte/Top 10- | + | | projectCategory = [[Category: Germany/Projekte/Top 10-{{{year}}}]] |
| projectCategoryDeveloperEdition = [[Category:OWASP Top 10 fuer Entwickler]] [[Category: Germany/Projekte/Top 10 fuer Entwickler-2013]]<noinclude> | | projectCategoryDeveloperEdition = [[Category:OWASP Top 10 fuer Entwickler]] [[Category: Germany/Projekte/Top 10 fuer Entwickler-2013]]<noinclude> | ||
<!-- END of Top Ten Section for Top 10 2013-CenterLinkTemplate --> | <!-- END of Top Ten Section for Top 10 2013-CenterLinkTemplate --> |
Revision as of 17:12, 9 December 2018
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 unknown Object '{{{text}}}')