Template:Infobox2: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
Arbitrary width.
Self-closing td is invalid - https://en.wikipedia.org/wiki/Category:Pages_using_invalid_self-closed_HTML_tags
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="text-align: left; font-size: 88%; line-height: 1.5em; float: right; {{{bodystyle|}}}" valign="top"><!--
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; float: right; {{{bodystyle|}}}" valign="top"><!--
  Caption
  Caption
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}}
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}}
Line 15: Line 15:
-->{{#if:{{{image2|}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"> {{{image2}}} {{#if:{{{caption2|}}}|<br />
-->{{#if:{{{image2|}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"> {{{image2}}} {{#if:{{{caption2|}}}|<br />
<span style="{{{captionstyle|}}}">{{{caption2}}}</span> }}</td></tr>}}<tr>
<span style="{{{captionstyle|}}}">{{{caption2}}}</span> }}</td></tr>}}<tr>
   <td/>
   <td></td>
   <td/>
   <td></td>
   <td style="width: 1em;"/>
   <td style="width: 1em;"></td>
</tr>
</tr>
<!--
<!--

Latest revision as of 22:14, 22 November 2017