Template:Infobox

(Difference between revisions)

m (test)
Line 29: Line 29:
 
}}
 
}}
  
<onlyinclude><includeonly>{| table class="table table-bordered" style="float:right; clear:right; width:300px; font-size:90%; text-align:left; margin:0 0 1em 1em;" cellspacing="0" cellpadding="3"
+
<onlyinclude><includeonly>{| style="float:right; clear:right; width:300px; font-size:90%; text-align:left; margin:0 0 1em 1em;" cellspacing="0" cellpadding="3"
 
{{!}}- style="background:{{Rowbg}}"
 
{{!}}- style="background:{{Rowbg}}"
 
! colspan="2" style="font-size:110%; font-style:italic;" {{!}} {{#if: {{{title|}}} | {{{title}}} | {{PageName}}}}
 
! colspan="2" style="font-size:110%; font-style:italic;" {{!}} {{#if: {{{title|}}} | {{{title}}} | {{PageName}}}}

Revision as of 21:25, 25 January 2011


To use this template, type the following into a page:

{{Infobox
|title = Example Infobox
|image = [[File:*.png|300px]]
|imagecaption =
|rows =
@@ label1 = data1
@@ label2 = data2
@@ label3 = data3
@@ label4 = data4
}}

This template supports up to forty different, optional entries. It is backwards compatible for the syntaxes in Infobox 1.0 through 3.5, and it does not depend on a /Row template. However, it does require Template:!.

Example Infobox
300px
label1 data1
label2 data2
label3 data3
label4 data4