Template:Infobox Story: Difference between revisions

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