Jump to content

Template:Infobox: Difference between revisions

removing "bordered" class to make this more generally "default"
(add an if statement so that rows with labels but no data are hidden by default)
(removing "bordered" class to make this more generally "default")
Line 1: Line 1:
<table class="infobox bordered" style="width: 25em; text-align: left; font-size: 90%; {{{bodystyle|}}}">
<table class="infobox" style="width: 25em; text-align: left; font-size: 90%; {{{bodystyle|}}}">
<tr><!-- Header
<tr><!-- Header
--><td colspan="2" style="text-align:center; font-size: large; background:#ccf; {{{titlestyle|}}}"><span style="float:right; margin-right:1em;">{{Tnavbar| {{{name}}}|fontstyle={{{titlestyle|}}};border:none;|mini=1}}</span> {{{title}}}</td>
--><td colspan="2" style="text-align:center; font-size: large; background:#ccf; {{{titlestyle|}}}"><span style="float:right; margin-right:1em;">{{Tnavbar| {{{name}}}|fontstyle={{{titlestyle|}}};border:none;|mini=1}}</span> {{{title}}}</td>