Template:Infobox Story: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 2: Line 2:
|title={{{title|{{PAGENAME}}}}}
|title={{{title|{{PAGENAME}}}}}
|image={{{image|}}}
|image={{{image|}}}
}}<div class="infobox-wrapper" style="float: right; clear: right; margin: 0 0 1em 1em; width: 300px;">
}}<div class="infobox-wrapper">
<table class="infobox" style="width: 100%; font-size: 90%; text-align: left; border: 1px solid #aaa; background-color: #f9f9f9; border-collapse: collapse;">
<table class="infobox" style="width: 300px; font-size: 90%; text-align: left; border: 1px solid #aaa; background-color: #f9f9f9; float: right; clear: right; margin: 0 0 1em 1em; border-collapse: collapse;">
   <tr>
   <tr>
     <th colspan="2" style="text-align: center; background-color: #ccccff; padding: 8px; border-bottom: 1px solid #aaa; font-weight: bold;">{{{title|{{PAGENAME}}}}}</th>
     <th colspan="2" style="text-align: center; background-color: #ccccff; padding: 8px; border-bottom: 1px solid #aaa; font-weight: bold;">{{{title|{{PAGENAME}}}}}</th>
Line 19: Line 19:
   {{#if:{{{year|}}}|
   {{#if:{{{year|}}}|
     <tr>
     <tr>
       <th style="width: 30%; padding: 6px 8px; border-bottom: 1px solid #eee; vertical-align: top; background-color: #f5f5f5; font-weight: bold;">Tahun</th>
       <th style="width: 80px; padding: 6px 8px; border-bottom: 1px solid #eee; vertical-align: top; background-color: #f5f5f5; font-weight: bold;">Tahun</th>
       <td style="padding: 6px 8px; border-bottom: 1px solid #eee; width: 70%;">{{{year}}}</td>
       <td style="padding: 6px 8px; border-bottom: 1px solid #eee;">{{{year}}}</td>
     </tr>
     </tr>
   }}
   }}
   {{#if:{{{setting|}}}|
   {{#if:{{{setting|}}}|
     <tr>
     <tr>
       <th style="width: 30%; padding: 6px 8px; border-bottom: 1px solid #eee; vertical-align: top; background-color: #f5f5f5; font-weight: bold;">Latar</th>
       <th style="width: 80px; padding: 6px 8px; border-bottom: 1px solid #eee; vertical-align: top; background-color: #f5f5f5; font-weight: bold;">Latar</th>
       <td style="padding: 6px 8px; border-bottom: 1px solid #eee; width: 70%;">{{{setting}}}</td>
       <td style="padding: 6px 8px; border-bottom: 1px solid #eee;">{{{setting}}}</td>
     </tr>
     </tr>
   }}
   }}
   {{#if:{{{theme|}}}|
   {{#if:{{{theme|}}}|
     <tr>
     <tr>
       <th style="width: 30%; padding: 6px 8px; border-bottom: 1px solid #eee; vertical-align: top; background-color: #f5f5f5; font-weight: bold;">Tema</th>
       <th style="width: 80px; padding: 6px 8px; border-bottom: 1px solid #eee; vertical-align: top; background-color: #f5f5f5; font-weight: bold;">Tema</th>
       <td style="padding: 6px 8px; border-bottom: 1px solid #eee; width: 70%;">{{{theme}}}</td>
       <td style="padding: 6px 8px; border-bottom: 1px solid #eee;">{{{theme}}}</td>
     </tr>
     </tr>
   }}
   }}
   {{#if:{{{mainship|}}}|
   {{#if:{{{mainship|}}}|
     <tr>
     <tr>
       <th style="width: 30%; padding: 6px 8px; border-bottom: 1px solid #eee; vertical-align: top; background-color: #f5f5f5; font-weight: bold;">Kapal</th>
       <th style="width: 80px; padding: 6px 8px; border-bottom: 1px solid #eee; vertical-align: top; background-color: #f5f5f5; font-weight: bold;">Kapal</th>
       <td style="padding: 6px 8px; border-bottom: 1px solid #eee; width: 70%;">{{{mainship}}}</td>
       <td style="padding: 6px 8px; border-bottom: 1px solid #eee;">{{{mainship}}}</td>
     </tr>
     </tr>
   }}
   }}
   {{#if:{{{population|}}}|
   {{#if:{{{population|}}}|
     <tr>
     <tr>
       <th style="width: 30%; padding: 6px 8px; border-bottom: 1px solid #eee; vertical-align: top; background-color: #f5f5f5; font-weight: bold;">Populasi</th>
       <th style="width: 80px; padding: 6px 8px; border-bottom: 1px solid #eee; vertical-align: top; background-color: #f5f5f5; font-weight: bold;">Populasi</th>
       <td style="padding: 6px 8px; border-bottom: 1px solid #eee; width: 70%;">{{{population}}}</td>
       <td style="padding: 6px 8px; border-bottom: 1px solid #eee;">{{{population}}}</td>
     </tr>
     </tr>
   }}
   }}
   {{#if:{{{status|}}}|
   {{#if:{{{status|}}}|
     <tr>
     <tr>
       <th style="width: 30%; padding: 6px 8px; vertical-align: top; background-color: #f5f5f5; font-weight: bold;">Status</th>
       <th style="width: 80px; padding: 6px 8px; vertical-align: top; background-color: #f5f5f5; font-weight: bold;">Status</th>
       <td style="padding: 6px 8px; width: 70%;">{{{status}}}</td>
       <td style="padding: 6px 8px;">{{{status}}}</td>
     </tr>
     </tr>
   }}
   }}