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
m
Line 1: Line 1:
 
<!--------------------------------------------------------->  
 
<!--------------------------------------------------------->  
<!--  Template: TextBox                                -->
+
<!--  Template: TextBoxTemplate                        -->
 
<!--------------------------------------------------------->
 
<!--------------------------------------------------------->
 
==='''Usage:''' ===
 
==='''Usage:''' ===
Line 24: Line 24:
 
:<nowiki>{{BoxTableBeginTemplate}}</nowiki>
 
:<nowiki>{{BoxTableBeginTemplate}}</nowiki>
 
:<nowiki>{{TextBoxTemplate</nowiki>
 
:<nowiki>{{TextBoxTemplate</nowiki>
::<nowiki>|title=get Information</nowiki>
+
::<nowiki>| title=get Information</nowiki>
::<nowiki>|position=firstLeft</nowiki>
+
::<nowiki>| position=firstLeft</nowiki>
::<nowiki>|color=#4d3d95</nowiki>
+
::<nowiki>| color=#4d3d95</nowiki>
::<nowiki>|bgcolor=#F8F8FF</nowiki>
+
::<nowiki>| bgcolor=#F8F8FF</nowiki>
 
:<nowiki>}}</nowiki>
 
:<nowiki>}}</nowiki>
 
:<nowiki>1st box</nowiki>
 
:<nowiki>1st box</nowiki>
Line 34: Line 34:
 
{{BoxTableBeginTemplate}}
 
{{BoxTableBeginTemplate}}
 
{{TextBoxTemplate
 
{{TextBoxTemplate
  |title=get Information
+
  | title=get Information
  |position=firstLeft
+
  | position=firstLeft
  |color=#4d3d95
+
  | color=#4d3d95
  |bgcolor=#F8F8FF
+
  | bgcolor=#F8F8FF
 
}}
 
}}
 
* as programmer  <as a link>
 
* as programmer  <as a link>

Revision as of 22:44, 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}}}