Template:Infobox ship characteristics: Difference between revisions

Jump to navigation Jump to search
m (Changed protection level for "Template:Infobox ship characteristics": high-risk template with 4000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 6: Line 6:
| #default = <tr>
| #default = <tr>
<th colspan="2" height="30" {{WPMILHIST Infobox style|header_bar}}>General characteristics {{{Header caption|}}}</th></tr>
<th colspan="2" height="30" {{WPMILHIST Infobox style|header_bar}}>General characteristics {{{Header caption|}}}</th></tr>
}}{{#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 type|}}}|<tr style="vertical-align:top;"><td>Type:</td><td>
}}{{#if:{{{Ship type|}}}|<tr style="vertical-align:top;"><td>'''Type:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship type|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship type|}}}}}</td></tr>
}}{{#if:{{{Ship tonnage|}}}|<tr style="vertical-align:top;"><td>Tonnage:</td><td>
}}{{#if:{{{Ship tonnage|}}}|<tr style="vertical-align:top;"><td>'''Tonnage:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship tonnage|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship tonnage|}}}}}</td></tr>
}}{{#if:{{{Ship displacement|}}}|<tr style="vertical-align:top;"><td>Displacement:</td><td>
}}{{#if:{{{Ship displacement|}}}|<tr style="vertical-align:top;"><td>'''Displacement:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship displacement|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship displacement|}}}}}</td></tr>
}}{{#if:{{{Ship tons burthen|}}}|<tr style="vertical-align:top;"><td>Tons burthen:</td><td>
}}{{#if:{{{Ship tons burthen|}}}|<tr style="vertical-align:top;"><td>'''Tons burthen:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship tons burthen|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship tons burthen|}}}}}</td></tr>
}}{{#if:{{{Ship length|}}}|<tr style="vertical-align:top;"><td>Length:</td><td>
}}{{#if:{{{Ship length|}}}|<tr style="vertical-align:top;"><td>'''Length:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship length|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship length|}}}}}</td></tr>
}}{{#if:{{{Ship beam|}}}|<tr style="vertical-align:top;"><td>Beam:</td><td>
}}{{#if:{{{Ship beam|}}}|<tr style="vertical-align:top;"><td>'''Beam:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship beam|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship beam|}}}}}</td></tr>
}}{{#if:{{{Ship height|}}}|<tr style="vertical-align:top;"><td>Height:</td><td>
}}{{#if:{{{Ship height|}}}|<tr style="vertical-align:top;"><td>'''Height:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship height|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship height|}}}}}</td></tr>
}}{{#if:{{{Ship draught|}}}|<tr style="vertical-align:top;"><td>Draught:</td><td>
}}{{#if:{{{Ship draught|}}}|<tr style="vertical-align:top;"><td>'''Draught:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship draught|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship draught|}}}}}</td></tr>
}}{{#if:{{{Ship draft|}}}|<tr style="vertical-align:top;"><td>Draft:</td><td>
}}{{#if:{{{Ship draft|}}}|<tr style="vertical-align:top;"><td>'''Draft:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship draft|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship draft|}}}}}</td></tr>
}}{{#if:{{{Ship depth|}}}|<tr style="vertical-align:top;"><td>Depth:</td><td>
}}{{#if:{{{Ship depth|}}}|<tr style="vertical-align:top;"><td>'''Depth:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship depth|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship depth|}}}}}</td></tr>
}}{{#if:{{{Ship hold depth|}}}|<tr style="vertical-align:top;"><td>Depth of hold:</td><td>
}}{{#if:{{{Ship hold depth|}}}|<tr style="vertical-align:top;"><td>'''Depth of hold:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship hold depth|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship hold depth|}}}}}</td></tr>
}}{{#if:{{{Ship decks|}}}|<tr style="vertical-align:top;"><td>Decks:</td><td>
}}{{#if:{{{Ship decks|}}}|<tr style="vertical-align:top;"><td>'''Decks:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship decks|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship decks|}}}}}</td></tr>
}}{{#if:{{{Ship deck clearance|}}}|<tr style="vertical-align:top;"><td>Deck clearance:</td><td>
}}{{#if:{{{Ship deck clearance|}}}|<tr style="vertical-align:top;"><td>'''Deck clearance:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship deck clearance|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship deck clearance|}}}}}</td></tr>
}}{{#if:{{{Ship ramps|}}}|<tr style="vertical-align:top;"><td>Ramps:</td><td>
}}{{#if:{{{Ship ramps|}}}|<tr style="vertical-align:top;"><td>'''Ramps:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship ramps|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship ramps|}}}}}</td></tr>
}}{{#if:{{{Ship ice class|}}}|<tr style="vertical-align:top;"><td>Ice class:</td><td>
}}{{#if:{{{Ship ice class|}}}|<tr style="vertical-align:top;"><td>'''Ice class:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship ice class|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship ice class|}}}}}</td></tr>
}}{{#if:{{{Ship power|}}}|<tr style="vertical-align:top;"><td>Installed power:</td><td>
}}{{#if:{{{Ship power|}}}|<tr style="vertical-align:top;"><td>'''Installed power:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship power|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship power|}}}}}</td></tr>
}}{{#if:{{{Ship propulsion|}}}|<tr style="vertical-align:top;"><td>Propulsion:</td><td>
}}{{#if:{{{Ship propulsion|}}}|<tr style="vertical-align:top;"><td>'''Propulsion:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship propulsion|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship propulsion|}}}}}</td></tr>
}}{{#if:{{{Ship sail plan|}}}|<tr style="vertical-align:top;"><td>Sail plan:</td><td>
}}{{#if:{{{Ship sail plan|}}}|<tr style="vertical-align:top;"><td>'''Sail plan:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship sail plan|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship sail plan|}}}}}</td></tr>
}}{{#if:{{{Ship speed|}}}|<tr style="vertical-align:top;"><td>Speed:</td><td>
}}{{#if:{{{Ship speed|}}}|<tr style="vertical-align:top;"><td>'''Speed:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship speed|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship speed|}}}}}</td></tr>
}}{{#if:{{{Ship range|}}}|<tr style="vertical-align:top;"><td>Range:</td><td>
}}{{#if:{{{Ship range|}}}|<tr style="vertical-align:top;"><td>'''Range:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship range|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship range|}}}}}</td></tr>
}}{{#if:{{{Ship endurance|}}}|<tr style="vertical-align:top;"><td>Endurance:</td><td>
}}{{#if:{{{Ship endurance|}}}|<tr style="vertical-align:top;"><td>'''Endurance:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship endurance|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship endurance|}}}}}</td></tr>
}}{{#if:{{{Ship test depth|}}}|<tr style="vertical-align:top;"><td>Test depth:</td><td>
}}{{#if:{{{Ship test depth|}}}|<tr style="vertical-align:top;"><td>'''Test depth:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship test depth|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship test depth|}}}}}</td></tr>
}}{{#if:{{{Ship boats|}}}|<tr style="vertical-align:top;"><td>Boats & landing <br /> craft carried:</td><td>
}}{{#if:{{{Ship boats|}}}|<tr style="vertical-align:top;"><td>'''Boats & landing <br /> craft carried:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship boats|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship boats|}}}}}</td></tr>
}}{{#if:{{{Ship capacity|}}}|<tr style="vertical-align:top;"><td>Capacity:</td><td>
}}{{#if:{{{Ship capacity|}}}|<tr style="vertical-align:top;"><td>'''Capacity:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship capacity|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship capacity|}}}}}</td></tr>
}}{{#if:{{{Ship troops|}}}|<tr style="vertical-align:top;"><td>Troops:</td><td>
}}{{#if:{{{Ship troops|}}}|<tr style="vertical-align:top;"><td>'''Troops:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship troops|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship troops|}}}}}</td></tr>
}}{{#if:{{{Ship complement|}}}|<tr style="vertical-align:top;"><td>Complement:</td><td>
}}{{#if:{{{Ship complement|}}}|<tr style="vertical-align:top;"><td>'''Complement:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship complement|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship complement|}}}}}</td></tr>
}}{{#if:{{{Ship crew|}}}|<tr style="vertical-align:top;"><td>Crew:</td><td>
}}{{#if:{{{Ship crew|}}}|<tr style="vertical-align:top;"><td>'''Crew:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship crew|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship crew|}}}}}</td></tr>
}}{{#if:{{{Ship time to activate|}}}|<tr style="vertical-align:top;"><td>Time to activate:</td><td>
}}{{#if:{{{Ship time to activate|}}}|<tr style="vertical-align:top;"><td>'''Time to activate:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship time to activate|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship time to activate|}}}}}</td></tr>
}}{{#if:{{{Ship sensors|}}}|<tr style="vertical-align:top;"><td>Sensors and <br /> processing systems:</td><td>
}}{{#if:{{{Ship sensors|}}}|<tr style="vertical-align:top;"><td>'''Sensors and <br /> processing systems:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship sensors|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship sensors|}}}}}</td></tr>
}}{{#if:{{{Ship EW|}}}|<tr style="vertical-align:top;"><td>Electronic warfare <br /> & decoys:</td><td>
}}{{#if:{{{Ship EW|}}}|<tr style="vertical-align:top;"><td>'''Electronic warfare <br /> & decoys:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship EW|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship EW|}}}}}</td></tr>
}}{{#if:{{{Ship armament|}}}|<tr style="vertical-align:top;"><td>Armament:</td><td>
}}{{#if:{{{Ship armament|}}}|<tr style="vertical-align:top;"><td>'''Armament:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship armament|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship armament|}}}}}</td></tr>
}}{{#if:{{{Ship armour|}}}|<tr style="vertical-align:top;"><td>Armour:</td><td>
}}{{#if:{{{Ship armour|}}}|<tr style="vertical-align:top;"><td>'''Armour:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship armour|}}}}}{{#if:{{{Ship armor|}}}|[[Category:Pages using infobox ship with both armor and amour]]}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship armour|}}}}}{{#if:{{{Ship armor|}}}|[[Category:Pages using infobox ship with both armor and amour]]}}</td></tr>
|{{#if:{{{Ship armor|}}}|<tr style="vertical-align:top;"><td>Armor:</td><td>
|{{#if:{{{Ship armor|}}}|<tr style="vertical-align:top;"><td>'''Armor:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship armor|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship armor|}}}}}</td></tr>
}}}}{{#if:{{{Ship aircraft|}}}|<tr style="vertical-align:top;"><td>Aircraft carried:</td><td>
}}}}{{#if:{{{Ship aircraft|}}}|<tr style="vertical-align:top;"><td>'''Aircraft carried:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship aircraft|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship aircraft|}}}}}</td></tr>
}}{{#if:{{{Ship aircraft facilities|}}}|<tr style="vertical-align:top;"><td>Aviation facilities:</td><td>
}}{{#if:{{{Ship aircraft facilities|}}}|<tr style="vertical-align:top;"><td>'''Aviation facilities:'''</td><td>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship aircraft facilities|}}}}}</td></tr>
{{#invoke:WPSHIPS utilities|unbulleted_list|{{{Ship aircraft facilities|}}}}}</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>
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 09:31, 23 October 2022