Template:Infobox: Difference between revisions
m>Bryan Derksen (I believe I have it this time.) |
m>Bryan Derksen (move v/d/e down to the bottom to account for alternate title styles. Also, this allows better centering.) |
||
Line 2: | Line 2: | ||
-->{{#if:{{{title|}}}|<caption style="font-size: large; {{{titlestyle|}}}">{{{title}}}</caption>}}<!-- Header | -->{{#if:{{{title|}}}|<caption style="font-size: large; {{{titlestyle|}}}">{{{title}}}</caption>}}<!-- Header | ||
-->{{#if:{{{above|}}}|<tr> | -->{{#if:{{{above|}}}|<tr> | ||
<td colspan="2" style="text-align:center; font-size: large; background:#ccf; {{{abovestyle|}}}" | <td colspan="2" style="text-align:center; font-size: large; background:#ccf; {{{abovestyle|}}}">{{{above}}}</td> | ||
</tr>}}<!-- Image | </tr>}}<!-- Image | ||
-->{{#if:{{{image|}}}|<tr> | -->{{#if:{{{image|}}}|<tr> | ||
Line 89: | Line 89: | ||
Below | Below | ||
-->{{#if:{{{below|}}}|<tr><td colspan="2" style="background:#ddf; text-align:center; font-size:small; font-style:italic; {{{belowstyle|}}}">{{{below|}}}</td></tr>}} | -->{{#if:{{{below|}}}|<tr><td colspan="2" style="background:#ddf; text-align:center; font-size:small; font-style:italic; {{{belowstyle|}}}">{{{below|}}}</td></tr>}} | ||
<tr> | |||
<td style="text-align:right;" colspan="2">{{Tnavbar|{{{name}}}}}</td> | |||
</tr> | |||
</table><noinclude> | </table><noinclude> | ||
{{pp-template|small=yes}} | {{pp-template|small=yes}} |