7,522 bytes added
, 02:34, 9 October 2018
m<includeonly>{{#switch: {{{Hide header| }}}
| yes
| Yes =
| no
| No
| #default ={{#ifeq: {{{Hide header| }}}|title||
<tr>
<th colspan="2" {{WPMILHIST Infobox style|header_bar}}>History</th></tr>
}}<tr>
{{#if:{{{Ship country|}}}{{{Ship flag|}}}|
<th height="30" colspan="2" style="background-color:#B0C4DE;text-align:{{#if:{{{Ship flag|}}}|left|center}};padding-left:2px;vertical-align:middle;font-size:110%;">{{#if:{{{Ship flag|}}}|{{#invoke:WPSHIPS_utilities|infobox_ship_flag|{{{Ship flag}}}}}}}{{#if:{{{Ship country|}}}|<span style="padding-left:1em">{{{Ship country}}}</span>}}|{{#ifeq: {{{Hide header|}}}|title|<th height="30" colspan="2" style="background-color:#B0C4DE;"> </th>}}
</tr>}}}}<!-- below, displayed parameters must be in column 1 to render properly -->
{{#if:{{{Ship class|}}}|<tr style="vertical-align:top;"><td>Class and type:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship class|}}}}}</td></tr>
}}{{#if:{{{Ship name|}}}|<tr style="vertical-align:top;"><td>Name:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship name|}}}}}</td></tr>
}}{{#if:{{{Ship namesake|}}}|<tr style="vertical-align:top;"><td>Namesake:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship namesake|}}}}}</td></tr>
}}{{#if:{{{Ship owner|}}}|<tr style="vertical-align:top;"><td>Owner:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship owner|}}}}}</td></tr>
}}{{#if:{{{Ship operator|}}}|<tr style="vertical-align:top;"><td>Operator:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship operator|}}}}}</td></tr>
}}{{#if:{{{Ship registry|}}}|<tr style="vertical-align:top;"><td>Port of registry:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship registry|}}}}}</td></tr>
}}{{#if:{{{Ship route|}}}|<tr style="vertical-align:top;"><td>Route:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship route|}}}}}</td></tr>
}}{{#if:{{{Ship ordered|}}}|<tr style="vertical-align:top;"><td>Ordered:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship ordered|}}}}}</td></tr>
}}{{#if:{{{Ship awarded|}}}|<tr style="vertical-align:top;"><td>Awarded:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship awarded|}}}}}</td></tr>
}}{{#if:{{{Ship builder|}}}|<tr style="vertical-align:top;"><td>Builder:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship builder|}}}}}</td></tr>
}}{{#if:{{{Ship original cost|}}}|<tr style="vertical-align:top;"><td>Cost:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship original cost|}}}}}</td></tr>
}}{{#if:{{{Ship yard number|}}}|<tr style="vertical-align:top;"><td>Yard number:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship yard number|}}}}}</td></tr>
}}{{#if:{{{Ship way number|}}}|<tr style="vertical-align:top;"><td>Way number:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship way number|}}}}}</td></tr>
}}{{#if:{{{Ship laid down|}}}|<tr style="vertical-align:top;"><td>Laid down:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship laid down|}}}}}</td></tr>
}}{{#if:{{{Ship launched|}}}|<tr style="vertical-align:top;"><td>Launched:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship launched|}}}}}</td></tr>
}}{{#if:{{{Ship sponsor|}}}|<tr style="vertical-align:top;"><td>Sponsored by:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship sponsor|}}}}}</td></tr>
}}{{#if:{{{Ship christened|}}}|<tr style="vertical-align:top;"><td>Christened:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship christened|}}}}}</td></tr>
}}{{#if:{{{Ship completed|}}}|<tr style="vertical-align:top;"><td>Completed:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship completed|}}}}}</td></tr>
}}{{#if:{{{Ship acquired|}}}|<tr style="vertical-align:top;"><td>Acquired:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship acquired|}}}}}</td></tr>
}}{{#if:{{{Ship commissioned|}}}|<tr style="vertical-align:top;"><td>Commissioned:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship commissioned|}}}}}</td></tr>
}}{{#if:{{{Ship recommissioned|}}}|<tr style="vertical-align:top;"><td>Recommissioned:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship recommissioned|}}}}}</td></tr>
}}{{#if:{{{Ship decommissioned|}}}|<tr style="vertical-align:top;"><td>Decommissioned:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship decommissioned|}}}}}</td></tr>
}}{{#if:{{{Ship maiden voyage|}}}|<tr style="vertical-align:top;"><td>Maiden voyage:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship maiden voyage|}}}}}</td></tr>
}}{{#if:{{{Ship in service|}}}|<tr style="vertical-align:top;"><td>In service:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship in service|}}}}}</td></tr>
}}{{#if:{{{Ship out of service|}}}|<tr style="vertical-align:top;"><td>Out of service:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship out of service|}}}}}</td></tr>
}}{{#if:{{{Ship renamed|}}}|<tr style="vertical-align:top;"><td>Renamed:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship renamed|}}}}}</td></tr>
}}{{#if:{{{Ship reclassified|}}}|<tr style="vertical-align:top;"><td>Reclassified:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship reclassified|}}}}}</td></tr>
}}{{#if:{{{Ship refit|}}}|<tr style="vertical-align:top;"><td>Refit:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship refit|}}}}}</td></tr>
}}{{#if:{{{Ship struck|}}}|<tr style="vertical-align:top;"><td>Struck:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship struck|}}}}}</td></tr>
}}{{#if:{{{Ship reinstated|}}}|<tr style="vertical-align:top;"><td>Reinstated:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship reinstated|}}}}}</td></tr>
}}{{#if:{{{Ship homeport|}}}|<tr style="vertical-align:top;"><td>Homeport:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship homeport|}}}}}</td></tr>
}}{{#if:{{{Ship identification|}}}|<tr style="vertical-align:top;"><td>Identification:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship identification|}}}}}</td></tr>
}}{{#if:{{{Ship motto|}}}|<tr style="vertical-align:top;"><td>Motto:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship motto|}}}}}</td></tr>
}}{{#if:{{{Ship nickname|}}}|<tr style="vertical-align:top;"><td>Nickname(s):</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship nickname|}}}}}</td></tr>
}}{{#if:{{{Ship honours|}}}|<tr style="vertical-align:top;"><td>Honours and<br />awards:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship honours|}}}}}</td></tr>
}}{{#if:{{{Ship honors|}}}|<tr style="vertical-align:top;"><td>Honors and<br />awards:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship honors|}}}}}</td></tr>
}}{{#if:{{{Ship captured|}}}|<tr style="vertical-align:top;"><td>Captured:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship captured|}}}}}</td></tr>
}}{{#if:{{{Ship fate|}}}|<tr style="vertical-align:top;"><td>Fate:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship fate|}}}}}</td></tr>
}}{{#if:{{{Ship status|}}}|<tr style="vertical-align:top;"><td>Status:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship status|}}}}}</td></tr>
}}{{#if:{{{Ship notes|}}}|<tr style="vertical-align:top;"><td>Notes:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship notes|}}}}}</td></tr>
}}{{#if:{{{Ship badge|}}}|<tr style="vertical-align:top;"><td>Badge:</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship badge|}}}}}</td></tr>
}}</includeonly><noinclude>{{Documentation}}</noinclude>