Jump to content

Template:Infobox: Difference between revisions

making the navbar optional, as discussed in talk. Defaults to off.
m>Bryan Derksen
(add class parameters for title and above, since some vcard infoboxes out there use these for data)
m>Bryan Derksen
(making the navbar optional, as discussed in talk. Defaults to off.)
Line 88: Line 88:
-->{{#if:{{{header40|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header40|}}}</th></tr>| {{#if:{{{label40|}}}|{{#if:{{{data40|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label40|}}}</th><td class="{{{class40|}}}" style="{{{datastyle|}}}">{{{data40|}}}</td></tr>}}|  {{#if:{{{data40|}}}|<tr><td colspan="2" class="{{{class40|}}}" style="text-align:center; {{{datastyle|}}}">{{{data40|}}}</td></tr>}} }} }}<!--
-->{{#if:{{{header40|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header40|}}}</th></tr>| {{#if:{{{label40|}}}|{{#if:{{{data40|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label40|}}}</th><td class="{{{class40|}}}" style="{{{datastyle|}}}">{{{data40|}}}</td></tr>}}|  {{#if:{{{data40|}}}|<tr><td colspan="2" class="{{{class40|}}}" style="text-align:center; {{{datastyle|}}}">{{{data40|}}}</td></tr>}} }} }}<!--
  Below
  Below
-->{{#if:{{{below|}}}|<tr><td colspan="2" style="background:#ddf; text-align:center; font-size:small; font-style:italic; {{{belowstyle|}}}">{{{below|}}}</td></tr>}}
-->{{#if:{{{below|}}}|<tr><td colspan="2" style="background:#ddf; text-align:center; font-size:small; font-style:italic; {{{belowstyle|}}}">{{{below|}}}</td></tr>}}<!--
<tr>
Tnavbar
<td style="text-align:right;" colspan="2">{{Tnavbar|{{{name}}}}}</td>
-->{{#if:{{{enablenav|}}}|<tr><td style="text-align:right;" colspan="2">{{Tnavbar|{{{name}}}}}</td></tr>}}
</tr>
</table><noinclude>
</table><noinclude>
{{pp-template|small=yes}}
{{pp-template|small=yes}}
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.