This wiki is archived and useful information is being migrated to the main bzflag.org website

Difference between revisions of "Template:Infobox"

From BZFlagWiki
Jump to: navigation, search
(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

[create] Template-info.svg Template documentation