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:Infobox"

From OWASP
Jump to: navigation, search
(Created page with '<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"><!-- Caption -->{{#if:{{{titl…')
 
 
(2 intermediate revisions by the same user not shown)
Line 418: Line 418:
 
}}<!--
 
}}<!--
 
  Below
 
  Below
-->{{#if:{{{below|}}}|<tr><td colspan="2" style="text-align:center; {{{belowstyle|}}}">{{{below|}}}</td></tr>}}<!--
+
-->{{#if:{{{below|}}}|<tr><td colspan="2" style="text-align:center; {{{belowstyle|}}}">{{{below|}}}</td></tr>}}
Navbar
 
-->{{#if:{{{name|}}}|<tr><td style="text-align:right;" colspan="2">{{navbar|{{{name}}}|noedit={{{noedit|0}}}}}</td></tr>}}
 
 
</table>
 
</table>
 +
<noinclude>
 +
<noinclude>
 +
{{Infobox
 +
|name        =
 +
|title        = Test Infobox
 +
 +
|image        = [[File:example.png|200px|alt=Example alt text]]
 +
|caption      = Caption for example.png
 +
|headerstyle  = background:#ccf;
 +
|datastyle    = background: #ccc;
 +
|labelstyle  = background:#ddf;
 +
 +
|header1 = Header defined alone
 +
|label1  =
 +
|data1  =
 +
|header2 =
 +
|label2  = Label defined alone
 +
|data2  =
 +
|header3 =
 +
|label3  =
 +
|data3  = Data defined alone
 +
|header4 = All three defined (header)
 +
|label4  = All three defined (label)
 +
|data4  = All three defined (data)
 +
|header5 =
 +
|label5  = Label and data defined (label)
 +
|data5  = Label and data defined (data)
 +
}}
 +
</noinclude>
 +
 +
</noinclude>

Latest revision as of 17:42, 21 August 2009


Test Infobox
200px
Caption for example.png
Header defined alone
Data defined alone
All three defined (header)
Label and data defined (label) Label and data defined (data)


</noinclude>