Template:Infobox Story: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="infobox" style="width: 250px; font-size: 90%; text-align: left; border: 1px solid #aaa; background-color: #f9f9f9; float: right; clear: right;">
{{Infobox_Meta
|title={{{title|{{PAGENAME}}}}}
|image={{{image|}}}
}}<div class="infobox-wrapper">
<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: 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 10: 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: 80px; 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;">{{{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: 80px; 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;">{{{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: 80px; 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;">{{{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: 80px; 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;">{{{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: 80px; 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;">{{{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: 80px; 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;">{{{status}}}</td>
     </tr>
     </tr>
   }}
   }}
</table>
</table>
{{Infobox_Meta
</div>
|title={{{title|{{PAGENAME}}}}}
|image={{{image|}}}
}}
<noinclude>
<noinclude>
{{Infobox_Story/doc}}
{{Infobox_Story/doc}}

Navigation menu