Template:Infobox/row: Difference between revisions
Jump to navigation
Jump to search
imported>Caesar Schinas (Fixed... (Chris; you broke the header display so it showed TDs instead of TRs. I have reverted to my original but re-added the comments which you just added.)) |
imported>Caesar Schinas (Oops, seemed to break something else. reverting to my original 'till I can wor out what I did wrong.) |
||
Line 1: | Line 1: | ||
{{#ifeq:{{{data|}}}|---| | {{#ifeq:{{{data|}}}|---| | ||
! colspan="2" style="text-align:center; font-weight:bold; {{{labelstyle|}}}" {{!}} {{{label}}} | ! colspan="2" style="text-align:center; font-weight:bold; {{{labelstyle|}}}" {{!}} {{{label}}} | ||
|<!-- | |<!--else--> | ||
{{#if:{{{data|}}}| | {{#if:{{{data|}}}| | ||
{{#if:{{{label|}}}| | {{#if:{{{label|}}}| | ||
! {{#if:{{{labelstyle|}}} | style="{{{labelstyle}}}" {{!}} }} {{{label}}} | ! {{#if:{{{labelstyle|}}} | style="{{{labelstyle}}}" {{!}} }} {{{label}}} | ||
{{!}} {{#if:{{{datastyle|}}} | style="{{{datastyle}}}" {{!}} }} {{{data}}} | {{!}} {{#if:{{{datastyle|}}} | style="{{{datastyle}}}" {{!}} }} {{{data}}} | ||
|<!-- | |<!--else--> | ||
{{!}} colspan="2" {{#if:{{{datastyle|}}} | style="{{{datastyle}}}" {{!}} }} {{{data}}} | {{!}} colspan="2" {{#if:{{{datastyle|}}} | style="{{{datastyle}}}" {{!}} }} {{{data}}} | ||
}} | }} | ||
}} | }} | ||
}} | }} |