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
Jump to: navigation, search
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=#4d3d95|bgcolor=#F8F8FF}}
+
{{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; border-bottom: #999999 solid 1px; margin: 0; margin-bottom: 3px;  
+
       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:1px solid #a3bfb1; text-align:left;  
+
       font-weight:bold; border: 0; text-align: left;  
       font-size: 150%;"> <!--- Box-Headline ---> {{{title|}}} </h2>  
+
       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 1

1st box


Test 3

3nd box (longRight)


Test 2

2rd box


Test 4

4nd box (longLeft)


Test 5

5rd box


Test 6

6rd box


Test 7

7th box (big box)


I'd like to ...

get Information

  • as programmer
  • as manager looking to understand what security means for your business
  • security professional


get Tools

  • as programmer
  • security professional


get more Information about OWASP

  • about
  • OWASP Statement of the Security of the Internet
  • Social Media


meet the OWASP Community

  • OWASP worldwide
  • Security Conferences, Training


get more Information about OWASP

  • about
  • OWASP Statement of the Security of the Internet
  • Social Media


help the Community

  • give Feedback
  • get involved in Projects
  • launch a project
  • found a Chapter


get help for my Project/Chapter

  • Wiki
  • ...


... more boxes ...

  • more boxes
  • ...


... whole box ...

  • Wiki
  • ...