Jump to content

Template:Infobox: Difference between revisions

m
regrettably for IE and Dillo it is simply not possible to hide a parameter if undefined (only if empty)
m (fix for IE)
m (regrettably for IE and Dillo it is simply not possible to hide a parameter if undefined (only if empty))
Line 6: Line 6:
| '''Data 1:'''
| '''Data 1:'''
| {{{data 1}}}
| {{{data 1}}}
|- class="hiddenStructure{{{data 2}}}" style="vertical-align:top;"
|- style="vertical-align:top;"
| '''Data 2 (hidden if empty):'''
| '''Data 2:'''
| {{{data 2}}}
| {{{data 2}}}
|- style="display:none" style{{Var1|1=|1{{{data 3}}}=X}}="display:table-row; vertical-align:top;"
|- class="hiddenStructure{{{data 3}}}" style="vertical-align:top;"
| '''Data 3 (hidden if empty or even undefined):'''
| '''Data 3 (hidden if empty):'''
| {{{data 3}}}
| {{{data 3}}}
|- style="vertical-align:top;"
| '''Data 4:'''
| {{{data 4}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
| colspan="2" style="font-size:smaller;" | {{footnote}}
| colspan="2" style="font-size:smaller;" | {{footnote}}
Line 27: Line 24:
| '''Data 1:'''
| '''Data 1:'''
| {{{data 1}}}
| {{{data 1}}}
|- class="hiddenStructure{{{data 2}}}" style="vertical-align:top;"
|- style="vertical-align:top;"
| '''Data 2 (hidden if empty):'''
| '''Data 2:'''
| {{{data 2}}}
| {{{data 2}}}
|- style="display:none" style{{Var1|1=|1{{{data 3}}}=X}}="display:table-row; vertical-align:top;"
|- class="hiddenStructure{{{data 3}}}" style="vertical-align:top;"
| '''Data 3 (hidden if empty or even undefined):'''
| '''Data 3 (hidden if empty):'''
| {{{data 3}}}
| {{{data 3}}}
|- style="vertical-align:top;"
| '''Data 4:'''
| {{{data 4}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
| colspan="2" style="font-size:smaller;" | {{footnote}}
| colspan="2" style="font-size:smaller;" | {{footnote}}
|}
|}
</pre>
</pre>