Anonymous

Template:Infobox: Difference between revisions

From Roses, Tulips, & Liberty
making the navbar optional, as discussed in talk. Defaults to off.
(add class parameters for title and above, since some vcard infoboxes out there use these for data)
(making the navbar optional, as discussed in talk. Defaults to off.)
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>}} }} }}<!--
Below
-->{{#if:{{{below|}}}|<tr><td colspan="2" style="background:#ddf; text-align:center; font-size:small; font-style:italic; {{{belowstyle|}}}">{{{below|}}}</td></tr>}}<!--
Tnavbar
<tr>
-->{{#if:{{{enablenav|}}}|<tr><td style="text-align:right;" colspan="2">{{Tnavbar|{{{name}}}}}</td></tr>}}
</tr>
</table><noinclude>
{{pp-template|small=yes}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.