Difference between revisions of "Template:Infobox"

From CDOT Wiki
Jump to: navigation, search
(Created page with ' {{Infobox |name = Infobox/doc |bodystyle = |title = Test Infobox |titlestyle = |image = 200px|alt=Example alt text |imagestyle …')
 
Line 1: Line 1:
 
+
|name        = Infobox/doc
{{Infobox |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 does not display (needs data, or is suppressed) |data2  = |header3 = |label3  = |data3  = Data defined alone |header4 = All three defined (header, label, data, all with same number) |label4  = does not display (same number as a header) |data4  = does not display (same number as a header) |header5 = |label5  = Label and data defined (label) |data5  = Label and data defined (data) |belowstyle = background:#ddf; |below = Below text }}
+
|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 does not display (needs data, or is suppressed)
 +
|data2  =
 +
|header3 =
 +
|label3  =
 +
|data3  = Data defined alone
 +
|header4 = All three defined (header, label, data, all with same number)
 +
|label4  = does not display (same number as a header)
 +
|data4  = does not display (same number as a header)
 +
|header5 =
 +
|label5  = Label and data defined (label)
 +
|data5  = Label and data defined (data)  
 +
|belowstyle = background:#ddf;
 +
|below = Below text

Revision as of 14:42, 23 September 2011

|name = Infobox/doc |bodystyle = |title = Test Infobox |titlestyle = |image = 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 does not display (needs data, or is suppressed) |data2 = |header3 = |label3 = |data3 = Data defined alone |header4 = All three defined (header, label, data, all with same number) |label4 = does not display (same number as a header) |data4 = does not display (same number as a header) |header5 = |label5 = Label and data defined (label) |data5 = Label and data defined (data) |belowstyle = background:#ddf; |below = Below text