Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Infobox"

(I believe I have it this time.)
(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|}}}"><span style="float:right; margin-right:1em;">{{Tnavbar| {{{name}}}|fontstyle={{{abovestyle|}}};font-size:xx-small;border:none;|mini=1}}</span>{{{above}}}</td>
+
<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}}

Revision as of 19:52, 7 March 2008

[edit] [purge] 50px Template documentation

(edit)