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
Line 77: Line 77:
 
style="vertical-align: top; padding:5px; width: 50%;
 
style="vertical-align: top; padding:5px; width: 50%;
 
       border: 3px solid {{{color}}};            <!---- |#4d3d95 ---->
 
       border: 3px solid {{{color}}};            <!---- |#4d3d95 ---->
       background-color: {{{bgcolor}}}">        <!---- |#F8F8FF ---->
+
       background-color: {{{bgcolor}}};">        <!---- |#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}}}  
+
       {{{title}}}</div>
</div>
 
 
</onlyinclude>
 
</onlyinclude>

Revision as of 22:40, 5 April 2014

Usage:

{{BoxTableBeginTemplate}}
 {{TextBoxTemplate
  |title=your title
  |position=<firstLeft|firstWhole|firstLongLeft|left|right|whole|longLeft|longRight>  
  |color=<colour>
  |bgcolor=<background colour>
}}  
{{BoxTableEndTemplate}}

Example:

{{BoxTableBeginTemplate}}
{{TextBoxTemplate
|title=get Information
|position=firstLeft
|color=#4d3d95
|bgcolor=#F8F8FF
}}
1st box
{{BoxTableEndTemplate}}

get Information

  • as programmer <as a link>
  • as manager looking to understand what security means for your business <as a link>
  • security professional <as a link , and so on>

<tr>

             <td

style="vertical-align: top; padding:5px; width: 50%;

      border: 3px solid {{{color}}};            
      background-color: {{{bgcolor}}};">         
{{{title}}}