FANDOM


Places a standard 'info box' for detailing a specific item on a wiki page.

Currently handles up to 10 rows... eventually should handle up to 30.

Notes
  • Looks like inline styles don't work. Frowney


{{Infobox/Draft
|name=Name of infobox
|image=Noimage.jpg
|labelstyle=background-color:#057;
|header1=First header
|label2=First label (label2)
|data2=First data (data2)
|header3=Third header (header3)
|dataonly3=Third data (dataonly3)
}}



Template

There is a problem with parsing the infobox

  • 0
    <!--
  • 1
    Caption (may not work with new portable infoboxes code)
  • 2
    -->
  • 3
    <!----><header class="{{{topcaptionclass|}}}" style="font-size:1.2em; font-weight:bold; text-align:center; width:{{{width|}}}; {{{topcaptionstyle|}}}">{{{topcaption|}}}</header><!--
  • 4
    Title/name of infobox
  • 5
    --><!--
  • 6
    --><title source="name" style="font-size:5em; font-weight:bold; {{{titlestyle|}}}"><format><center>{{{name}}}</center></format><default><center>{{PAGENAME}}</center></default></title>
  • 7
    <!--
  • 8
    Above header
  • 9
    --><header style="text-align:center; font-size:1.25em; font-weight:bold; padding:5px; {{{abovestyle|}}}">{{{above}}}</header>
  • 10
    <!-- Image
  • 11
    --><image source="image" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}">{{#if:{{{caption|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption}}}</span></image>
  • 12
    <!--
  • 13
  • 14
    Header/Label/Data group #1
  • 15
    Show only Header1
  • 16
    --><header style="text-align:center; {{{headerstyle|}}}">{{{header1|}}}</header><!--
  • 17
    or show Label1/Dataonly1
  • 18
    --><data source="data1" class="{{{class1|}}}" style="{{{datastyle|}}}"><label><format style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label1|}}}</format></label></data><!--

    Opening and ending tag mismatch

    Incorrect XML markup. Please validate your XML

    Incorrect XML markup. Please validate your XML

  • 19
    or show just Data1
  • 20
    --><data source="dataonly1" class="{{{class1|}}}" style="text-align:center; {{{datastyle|}}}" />
  • 21
    <!--
  • 22
  • 23
    Header/Label/Data group #2
  • 24
    Show only Header2
  • 25
    --><header style="text-align:center; {{{headerstyle|}}}">{{{header2|}}}</header><!--
  • 26
    or show Label2/Data2
  • 27
    --><data source="data2" class="{{{class2|}}}" style="{{{datastyle|}}}"><label style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label2|}}}</label></data><!--
  • 28
    or show just Dataonly2
  • 29
    --><data source="dataonly2" class="{{{class2|}}}" style="text-align:center; {{{datastyle|}}}" />
  • 30
    <!--
  • 31
  • 32
    Header/Label/Data group #3
  • 33
    Show only Header3
  • 34
    --><header style="text-align:center; {{{headerstyle|}}}">{{{header3|}}}</header><!--
  • 35
    or show Label3/Data3
  • 36
    --><data source="data3" class="{{{class3|}}}" style="{{{datastyle|}}}"><label style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label3|}}}</label></data><!--
  • 37
    or show just Dataonly3
  • 38
    --><data source="dataonly3" class="{{{class3|}}}" style="text-align:center; {{{datastyle|}}}" />
  • 39
    <!--
  • 40
  • 41
    Header/Label/Data group #4
  • 42
    Show only Header4
  • 43
    --><header style="text-align:center; {{{headerstyle|}}}">{{{header4|}}}</header><!--
  • 44
    or show Label4/Data4
  • 45
    --><data source="data4" class="{{{class4|}}}" style="{{{datastyle|}}}"><label style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label4|}}}</label></data><!--
  • 46
    or show just Dataonly4
  • 47
    --><data source="dataonly4" class="{{{class4|}}}" style="text-align:center; {{{datastyle|}}}" />
  • 48
    <!--
  • 49
  • 50
    Header/Label/Data group #5
  • 51
    Show only Header5
  • 52
    --><header style="text-align:center; {{{headerstyle|}}}">{{{header5|}}}</header><!--
  • 53
    or show Label5/Data5
  • 54
    --><data source="data5" class="{{{class5|}}}" style="{{{datastyle|}}}"><label style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label5|}}}</label></data><!--
  • 55
    or show just Dataonly5
  • 56
    --><data source="dataonly5" class="{{{class5|}}}" style="text-align:center; {{{datastyle|}}}" />
  • 57
    <!--
  • 58
  • 59
    Header/Label/Data group #6
  • 60
    Show only Header6
  • 61
    --><header style="text-align:center; {{{headerstyle|}}}">{{{header6|}}}</header><!--
  • 62
    or show Label6/Data6
  • 63
    --><data source="data6" class="{{{class6|}}}" style="{{{datastyle|}}}"><label style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label6|}}}</label></data><!--
  • 64
    or show just Dataonly6
  • 65
    --><data source="dataonly6" class="{{{class6|}}}" style="text-align:center; {{{datastyle|}}}" />
  • 66
    <!--
  • 67
  • 68
    Header/Label/Data group #7
  • 69
    Show only Header7
  • 70
    --><header style="text-align:center; {{{headerstyle|}}}">{{{header7|}}}</header><!--
  • 71
    or show Label7/Data7
  • 72
    --><data source="data7" class="{{{class7|}}}" style="{{{datastyle|}}}"><label style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label7|}}}</label></data><!--
  • 73
    or show just Dataonly7
  • 74
    --><data source="dataonly7" class="{{{class7|}}}" style="text-align:center; {{{datastyle|}}}" />
  • 75
    <!--
  • 76
  • 77
    Header/Label/Data group #8
  • 78
    Show only Header8
  • 79
    --><header style="text-align:center; {{{headerstyle|}}}">{{{header8|}}}</header><!--
  • 80
    or show Label8/Data8
  • 81
    --><data source="data8" class="{{{class8|}}}" style="{{{datastyle|}}}"><label style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label8|}}}</label></data><!--
  • 82
    or show just Dataonly8
  • 83
    --><data source="dataonly8" class="{{{class8|}}}" style="text-align:center; {{{datastyle|}}}" />
  • 84
    <!--
  • 85
  • 86
    Header/Label/Data group #9
  • 87
    Show only Header9
  • 88
    --><header style="text-align:center; {{{headerstyle|}}}">{{{header9|}}}</header><!--
  • 89
    or show Label9/Data9
  • 90
    --><data source="data9" class="{{{class9|}}}" style="{{{datastyle|}}}"><label style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label9|}}}</label></data><!--
  • 91
    or show just Dataonly9
  • 92
    --><data source="dataonly9" class="{{{class9|}}}" style="text-align:center; {{{datastyle|}}}" />
  • 93
    <!--
  • 94
  • 95
    Header/Label/Data group #10
  • 96
    Show only Header10
  • 97
    --><header style="text-align:center; {{{headerstyle|}}}">{{{header10|}}}</header><!--
  • 98
    or show Label10/Data10
  • 99
    --><data source="data10" class="{{{class10|}}}" style="{{{datastyle|}}}"><label style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label10|}}}</label></data><!--
  • 100
    or show just Dataonly10
  • 101
    --><data source="dataonly2" class="{{{class10|}}}" style="text-align:center; {{{datastyle|}}}" />
  • 102
    <!--
  • 103
  • 104
    Below
  • 105
    --><header style="text-align:center; {{{belowstyle|}}}">{{{below|}}}</header>
  • 106
    <!-- Tnavbar
  • 107
    --><navigation>{{#if:{{{navbar|}}}|<div style="text-align:right;">{{Tnavbar|{{{name|}}}}}</div>}}</navigation>
  • 108
    <!--
  • 109
    -->
Community content is available under CC-BY-SA unless otherwise noted.