Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Infobox"

(changing font size to 88%, as discussed in talk)
(further font fixes, default width)
Line 1: Line 1:
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:25em; text-align: left; font-size: 88%; {{{bodystyle|}}}"><!--
+
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"><!--
 
  Caption
 
  Caption
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 130%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}}
+
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 120%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}}
 
<!--
 
<!--
 
  Header
 
  Header
-->{{#if:{{{above|}}}|<tr><td colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: 130%; font-weight: bold; {{{abovestyle|}}}">{{{above}}}</td></tr>}}<!--
+
-->{{#if:{{{above|}}}|<tr><td colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: 120%; font-weight: bold; {{{abovestyle|}}}">{{{above}}}</td></tr>}}<!--
 
  Image
 
  Image
 
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center; {{{imagestyle|}}}"> {{{image}}} {{#if:{{{caption|}}}|<br />
 
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center; {{{imagestyle|}}}"> {{{image}}} {{#if:{{{caption|}}}|<br />

Revision as of 14:31, 19 April 2008

[edit] [purge] 50px Template documentation

(edit)