Template:Infobox: Difference between revisions

SnazzySun (talk | contribs)
No edit summary
SnazzySun (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


<div class="infobox" style="float:right; min-width: 22em; max-width: {{{maxwidth|280px}}}; font-size: 88%; line-height: 1.5em; margin: 5px; text-align: left; border: 1px solid #aaa; background-color: #f9f9f9;">
<div class="infobox" style="float:right; min-width: 22em; max-width: {{{maxwidth|280px}}}; font-size: 88%; line-height: 1.5em; margin: 5px; text-align: left; border: 1px solid #aaa; background-color: #f9f9f9;">
    <div style="font-size: 110%; font-weight: bold; background-color: #ccc; text-align: center; padding: 5px 0;">{{{infoboxHeader|{{PAGENAME}}}}}</div>
  <div style="font-size: 110%; font-weight: bold; background-color: #ccc; text-align: center; padding: 5px 0;">{{{infoboxHeader|{{PAGENAME}}}}}</div>
     <div style="margin: 0 5px 5px;>
     <div style="margin: 0 5px 5px;>
         {{#if: {{{image|}}} |
         {{#if: {{{image|}}} |
Line 15: Line 15:
         <div style="{{#if: {{{DOB|}}} | | display: none; }}">
         <div style="{{#if: {{{DOB|}}} | | display: none; }}">
             <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>DOB</b>: {{{DOB}}}</div>
             <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>DOB</b>: {{{DOB}}}</div>
        </div>
        <div style="{{#if: {{{Birthplace|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Birthplace</b>: {{{Birthplace}}}</div>
         </div>
         </div>
         <div style="{{#if: {{{Gender|}}} | | display: none; }}">
         <div style="{{#if: {{{Gender|}}} | | display: none; }}">