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:TextBoxTemplate"
From OWASP
m |
(1st version to work with) |
||
| Line 1: | Line 1: | ||
| + | <noinclude> | ||
<!---------------------------------------------------------> | <!---------------------------------------------------------> | ||
<!-- Template: TextBoxTemplate --> | <!-- Template: TextBoxTemplate --> | ||
| Line 10: | Line 11: | ||
| <nowiki>|title=your title</nowiki> || | | <nowiki>|title=your title</nowiki> || | ||
|- | |- | ||
| − | | <nowiki>|position=<firstLeft|firstWhole|firstLongLeft|left|right|whole|longLeft|longRight></nowiki> || | + | | <nowiki>|position=<firstLeft|firstWhole|firstLongLeft|left|right|whole|longLeft|longRight|newLineRight></nowiki> || |
|- | |- | ||
| <nowiki>|color=<colour> </nowiki> || | | <nowiki>|color=<colour> </nowiki> || | ||
| Line 31: | Line 32: | ||
:<nowiki>1st box</nowiki> | :<nowiki>1st box</nowiki> | ||
:<nowiki>{{BoxTableEndTemplate}}</nowiki> | :<nowiki>{{BoxTableEndTemplate}}</nowiki> | ||
| + | <br/> | ||
| + | ===Test-Boxes=== | ||
| − | {{BoxTableBeginTemplate}} | + | {{BoxTableBeginTemplate}} {{TextBoxTemplate|title=Test 1|position=firstLeft|color=#4d3d95|bgcolor=#F8F8FF}} |
| − | {{TextBoxTemplate | + | 1st box |
| − | + | ||
| − | | position= | + | {{TextBoxTemplate|title=Test 3|position=longRight|color=#4d3d95|bgcolor=#F8F8FF}} |
| − | + | 3nd box (longRight) | |
| − | + | ||
| − | }} | + | {{TextBoxTemplate|title=Test 2|position=left|color=#4d3d95|bgcolor=#F8F8FF}} |
| − | * as programmer | + | 2rd box |
| − | * as manager looking to understand what security means for your business | + | |
| − | * security professional | + | {{TextBoxTemplate|title=Test 4|position=longLeft|color=#4d3d95|bgcolor=#F8F8FF}} |
| + | 4nd box (longLeft) | ||
| + | |||
| + | {{TextBoxTemplate|title=Test 5|position=right|color=#4d3d95|bgcolor=#F8F8FF}} | ||
| + | 5rd box | ||
| + | |||
| + | {{TextBoxTemplate|title=Test 6|position=newLineRight|color=#4d3d95|bgcolor=#F8F8FF}} | ||
| + | 6rd box | ||
| + | |||
| + | {{TextBoxTemplate|title=Test 7|position=whole|color=#4d3d95|bgcolor=#F8F8FF}} | ||
| + | 7th box (big box) | ||
| + | {{BoxTableEndTemplate}} | ||
| + | <br/> | ||
| + | |||
| + | ===I'd like to ...=== | ||
| + | {{BoxTableBeginTemplate}} {{TextBoxTemplate|title=get Information|position=firstLeft|color=#4d3d95|bgcolor=#F8F8FF}} | ||
| + | * as programmer | ||
| + | * as manager looking to understand what security means for your business | ||
| + | * security professional | ||
| + | |||
| + | {{TextBoxTemplate|title=get Tools|position=right|color=#4d3d95|bgcolor=#F8F8FF}} | ||
| + | * as programmer | ||
| + | * security professional | ||
| + | |||
| + | {{TextBoxTemplate|title=get more Information about OWASP|position=left|color=#4d3d95|bgcolor=#F8F8FF}} | ||
| + | * about | ||
| + | * OWASP Statement of the Security of the Internet | ||
| + | * Social Media | ||
| + | |||
| + | {{TextBoxTemplate|title=meet the OWASP Community|position=right|color=#4d3d95|bgcolor=#F8F8FF}} | ||
| + | * OWASP worldwide | ||
| + | * Security Conferences, Training | ||
| + | |||
| + | {{TextBoxTemplate|title=get more Information about OWASP|position=left|color=#4d3d95|bgcolor=#F8F8FF}} | ||
| + | * about | ||
| + | * OWASP Statement of the Security of the Internet | ||
| + | * Social Media | ||
| + | |||
| + | {{TextBoxTemplate|title=help the Community|position=right|color=#4d3d95|bgcolor=#F8F8FF}} | ||
| + | * give Feedback | ||
| + | * get involved in Projects | ||
| + | * launch a project | ||
| + | * found a Chapter | ||
| + | |||
| + | {{TextBoxTemplate|title=get help for my Project/Chapter|position=left|color=#4d3d95|bgcolor=#F8F8FF}} | ||
| + | * Wiki | ||
| + | * ... | ||
| + | |||
| + | {{TextBoxTemplate|title=... more boxes ...|position=right|color=#4d3d95|bgcolor=#F8F8FF}} | ||
| + | * more boxes | ||
| + | * ... | ||
| + | |||
| + | {{TextBoxTemplate|title=... whole box ...|position=whole|color=#4d3d95|bgcolor=#F8F8FF}} | ||
| + | * Wiki | ||
| + | * ... | ||
{{BoxTableEndTemplate}} | {{BoxTableEndTemplate}} | ||
| − | <onlyinclude> {{ #switch: {{{position}}} | + | <br/> |
| + | |||
| + | <br/> | ||
| + | </noinclude> | ||
| + | <onlyinclude><includeonly> | ||
| + | {{ #switch: {{{position}}} | ||
| firstLeft = <!-- first element: left half --> | | firstLeft = <!-- first element: left half --> | ||
<tr> | <tr> | ||
| Line 59: | Line 121: | ||
| right = <!-- right half --> | | right = <!-- right half --> | ||
</td> | </td> | ||
| + | <td | ||
| + | | newLineRight = <!-- right half in a new linle (for 2nd right in longLeft)--> | ||
| + | </td></tr> | ||
| + | <tr> | ||
<td | <td | ||
| whole = | | whole = | ||
| Line 76: | Line 142: | ||
}} | }} | ||
style="vertical-align: top; padding: 5px; width: 50%; | style="vertical-align: top; padding: 5px; width: 50%; | ||
| − | border: 3px solid {{{color}}}; | + | border: 3px solid {{{color|#000000}}}; <!---- |#4d3d95 ----> |
| − | background-color: {{{bgcolor}}};"> <!---- |#F8F8FF ----> | + | background-color: {{{bgcolor|#FFFFFF}}};"> <!---- |#F8F8FF ----> |
<div style="font-style: bold; | <div style="font-style: bold; | ||
color: #000000; border-bottom: #999999 solid 1px; margin-bottom: 3px; padding-bottom: 3px; | color: #000000; border-bottom: #999999 solid 1px; margin-bottom: 3px; padding-bottom: 3px; | ||
font-size: 150%;"> | font-size: 150%;"> | ||
<!--- Box-Headline ---> | <!--- Box-Headline ---> | ||
| − | {{{title}}}</div> | + | {{{title|}}} |
| − | </onlyinclude> | + | </div> |
| + | </includeonly></onlyinclude> | ||
Revision as of 13:43, 6 April 2014
- 1 Usage:
- 2 Example:
- 3 Test-Boxes
- 4 Test 1
- 5 Test 3
- 6 Test 2
- 7 Test 4
- 8 Test 5
- 9 Test 6
- 10 Test 7
- 11 get Information
- 12 get Tools
- 13 get more Information about OWASP
- 14 meet the OWASP Community
- 15 get more Information about OWASP
- 16 help the Community
- 17 get help for my Project/Chapter
- 18 ... more boxes ...
- 19 ... whole box ...
Usage:
{{BoxTableBeginTemplate}} {{TextBoxTemplate |title=your title |position=<firstLeft|firstWhole|firstLongLeft|left|right|whole|longLeft|longRight|newLineRight> |color=<colour> |bgcolor=<background colour> }} {{BoxTableEndTemplate}}
Example:
- {{BoxTableBeginTemplate}}
- {{TextBoxTemplate
- | title=get Information
- | position=firstLeft
- | color=#4d3d95
- | bgcolor=#F8F8FF
- }}
- 1st box
- {{BoxTableEndTemplate}}
Test-Boxes
Test 11st box
|
Test 33nd box (longRight)
|
Test 22rd box
| |
Test 44nd box (longLeft)
|
Test 55rd box
|
Test 66rd box
| |
Test 77th box (big box) | |
I'd like to ...
get Information
|
get Tools
|
get more Information about OWASP
|
meet the OWASP Community
|
get more Information about OWASP
|
help the Community
|
get help for my Project/Chapter
|
... more boxes ...
|
... whole box ...
| |