Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Infobox"

(minor code edit)
Line 1: Line 1:
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"><!--
+
<table border=0 cellspacing=18 style="float:right; valign=top;" ><tr><td><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: 125%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}}
 
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}}
Line 171: Line 171:
 
-->{{#if:{{{header80|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header80|}}}</th></tr>| {{#if:{{{label80|}}}|{{#if:{{{data80|}}}|<tr><th style="{{{labelstyle|}}}">{{{label80|}}}</th><td class="{{{class80|}}}" style="{{{datastyle|}}}">{{{data80|}}}</td></tr>}}|  {{#if:{{{data80|}}}|<tr><td colspan="2" class="{{{class80|}}}" style="text-align:center; {{{datastyle|}}}">{{{data80|}}}</td></tr>}} }} }}<!--
 
-->{{#if:{{{header80|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header80|}}}</th></tr>| {{#if:{{{label80|}}}|{{#if:{{{data80|}}}|<tr><th style="{{{labelstyle|}}}">{{{label80|}}}</th><td class="{{{class80|}}}" style="{{{datastyle|}}}">{{{data80|}}}</td></tr>}}|  {{#if:{{{data80|}}}|<tr><td colspan="2" class="{{{class80|}}}" style="text-align:center; {{{datastyle|}}}">{{{data80|}}}</td></tr>}} }} }}<!--
 
  Below
 
  Below
-->{{#if:{{{below|}}}|<tr><td colspan="2" style="text-align:center; {{{belowstyle|}}}">{{{below|}}}</td></tr>}}<!--
+
-->{{#if:{{{below|}}}|<tr><td colspan="2" style="text-align:center; {{{belowstyle|}}}">{{{below|}}}</td></tr>}}
Tnavbar
+
-->{{#if:{{{name|}}}|<tr><td style="text-align:right;" colspan="2">{{Tnavbar|{{{name}}}|noedit={{{noedit|0}}}}}</td></tr>}}
+
 
</table><noinclude>
 
</table><noinclude>
 
{{pp-template|small=yes}}
 
{{pp-template|small=yes}}
Line 180: Line 178:
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>
 +
</td></tr></table>

Revision as of 22:09, 7 May 2009

[edit] [purge] 50px Template documentation

(edit)