Template:Resource badge: Difference between revisions

change vertical style so image alongside text
(add {{{float}}} for both horizontal and vertical options)
(change vertical style so image alongside text)
Line 9: Line 9:
<table cellspacing="0" style="width:{{{width-v|146}}}px; margin-bottom: 0px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};" ><tr>
<table cellspacing="0" style="width:{{{width-v|146}}}px; margin-bottom: 0px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};" ><tr>
{{#if:{{{logo|{{{3|{{{id|id}}}}}}}}}|
{{#if:{{{logo|{{{3|{{{id|id}}}}}}}}}|
<th style="width:{{{logo-width|{{{id-w|45}}}}}}px; height:{{{logo-height|{{{id-h|45}}}}}}px; background:{{{logo-background|{{{1|{{{id-c|#DDD}}}}}}}}}; text-align:center; font-size:{{{logo-size|{{{5|{{{id-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id-fc|black}}}}}}; padding:{{{logo-padding|{{{id-p|1px}}}}}}; line-height:{{{logo-line-height|{{{id-lh|1em}}}}}}; vertical-align: middle; {{{logo-other-param|{{{id-op|}}}}}}" > {{{logo|{{{3|{{{id|id}}}}}}}}}</th></tr>
<th style="width:{{{logo-width|{{{id-w|45}}}}}}px; height:{{{logo-height|{{{id-h|45}}}}}}px; background:{{{logo-background|{{{1|{{{id-c|#DDD}}}}}}}}}; text-align:center; font-size:{{{logo-size|{{{5|{{{id-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id-fc|black}}}}}}; padding:{{{logo-padding|{{{id-p|1px}}}}}}; line-height:{{{logo-line-height|{{{id-lh|1em}}}}}}; vertical-align: middle; {{{logo-other-param|{{{id-op|}}}}}}" > {{{logo|{{{3|{{{id|id}}}}}}}}}</th>
}}
}}
<tr><td style="text-align:center; font-size:{{{info-size|{{{info-s|8}}}}}}pt; padding:{{{info-padding|{{{info-p|2px}}}}}}; height:{{{logo-height|{{{id-h|45}}}}}}px; line-height:{{{info-line-height|{{{info-lh|1.25em}}}}}}; color:{{{info-color|{{{info-fc|black}}}}}}; vertical-align: middle; {{{info-other-param|{{{info-op|}}}}}}" >{{{info|{{{4|{{{info|''info''}}}}}}}}}</td></tr></table></div>
<td style="text-align:left; font-size:{{{info-size|{{{info-s|8}}}}}}pt; padding:{{{info-padding|{{{info-p|2px}}}}}}; height:{{{logo-height|{{{id-h|45}}}}}}px; line-height:{{{info-line-height|{{{info-lh|1.25em}}}}}}; color:{{{info-color|{{{info-fc|black}}}}}}; vertical-align: middle; {{{info-other-param|{{{info-op|}}}}}}" >{{{info|{{{4|{{{info|''info''}}}}}}}}}</td></tr></table></div>
}}
}}
{{#if:{{{category|}}}{{{category2|}}}{{{category3|}}}|{{cat handler
{{#if:{{{category|}}}{{{category2|}}}{{{category3|}}}|{{cat handler
90,866

edits