Template:Infobox: Difference between revisions

    From Nonbinary Wiki
    m>RockMFR
    m (fix row 5 datastyle)
    m>TheDJ
    (headers -> infobox/row)
    Line 3: Line 3:
    -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
    -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
      Header
      Header
    -->{{#if:{{{above|}}}|<tr><th colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}}<!--
    -->{{#if:{{{above|}}}|{{Infobox/row
    |header={{{above|}}} |headerstyle=text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}
    |class={{{aboveclass|}}} |rowclass={{{aboverowclass|}}}
    }} }}<!--
      Subheader1
      Subheader1
    -->{{#if:{{{subheader|{{{subheader1|}}}}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader|{{{subheader1}}}}}}</td></tr>}}<!--
    -->{{#if:{{{subheader|}}}|{{Infobox/row
    |data={{{subheader|}}}     |datastyle={{{subheaderstyle|}}}
    |class={{{subheaderclass|}}}   |rowclass={{{subheaderrowclass1|}}}
    }} }}<!--
      Subheader2
      Subheader2
    -->{{#if:{{{subheader2|}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader2}}}</td></tr>}}<!--
    -->{{#if:{{{subheader2|}}}|{{Infobox/row
    |data={{{subheader2|}}}    |datastyle={{{subheaderstyle|}}}
    |class={{{subheaderclass|}}}   |rowclass={{{subheaderrowclass2|}}}
    }} }}<!--
      Image1
      Image1
    -->{{#if:{{{image|{{{image1|}}}}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}">{{{image|{{{image1}}}}}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|{{{caption1}}}}}}</span>}}</td></tr>}}<!--
    -->{{#if:{{{image|{{{image1|}}}}}}|{{Infobox/row
    |data={{{image|{{{image1}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|{{{caption1}}}}}}</span>}}     |datastyle={{{imagestyle|}}}
    |class={{{imageclass|}}}  |rowclass={{{imagerowclass1|}}}
    }} }}<!--
      Image2
      Image2
    -->{{#if:{{{image2|}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}">{{{image2}}}{{#if:{{{caption2|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption2}}}</span>}}</td></tr>}}<!--
    -->{{#if:{{{image2|}}}|{{Infobox/row
    |data={{{image2|}}}{{#if:{{{caption2|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption2|}}}</span>}}     |datastyle={{{imagestyle|}}}
    |class={{{imageclass|}}}  |rowclass={{{imagerowclass2|}}}
    }} }}<!--
    -->{{Infobox/row
    -->{{Infobox/row
      |header={{{header1|}}} |headerstyle={{{headerstyle|}}}
      |header={{{header1|}}} |headerstyle={{{headerstyle|}}}

    Revision as of 15:29, 4 December 2009

    Template:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/row

    Template:Pp-template

    Template documentation[create]