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 (__NOTOC__) |
m (Box-Headline font-size: 150% -> 120%;) |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 59: | Line 59: | ||
===I'd like to ...=== | ===I'd like to ...=== | ||
| − | {{BoxTableBeginTemplate}} {{TextBoxTemplate|title=get Information|position=firstLeft|color=# | + | {{BoxTableBeginTemplate}} {{TextBoxTemplate|title=get Information|position=firstLeft|color=#F8F8FF|bgcolor=#F8F8FF}} |
* as programmer | * as programmer | ||
* as manager looking to understand what security means for your business | * as manager looking to understand what security means for your business | ||
* security professional | * security professional | ||
| − | {{TextBoxTemplate|title=get Tools|position=right|color=# | + | {{TextBoxTemplate|title=get Tools|position=right|color=#F8F8FF|bgcolor=#F8F8FF}} |
* as programmer | * as programmer | ||
* security professional | * security professional | ||
| − | {{TextBoxTemplate|title=get more Information about OWASP|position=left|color=# | + | {{TextBoxTemplate|title=get more Information about OWASP|position=left|color=#F8F8FF|bgcolor=#F8F8FF}} |
* about | * about | ||
* OWASP Statement of the Security of the Internet | * OWASP Statement of the Security of the Internet | ||
* Social Media | * Social Media | ||
| − | {{TextBoxTemplate|title=meet the OWASP Community|position=right|color=# | + | {{TextBoxTemplate|title=meet the OWASP Community|position=right|color=#F8F8FF|bgcolor=#F8F8FF}} |
* OWASP worldwide | * OWASP worldwide | ||
* Security Conferences, Training | * Security Conferences, Training | ||
| − | {{TextBoxTemplate|title=get more Information about OWASP|position=left|color=# | + | {{TextBoxTemplate|title=get more Information about OWASP|position=left|color=#F8F8FF|bgcolor=#F8F8FF}} |
* about | * about | ||
* OWASP Statement of the Security of the Internet | * OWASP Statement of the Security of the Internet | ||
* Social Media | * Social Media | ||
| − | {{TextBoxTemplate|title=help the Community|position=right|color=# | + | {{TextBoxTemplate|title=help the Community|position=right|color=#F8F8FF|bgcolor=#F8F8FF}} |
* give Feedback | * give Feedback | ||
* get involved in Projects | * get involved in Projects | ||
| Line 88: | Line 88: | ||
* found a Chapter | * found a Chapter | ||
| − | {{TextBoxTemplate|title=get help for my Project/Chapter|position=left|color=# | + | {{TextBoxTemplate|title=get help for my Project/Chapter|position=left|color=#F8F8FF|bgcolor=#F8F8FF}} |
* Wiki | * Wiki | ||
* ... | * ... | ||
| − | {{TextBoxTemplate|title=... more boxes ...|position=right|color=# | + | {{TextBoxTemplate|title=... more boxes ...|position=right|color=#F8F8FF|bgcolor=#F8F8FF}} |
* more boxes | * more boxes | ||
* ... | * ... | ||
| − | {{TextBoxTemplate|title=... whole box ...|position=whole|color=# | + | {{TextBoxTemplate|title=... whole box ...|position=whole|color=#F8F8FF|bgcolor=#F8F8FF}} |
* Wiki | * Wiki | ||
* ... | * ... | ||
| Line 141: | Line 141: | ||
<td | <td | ||
}} | }} | ||
| − | style="vertical-align: top; padding: | + | style="vertical-align: top; padding: 0px; width: 50%; |
| − | border: 3px solid {{{color|#000000}}}; | + | {{#ifeq: {{{color|}}} | {{{bgcolor|}}} | border: 0px; | border: 3px solid {{{color|#000000}}}; <!---- |#4d3d95 ---->}} <!--- no border, if color== bgcolor ---> |
| − | background-color: {{{bgcolor|#FFFFFF}}};"> | + | background-color: {{{bgcolor|#FFFFFF}}};"> <!---- |#F8F8FF ----> |
| − | < | + | <h2 style="font-style: bold; |
| − | color: #000000; | + | color: #000000; margin: 0; margin-bottom: 3px; |
| − | font-size: | + | background:#cee0f2; font-family:inherit; padding:0.2em 0.4em; |
| + | font-weight:bold; border: 0; text-align: left; | ||
| + | font-size: 120%;"> <!--- Box-Headline ---> {{{title|}}} </h2> | ||
</includeonly></onlyinclude> | </includeonly></onlyinclude> | ||
__NOTOC__ | __NOTOC__ | ||
Latest revision as of 19:49, 27 April 2014
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 ...
| |