Template:Infobox ship career: Difference between revisions
Jump to navigation
Jump to search
(Update header control;) |
Philimania (talk | contribs) mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 11: | Line 11: | ||
<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>}} | <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 --> | </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> | {{#if:{{{Ship class|}}}|<tr style="vertical-align:top;"><td>'''Class and type:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship class|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship class|}}}}}</td></tr> | ||
}}{{#if:{{{Ship name|}}}|<tr style="vertical-align:top;"><td>Name:</td><td> | }}{{#if:{{{Ship name|}}}|<tr style="vertical-align:top;"><td>'''Name:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship name|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship name|}}}}}</td></tr> | ||
}}{{#if:{{{Ship namesake|}}}|<tr style="vertical-align:top;"><td>Namesake:</td><td> | }}{{#if:{{{Ship namesake|}}}|<tr style="vertical-align:top;"><td>'''Namesake:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship namesake|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship namesake|}}}}}</td></tr> | ||
}}{{#if:{{{Ship owner|}}}|<tr style="vertical-align:top;"><td>Owner:</td><td> | }}{{#if:{{{Ship owner|}}}|<tr style="vertical-align:top;"><td>'''Owner:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship owner|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship owner|}}}}}</td></tr> | ||
}}{{#if:{{{Ship operator|}}}|<tr style="vertical-align:top;"><td>Operator:</td><td> | }}{{#if:{{{Ship operator|}}}|<tr style="vertical-align:top;"><td>'''Operator:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship operator|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship operator|}}}}}</td></tr> | ||
}}{{#if:{{{Ship registry|}}}|<tr style="vertical-align:top;"><td>Port of registry:</td><td> | }}{{#if:{{{Ship registry|}}}|<tr style="vertical-align:top;"><td>'''Port of registry:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship registry|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship registry|}}}}}</td></tr> | ||
}}{{#if:{{{Ship route|}}}|<tr style="vertical-align:top;"><td>Route:</td><td> | }}{{#if:{{{Ship route|}}}|<tr style="vertical-align:top;"><td>'''Route:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship route|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship route|}}}}}</td></tr> | ||
}}{{#if:{{{Ship ordered|}}}|<tr style="vertical-align:top;"><td>Ordered:</td><td> | }}{{#if:{{{Ship ordered|}}}|<tr style="vertical-align:top;"><td>'''Ordered:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship ordered|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship ordered|}}}}}</td></tr> | ||
}}{{#if:{{{Ship awarded|}}}|<tr style="vertical-align:top;"><td>Awarded:</td><td> | }}{{#if:{{{Ship awarded|}}}|<tr style="vertical-align:top;"><td>'''Awarded:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship awarded|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship awarded|}}}}}</td></tr> | ||
}}{{#if:{{{Ship builder|}}}|<tr style="vertical-align:top;"><td>Builder:</td><td> | }}{{#if:{{{Ship builder|}}}|<tr style="vertical-align:top;"><td>'''Builder:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship builder|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship builder|}}}}}</td></tr> | ||
}}{{#if:{{{Ship original cost|}}}|<tr style="vertical-align:top;"><td>Cost:</td><td> | }}{{#if:{{{Ship original cost|}}}|<tr style="vertical-align:top;"><td>'''Cost:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship original cost|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship original cost|}}}}}</td></tr> | ||
}}{{#if:{{{Ship yard number|}}}|<tr style="vertical-align:top;"><td>Yard number:</td><td> | }}{{#if:{{{Ship yard number|}}}|<tr style="vertical-align:top;"><td>'''Yard number:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship yard number|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship yard number|}}}}}</td></tr> | ||
}}{{#if:{{{Ship way number|}}}|<tr style="vertical-align:top;"><td>Way number:</td><td> | }}{{#if:{{{Ship way number|}}}|<tr style="vertical-align:top;"><td>'''Way number:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship way number|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship way number|}}}}}</td></tr> | ||
}}{{#if:{{{Ship laid down|}}}|<tr style="vertical-align:top;"><td>Laid down:</td><td> | }}{{#if:{{{Ship laid down|}}}|<tr style="vertical-align:top;"><td>'''Laid down:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship laid down|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship laid down|}}}}}</td></tr> | ||
}}{{#if:{{{Ship launched|}}}|<tr style="vertical-align:top;"><td>Launched:</td><td> | }}{{#if:{{{Ship launched|}}}|<tr style="vertical-align:top;"><td>'''Launched:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship launched|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship launched|}}}}}</td></tr> | ||
}}{{#if:{{{Ship sponsor|}}}|<tr style="vertical-align:top;"><td>Sponsored by:</td><td> | }}{{#if:{{{Ship sponsor|}}}|<tr style="vertical-align:top;"><td>'''Sponsored by:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship sponsor|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship sponsor|}}}}}</td></tr> | ||
}}{{#if:{{{Ship christened|}}}|<tr style="vertical-align:top;"><td>Christened:</td><td> | }}{{#if:{{{Ship christened|}}}|<tr style="vertical-align:top;"><td>'''Christened:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship christened|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship christened|}}}}}</td></tr> | ||
}}{{#if:{{{Ship completed|}}}|<tr style="vertical-align:top;"><td>Completed:</td><td> | }}{{#if:{{{Ship completed|}}}|<tr style="vertical-align:top;"><td>'''Completed:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship completed|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship completed|}}}}}</td></tr> | ||
}}{{#if:{{{Ship acquired|}}}|<tr style="vertical-align:top;"><td>Acquired:</td><td> | }}{{#if:{{{Ship acquired|}}}|<tr style="vertical-align:top;"><td>'''Acquired:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship acquired|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship acquired|}}}}}</td></tr> | ||
}}{{#if:{{{Ship commissioned|}}}|<tr style="vertical-align:top;"><td>Commissioned:</td><td> | }}{{#if:{{{Ship commissioned|}}}|<tr style="vertical-align:top;"><td>'''Commissioned:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship commissioned|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship commissioned|}}}}}</td></tr> | ||
}}{{#if:{{{Ship recommissioned|}}}|<tr style="vertical-align:top;"><td>Recommissioned:</td><td> | }}{{#if:{{{Ship recommissioned|}}}|<tr style="vertical-align:top;"><td>'''Recommissioned:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship recommissioned|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship recommissioned|}}}}}</td></tr> | ||
}}{{#if:{{{Ship decommissioned|}}}|<tr style="vertical-align:top;"><td>Decommissioned:</td><td> | }}{{#if:{{{Ship decommissioned|}}}|<tr style="vertical-align:top;"><td>'''Decommissioned:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship decommissioned|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship decommissioned|}}}}}</td></tr> | ||
}}{{#if:{{{Ship maiden voyage|}}}|<tr style="vertical-align:top;"><td>Maiden voyage:</td><td> | }}{{#if:{{{Ship maiden voyage|}}}|<tr style="vertical-align:top;"><td>'''Maiden voyage:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship maiden voyage|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship maiden voyage|}}}}}</td></tr> | ||
}}{{#if:{{{Ship in service|}}}|<tr style="vertical-align:top;"><td>In service:</td><td> | }}{{#if:{{{Ship in service|}}}|<tr style="vertical-align:top;"><td>'''In service:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship in service|}}}}}</td></tr> | {{#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> | }}{{#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> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship out of service|}}}}}</td></tr> | ||
}}{{#if:{{{Ship renamed|}}}|<tr style="vertical-align:top;"><td>Renamed:</td><td> | }}{{#if:{{{Ship renamed|}}}|<tr style="vertical-align:top;"><td>'''Renamed:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship renamed|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship renamed|}}}}}</td></tr> | ||
}}{{#if:{{{Ship reclassified|}}}|<tr style="vertical-align:top;"><td>Reclassified:</td><td> | }}{{#if:{{{Ship reclassified|}}}|<tr style="vertical-align:top;"><td>'''Reclassified:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship reclassified|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship reclassified|}}}}}</td></tr> | ||
}}{{#if:{{{Ship refit|}}}|<tr style="vertical-align:top;"><td>Refit:</td><td> | }}{{#if:{{{Ship refit|}}}|<tr style="vertical-align:top;"><td>'''Refit:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship refit|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship refit|}}}}}</td></tr> | ||
}}{{#if:{{{Ship struck|}}}|<tr style="vertical-align:top;"><td>Struck:</td><td> | }}{{#if:{{{Ship struck|}}}|<tr style="vertical-align:top;"><td>'''Struck:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship struck|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship struck|}}}}}</td></tr> | ||
}}{{#if:{{{Ship reinstated|}}}|<tr style="vertical-align:top;"><td>Reinstated:</td><td> | }}{{#if:{{{Ship reinstated|}}}|<tr style="vertical-align:top;"><td>'''Reinstated:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship reinstated|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship reinstated|}}}}}</td></tr> | ||
}}{{#if:{{{Ship homeport|}}}|<tr style="vertical-align:top;"><td>Homeport:</td><td> | }}{{#if:{{{Ship homeport|}}}|<tr style="vertical-align:top;"><td>'''Homeport:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship homeport|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship homeport|}}}}}</td></tr> | ||
}}{{#if:{{{Ship identification|}}}|<tr style="vertical-align:top;"><td>Identification:</td><td> | }}{{#if:{{{Ship identification|}}}|<tr style="vertical-align:top;"><td>'''Identification:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship identification|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship identification|}}}}}</td></tr> | ||
}}{{#if:{{{Ship motto|}}}|<tr style="vertical-align:top;"><td>Motto:</td><td> | }}{{#if:{{{Ship motto|}}}|<tr style="vertical-align:top;"><td>'''Motto:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship motto|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship motto|}}}}}</td></tr> | ||
}}{{#if:{{{Ship nickname|}}}|<tr style="vertical-align:top;"><td>Nickname(s):</td><td> | }}{{#if:{{{Ship nickname|}}}|<tr style="vertical-align:top;"><td>'''Nickname(s):'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship nickname|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship nickname|}}}}}</td></tr> | ||
}}{{#if:{{{Ship honours|}}}|<tr style="vertical-align:top;"><td>Honours and<br />awards:</td><td> | }}{{#if:{{{Ship honours|}}}|<tr style="vertical-align:top;"><td>'''Honours and<br />awards:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship honours|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship honours|}}}}}</td></tr> | ||
}}{{#if:{{{Ship honors|}}}|<tr style="vertical-align:top;"><td>Honors and<br />awards:</td><td> | }}{{#if:{{{Ship honors|}}}|<tr style="vertical-align:top;"><td>'''Honors and<br />awards:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship honors|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship honors|}}}}}</td></tr> | ||
}}{{#if:{{{Ship captured|}}}|<tr style="vertical-align:top;"><td>Captured:</td><td> | }}{{#if:{{{Ship captured|}}}|<tr style="vertical-align:top;"><td>'''Captured:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship captured|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship captured|}}}}}</td></tr> | ||
}}{{#if:{{{Ship fate|}}}|<tr style="vertical-align:top;"><td>Fate:</td><td> | }}{{#if:{{{Ship fate|}}}|<tr style="vertical-align:top;"><td>'''Fate:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship fate|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship fate|}}}}}</td></tr> | ||
}}{{#if:{{{Ship status|}}}|<tr style="vertical-align:top;"><td>Status:</td><td> | }}{{#if:{{{Ship status|}}}|<tr style="vertical-align:top;"><td>'''Status:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship status|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship status|}}}}}</td></tr> | ||
}}{{#if:{{{Ship notes|}}}|<tr style="vertical-align:top;"><td>Notes:</td><td> | }}{{#if:{{{Ship notes|}}}|<tr style="vertical-align:top;"><td>'''Notes:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship notes|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship notes|}}}}}</td></tr> | ||
}}{{#if:{{{Ship badge|}}}|<tr style="vertical-align:top;"><td>Badge:</td><td> | }}{{#if:{{{Ship badge|}}}|<tr style="vertical-align:top;"><td>'''Badge:'''</td><td> | ||
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship badge|}}}}}</td></tr> | {{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship badge|}}}}}</td></tr> | ||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}</includeonly><noinclude>{{Documentation}}</noinclude> |