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 (no border, if color== bgcolor) |
m (Box-Headline font-size: 150% -> 120%;) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 92: | Line 92: | ||
* ... | * ... | ||
− | {{TextBoxTemplate|title=... more boxes ...|position=right|color=# | + | {{TextBoxTemplate|title=... more boxes ...|position=right|color=#F8F8FF|bgcolor=#F8F8FF}} |
* more boxes | * more boxes | ||
* ... | * ... | ||
Line 142: | Line 142: | ||
}} | }} | ||
style="vertical-align: top; padding: 0px; width: 50%; | style="vertical-align: top; padding: 0px; width: 50%; | ||
− | {{#ifeq: {{{color}}} | {{{bgcolor}}} | border: 0px | border: 3px solid {{{color|#000000}}}; <!---- |#4d3d95 ---->}} <!--- no border, if color== bgcolor ---> | + | {{#ifeq: {{{color|}}} | {{{bgcolor|}}} | border: 0px; | border: 3px solid {{{color|#000000}}}; <!---- |#4d3d95 ---->}} <!--- no border, if color== bgcolor ---> |
background-color: {{{bgcolor|#FFFFFF}}};"> <!---- |#F8F8FF ----> | background-color: {{{bgcolor|#FFFFFF}}};"> <!---- |#F8F8FF ----> | ||
<h2 style="font-style: bold; | <h2 style="font-style: bold; | ||
− | color: #000000 | + | color: #000000; margin: 0; margin-bottom: 3px; |
background:#cee0f2; font-family:inherit; padding:0.2em 0.4em; | background:#cee0f2; font-family:inherit; padding:0.2em 0.4em; | ||
− | font-weight:bold; border: | + | font-weight:bold; border: 0; text-align: left; |
− | font-size: | + | 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 ...
|