Template:Infobox ship: Difference between revisions

From WikiMD's Wellness Encyclopedia

No edit summary
Blanked the page
Tag: Blanking
 
Line 1: Line 1:
<table class="infobox ib-ship" style="width: 300px;">
{{#if:{{{display_title|}}}|{{#switch:{{{display_title}}}
| none    = <!-- do nothing -->
| ital    = {{italic title}}
| #default = {{DISPLAYTITLE:{{{display_title}}}}} }} }}


<tr>
  <th colspan="2" style="text-align: center; font-size: 125%; line-height: 1.6em; font-weight: bold;">
    {{#if:{{{infobox_caption|}}}|{{#switch:{{{infobox_caption}}}
      | yes  = {{PAGENAME}}
      | nodab = {{PAGENAMEBASE}}
      | #default = {{{infobox_caption|}}} }} }}
  </th>
</tr>
<tr>
  <td colspan="2" style="text-align: center;">
    {{#if:{{{image|{{{ship_image|}}}}}}|[[File:{{{image|{{{ship_image|}}}}}}|{{{ship_image_size|300px}}}|alt={{{image_alt|}}}]]}}
    {{#if:{{{caption|{{{ship_caption|}}}}}}|<div style="padding:0.3em 0 0 0;">{{{caption|{{{ship_caption}}}}}}</div>}}
  </td>
</tr>
<tr>
  <td colspan="2" style="text-align: center;">
    {{#if:{{{image2|}}}|[[File:{{{image2}}}|{{{image_size2|300px}}}|alt={{{image_alt2|}}}]]}}
    {{#if:{{{caption2|}}}|<div style="padding:0.3em 0 0 0;">{{{caption2}}}</div>}}
  </td>
</tr>
<tr>
  <td colspan="2" style="text-align: center;">
    {{#if:{{{image3|}}}|[[File:{{{image3}}}|{{{image_size3|300px}}}|alt={{{image_alt3|}}}]]}}
    {{#if:{{{caption3|}}}|<div style="padding:0.3em 0 0 0;">{{{caption3}}}</div>}}
  </td>
</tr>
<tr>
  <th colspan="2" style="background-color: #f2f2f2;">Class Information</th>
</tr>
<tr>
  <td>Class Name</td>
  <td>{{{name|}}}</td>
</tr>
<tr>
  <td>Builders</td>
  <td>{{{builders|}}}</td>
</tr>
<tr>
  <td>Operators</td>
  <td>{{{operators|}}}</td>
</tr>
<tr>
  <td>Cost</td>
  <td>{{{cost|}}}</td>
</tr>
<tr>
  <td>Total Ships Planned</td>
  <td>{{{total_ships_planned|}}}</td>
</tr>
<tr>
  <td>Total Ships Completed</td>
  <td>{{{total_ships_completed|}}}</td>
</tr>
<tr>
  <th colspan="2" style="background-color: #f2f2f2;">Career Information</th>
</tr>
<tr>
  <td>Ship Name</td>
  <td>{{{ship_name|}}}</td>
</tr>
<tr>
  <td>Flag</td>
  <td>{{{ship_flag|}}}</td>
</tr>
<tr>
  <td>Country</td>
  <td>{{{ship_country|}}}</td>
</tr>
<tr>
  <td>Builder</td>
  <td>{{{ship_builder|}}}</td>
</tr>
<tr>
  <td>Launched</td>
  <td>{{{ship_launched|}}}</td>
</tr>
<tr>
  <td>Status</td>
  <td>{{{ship_status|}}}</td>
</tr>
<tr>
  <th colspan="2" style="background-color: #f2f2f2;">Characteristics</th>
</tr>
<tr>
  <td>Type</td>
  <td>{{{ship_type|}}}</td>
</tr>
<tr>
  <td>Displacement</td>
  <td>{{{ship_displacement|}}}</td>
</tr>
<tr>
  <td>Length</td>
  <td>{{{ship_length|}}}</td>
</tr>
<tr>
  <td>Beam</td>
  <td>{{{ship_beam|}}}</td>
</tr>
<tr>
  <td>Draft</td>
  <td>{{{ship_draft|}}}</td>
</tr>
<tr>
  <td>Speed</td>
  <td>{{{ship_speed|}}}</td>
</tr>
<tr>
  <td>Range</td>
  <td>{{{ship_range|}}}</td>
</tr>
<tr>
  <th colspan="2" style="background-color: #f2f2f2;">Service Record</th>
</tr>
<tr>
  <td>Operations</td>
  <td>{{{operations|}}}</td>
</tr>
<tr>
  <td>Awards</td>
  <td>{{{awards|}}}</td>
</tr>
<tr>
  <td>Fate</td>
  <td>{{{ship_fate|}}}</td>
</tr>
</table>

Latest revision as of 20:10, 5 January 2025