Difference between revisions of "Template:Infobox"

Jump to: navigation , search
(Undid revision 590143379 by Kaldari (talk); breaks everything)
m (1 revision imported: infobox)
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#invoke:Infobox|infobox}}<noinclude>
+
{{Infobox
 +
|name        = Infobox/doc
 +
|bodystyle    =
 +
|title        = Test Infobox
 +
|titlestyle  =
  
{{documentation}}
+
|image        = [[File:example.png|200px|alt=Example alt text]]
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
+
|imagestyle  =
</noinclude>
+
|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 20:57, 7 September 2016

Test Infobox
Example alt text
Caption for example.png
Header defined alone
Data defined alone
All three defined (header, label, data, all with same number)
Label and data defined (label) Label and data defined (data)
Below text