Template:Infobox: Difference between revisions

122 bytes added ,  13 years ago
Add option to embed this infobox into another infobox (should not cause any problems with current transclusions), please revert if controversial. Thanks!
(trying the mini version of the navbar per discussion, revert at will)
(Add option to embed this infobox into another infobox (should not cause any problems with current transclusions), please revert if controversial. Thanks!)
Line 1:
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; text-align:left; font-size:88%; line-height:1.5em; {{{bodystyle|}}}"><!--
Caption
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
Line 6:
|header={{{above}}} |headerstyle=text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}
|class={{{aboveclass|}}} |rowclass={{{aboverowclass|}}}
}} }} }}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!--
}} }}<!--
Subheader1
-->{{#if:{{{subheader|}}}|{{Infobox/row
Line 431:
Navbar
-->{{#if:{{{name|}}}|<tr><td colspan="2" style="text-align:right">{{navbar|{{{name}}}|mini=1}}</td></tr>}}
{{#ifeq:{{{child|}}}|yes||</table>}}<noinclude>
{{documentation}}
</noinclude>
Anonymous user