Difference between revisions of "Template:Infobox"

From Otaku Wiki
Jump to navigation Jump to search
(Created page with "<div style="float: right"> <table border=1><tr><td> <b>{{{name}}}</b><br> {{{title}}}<br> <i>{{{species}}}</i><br> <i>{{{origin}}}</i><br> {{{image}}} </td></tr></table> <...")
 
Line 1: Line 1:
<div style="float: right">
+
|name        = Infobox
 +
|bodystyle    =  
  
<table border=1><tr><td>
+
|titlestyle  =  
 +
|abovestyle  = background:#cfc;
 +
|subheaderstyle =
 +
|title        = Test Infobox
 +
|above        = Above text
 +
|subheader    = Subheader above image
 +
|subheader2  = Second subheader
  
<b>{{{name}}}</b><br>
+
|imagestyle  =
{{{title}}}<br>
+
|captionstyle =
<i>{{{species}}}</i><br>
+
|  image      = [[File:Example-serious.jpg|200px|alt=Example alt text]]
<i>{{{origin}}}</i><br>
+
|caption      = Caption displayed below Example-serious.jpg
{{{image}}}
 
  
</td></tr></table>
+
|headerstyle  = background:#ccf;
 +
|labelstyle  = background:#ddf;
 +
|datastyle    =
  
</div>
+
|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 05:45, 10 February 2020

|name         = Infobox
|bodystyle    = 
|titlestyle   = 
|abovestyle   = background:#cfc;
|subheaderstyle =
|title        = Test Infobox
|above        = Above text
|subheader    = Subheader above image
|subheader2   = Second subheader
|imagestyle   = 
|captionstyle = 
|  image      = 200px
|caption      = Caption displayed below Example-serious.jpg
|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

}}