Difference between revisions of "Template:Infobox"

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