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
(New Template on Basis of 'Top 10 2010:SubsectionAdvancedTemplate'; To use with the new Main Page) |
m |
||
| Line 19: | Line 19: | ||
|} | |} | ||
: End Table | : End Table | ||
| − | : <nowiki>{{ | + | : <nowiki>{{TextBoxEndTemplate}} </nowiki> |
=== '''Example:''' === | === '''Example:''' === | ||
| + | :<nowiki>{{BoxTableBeginTemplate}}</nowiki> | ||
:<nowiki>{{TextBoxTemplate</nowiki> | :<nowiki>{{TextBoxTemplate</nowiki> | ||
::<nowiki>|title=get Information</nowiki> | ::<nowiki>|title=get Information</nowiki> | ||
| Line 29: | Line 30: | ||
:<nowiki>}}</nowiki> | :<nowiki>}}</nowiki> | ||
:<nowiki>1st box</nowiki> | :<nowiki>1st box</nowiki> | ||
| − | :<nowiki>{{ | + | :<nowiki>{{BoxTableEndTemplate}}</nowiki> |
| + | {{BoxTableBeginTemplate}} | ||
{{TextBoxTemplate | {{TextBoxTemplate | ||
|title=get Information | |title=get Information | ||
| Line 76: | Line 78: | ||
}} | }} | ||
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; | ||
Revision as of 22:21, 5 April 2014
Usage:
{{BoxTableBeginTemplate}} {{TextBoxTemplate |title=your title |position=<firstLeft|firstWhole|firstLongLeft|left|right|whole|longLeft|longRight> |color=<colour> |bgcolor=<background colour> }}
- End Table
- {{TextBoxEndTemplate}}
Example:
- {{BoxTableBeginTemplate}}
- {{TextBoxTemplate
- |title=get Information
- |position=firstLeft
- |color=#4d3d95
- |bgcolor=#F8F8FF
- }}
- 1st box
- {{BoxTableEndTemplate}}
get Information
|
<tr>
<td
style="vertical-align: top; padding:5px; width: 50%;
border: 3px solid {{{color}}};
background-color: {{{bgcolor}}};">
{{{title}}}