Difference between revisions of "Template:Infobox"

From Otaku Wiki
Jump to navigation Jump to search
Line 1: Line 1:
  |name         = Infobox
+
{{Infobox
  |bodystyle   =  
+
  |name       = Infobox
 +
  |bodystyle   = width:20em
  
  |titlestyle   =
+
  |titlestyle  =  
|abovestyle  = background:#cfc;
+
  |title       = Test Infobox
  |subheaderstyle =
 
  |title       = Test Infobox
 
|above        = Above text
 
|subheader    = Subheader above image
 
|subheader2  = Second subheader
 
  
  |imagestyle  =  
+
  |headerstyle =  
  |captionstyle =
+
  |labelstyle = width:33%
  |  image      = [[File:Example-serious.jpg|200px|alt=Example alt text]]
+
  |datastyle  =  
  |caption      = Caption displayed below Example-serious.jpg
 
  
|headerstyle  = background:#ccf;
+
  |header1 =  
|labelstyle  = background:#ddf;
+
  | label1 = Label 1
|datastyle    =
+
  |  data1 = Data 1
 
 
  |header1 = Header defined alone
 
  | label1 =  
 
  |  data1 =  
 
 
  |header2 =  
 
  |header2 =  
  | label2 = Label defined alone does not display (needs data, or is suppressed)
+
  | label2 = Label 2
  |  data2 =  
+
  |  data2 = Data 2
  |header3 =
+
  |header3 =  
  | label3 =  
+
  | label3 = Label 3
  |  data3 = Data defined alone
+
  |  data3 = Data 3
  |header4 = All three defined (header, label, data, all with same number)
+
  |header4 = Header 4
  | label4 = does not display (same number as a header)
+
  | label4 =  
  |  data4 = does not display (same number as a header)
+
  |  data4 =  
  |header5 =
+
  |header5 =  
  | label5 = Label and data defined (label)
+
  | label5 = Label 5
  |  data5 = Label and data defined (data)
+
  |  data5 = Data 5: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
  
  |belowstyle = background:#ddf;
+
  |belowstyle =  
  |below     = Below text
+
  |below = Below text
 
}}
 
}}

Revision as of 05:46, 10 February 2020

Template loop detected: Template:Infobox