Jump to content

Template:Basic Infobox: Difference between revisions

From The Final Nights
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<table class="infobox" style="width: 22em; border: 1px solid #a2a9b1; background-color: #f8f9fa; float: right; margin: 0 0 1em 1em; padding: 0.2em; border-collapse: collapse; color: black;">
<table class="infobox" style="width: 22em; border: 1px solid #a2a9b1; background-color: #f8f9fa; float: right; margin: 0 0 1em 1em; border-collapse: collapse; color: black; line-height: 1.5em;">
    
    
   <tr>
   <tr>
     <th colspan="2" style="font-size: 125%; font-weight: bold; padding: 0.4em; text-align: center; background-color: #cedff2; border-bottom: 1px solid #aaa;">
     <th colspan="2" style="font-size: 125%; font-weight: bold; padding: 0.5em; text-align: center; background-color: #cedff2; border: none; border-bottom: 1px solid #aaa;">
       {{{name|{{PAGENAME}}}}}
       {{{name|{{PAGENAME}}}}}
     </th>
     </th>
Line 10: Line 10:
   {{#if:{{{image|}}}|
   {{#if:{{{image|}}}|
   <tr>
   <tr>
     <td colspan="2" style="text-align:center; padding: 0.8em 0;">
     <td colspan="2" style="text-align:center; padding: 0.8em 0; border: none;">
       [[File:{{{image}}}|250px]]
       [[File:{{{image}}}|250px]]
       {{#if:{{{caption|}}}| <br/><small>{{{caption}}}</small> }}
       {{#if:{{{caption|}}}| <br/><small>{{{caption}}}</small> }}
     </td>
     </td>
   </tr>
   </tr>
   <tr><td colspan="2" style="border-top: 1px solid #aaa;"></td></tr>
   <tr><td colspan="2" style="border: none; border-top: 1px solid #aaa; height: 0;"></td></tr>
   }}
   }}


   {{#if:{{{occupation|}}}|
   {{#if:{{{occupation|}}}|
   <tr>
   <tr>
     <th scope="row" style="text-align: left; padding: 4px; width: 40%;">Occupation</th>
     <th scope="row" style="text-align: left; padding: 6px 10px; width: 40%; border: none; font-size: 90%;">Occupation</th>
     <td style="padding: 4px;">{{{occupation}}}</td>
     <td style="padding: 6px 10px; border: none; font-size: 90%;">{{{occupation}}}</td>
   </tr>
   </tr>
   }}
   }}
Line 27: Line 27:
   {{#if:{{{location|}}}|
   {{#if:{{{location|}}}|
   <tr>
   <tr>
     <th scope="row" style="text-align: left; padding: 4px;">Location</th>
     <th scope="row" style="text-align: left; padding: 6px 10px; border: none; font-size: 90%;">Location</th>
     <td style="padding: 4px;">{{{location}}}</td>
     <td style="padding: 6px 10px; border: none; font-size: 90%;">{{{location}}}</td>
   </tr>
   </tr>
   }}
   }}


  <tr><td colspan="2" style="border-top: 1px solid #aaa;"></td></tr>
   {{#if:{{{footnotes|}}}|
   {{#if:{{{footnotes|}}}|
  <tr><td colspan="2" style="border: none; border-top: 1px solid #aaa; height: 0;"></td></tr>
   <tr>
   <tr>
     <td colspan="2" style="font-size: 90%; text-align: center; padding: 4px;">
     <td colspan="2" style="font-size: 85%; text-align: center; padding: 8px; border: none; color: #555;">
       {{{footnotes}}}
       {{{footnotes}}}
     </td>
     </td>

Revision as of 17:39, 13 May 2026