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…')
 
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
+
</table><noinclude>
-->{{#if:{{{name|}}}|<tr><td style="text-align:right;" colspan="2">{{navbar|{{{name}}}|noedit={{{noedit|0}}}}}</td></tr>}}
+
{{Infobox
</table>
+
|name        = Infobox/doc
 +
|bodystyle    =
 +
|title        = Test Infobox
 +
|titlestyle  =
 +
 
 +
|image        = [[File:example.png|200px|alt=Example alt text]]
 +
|imagestyle  =
 +
|caption      = Caption for example.png
 +
|captionstyle =
 +
|headerstyle  = background:#ccf;
 +
|labelstyle  = background:#ddf;
 +
|datastyle    =
 +
 
 +
|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>

Revision as of 17:37, 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>