Difference between revisions of "Template:Infobox"

From Typewriter Wiki
 
(48 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
|name        = Info Box Sample
+
{|id="mp-upper" style="float:right; background:none;"
|bodystyle    =  
+
|class="Infobox" style="width:250px; style="float:right; margin-left: 10px;"border:1px solid #000000; background:#efefef; vertical-align:top; color:#000;"|
 +
{|id="mp-left" width="100%" cellpadding="2" cellspacing="5" style="float:right; background:#efefef;"
 +
! <h2 id="mp-tfa-h2" style="center; background:#ffffff; font-size:120%; font-weight:bold; border:2px solid #000000; text-align:center; color:#000; padding:0.0em 0.0em;">{{{1}}}</h2>
 +
|-
 +
|style="color:#000;"| <div id="mp-tfa">
  
|titlestyle  =
+
<tr>
|abovestyle  = background:#cfc;
+
<th class="infobox-title" colspan="2" style="text-align: center;"><b>Founder:{{{2}}}</b></th >
|subheaderstyle =
+
</tr>
|title       = Test Infobox
+
<tr>
|above        = Above text
+
<td class="infobox-image" colspan="2">[[file:{{{3}}}|300px|center]]<small>{{{4}}}</td>
|subheader    = Subheader above image
+
</tr>
|subheader2  = Second subheader
+
<tr>
 
+
<th class="infobox-subtitle" colspan="2" style="min-width:15em;">General Information</th>
|imagestyle  =
+
</tr>
|captionstyle =  
+
<tr>
image     = [[File:4B333.jpg|200px|alt=Example alt text]]
+
<td class="infoboxtd1strow">'''Based In:''':</td>
|caption      = Caption displayed below 4-Bank
+
<td>{{{5}}}</td>
 
+
</tr>
|headerstyle  = background:#ccf;
+
<tr>
|labelstyle  = background:#ddf;
+
<td class="infoboxtd1strow" bgcolor=#FFFFFF>'''Type:'''</th>
|datastyle    =
+
<td bgcolor=#FFFFFF>{{{6}}}</td>
 
+
</tr>
|header1 = Header defined alone
+
<tr>
| label1 =  
+
<td class="infoboxtd1strow">'''Founded:'''</td>
|  data1 =
+
<td>{{{7}}}</td>
|header2 =  
+
</tr>
| label2 = Label defined alone does not display (needs data, or is suppressed)
+
<tr>
|  data2 =
+
<td class="infoboxtd1strow" bgcolor=#FFFFFF>'''Fate:'''</th>
|header3 =
+
<td bgcolor=#FFFFFF>{{{8}}}</td>
| label3 =  
+
</tr>
|  data3 = Data defined alone
+
<tr>
|header4 = All three defined (header, label, data, all with same number)
+
<td class="infoboxtd1strow">'''Rebrands:'''</td>
| label4 = does not display (same number as a header)
+
<td>{{{9}}}</td>
|  data4 = does not display (same number as a header)
+
</tr>
|header5 =
+
<tr>
| label5 = Label and data defined (label)
+
<td class="infoboxtd1strow" bgcolor=#FFFFFF>'''Related Companies:'''</td>
|  data5 = Label and data defined (data)
+
<td bgcolor=#FFFFFF>{{{10}}}</td>
 
+
</tr>
|belowstyle = background:#ddf;
+
</tr>
|below      = Below text
+
<tr>
 +
</table>
 +
</div></div>
 +
|}

Latest revision as of 04:12, 28 May 2022

{{{1}}}

Founder:{{{2}}}
[[file:{{{3}}}|300px|center]]{{{4}}}
General Information
Based In:: {{{5}}}
Type: {{{6}}}
Founded: {{{7}}}
Fate: {{{8}}}
Rebrands: {{{9}}}
Related Companies: {{{10}}}