Difference between revisions of "Template:Infobox Ship"

From REDdimension Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{Infobox Ship
+
<noinclude>{{esoteric}}
|Ship image=
+
</noinclude>{| {{WPMILHIST Infobox style|main_box}}
|Ship caption=
+
|-
|Ship country=
+
| colspan="2" {{WPMILHIST Infobox style|image_box}} | {{{Ship image|[[Image:No Photo Available.svg|300px]]}}} <br />{{{Ship caption|}}}
|Ship flag=
+
|-
|Ship namesake=
+
! {{WPMILHIST Infobox style|header_bar}} | Career {{{Ship country|}}}
|Ship class=
+
! {{WPMILHIST Infobox style|header_bar}} | {{{Ship flag|[[Image:Insert image here.svg|30px]]}}}
|Ship ordered=
+
{{#if:{{{Ship class|}}}|<tr valign=top><td>Class and type:</td><td>{{{Ship class|}}}</td></tr>
|Ship builder=
+
}}{{#if:{{{Ship namesake|}}}|<tr valign=top><td>Named after:</td><td>{{{Ship namesake|}}}</td></tr>
|Ship laid down=
+
}}{{#if:{{{Ship ordered|}}}|<tr valign=top><td>Ordered:</td><td>{{{Ship ordered|}}}</td></tr>
|Ship launched=
+
}}{{#if:{{{Ship awarded|}}}|<tr valign=top><td>Awarded:</td><td>{{{Ship awarded|}}}</td></tr>
|Ship christened=
+
}}{{#if:{{{Ship builder|}}}|<tr valign=top><td>Builder:</td><td>{{{Ship builder|}}}</td></tr>
|Ship purchased=
 
|Ship commissioned=
 
|Ship decommissioned=
 
|Ship in service=
 
|Ship out of service=
 
|Ship renamed=
 
|Ship reclassified=
 
|Ship captured=
 
|Ship fate=
 
|Ship struck=
 
|Ship reinstated=
 
|Ship homeport=
 
|Ship displacement=
 
|Ship length=
 
|Ship beam=
 
|Ship draught=
 
|Ship propulsion=
 
|Ship speed=
 
|Ship range=
 
|Ship endurance=
 
|Ship test depth=
 
|Ship boats=
 
|Ship capacity=
 
|Ship complement=
 
|Ship time to activate=
 
|Ship sensors=
 
|Ship EW=
 
|Ship armament=
 
|Ship armour=
 
|Ship armor=
 
|Ship aircraft=
 
|Ship motto=
 
|Ship nickname=
 
|Ship honours=
 
|Ship notes=
 
|Ship badge=
 
 
}}
 
}}
 +
|- valign=top
 +
| Laid down:
 +
| {{{Ship laid down|Unknown}}}
 +
|- valign=top
 +
| Launched:
 +
| {{{Ship launched|Unknown}}}
 +
{{#if:{{{Ship christened|}}}|<tr valign=top><td>Christened:</td><td>{{{Ship christened|}}}</td></tr>
 +
}}{{#if:{{{Ship purchased|}}}|<tr valign=top><td>Acquired:</td><td>{{{Ship purchased|}}}</td></tr>
 +
}}{{#if:{{{Ship commissioned|}}}|<tr valign=top><td>Commissioned:</td><td>{{{Ship commissioned|}}}</td></tr>
 +
}}{{#if:{{{Ship decommissioned|}}}|<tr valign=top><td>Decommissioned:</td><td>{{{Ship decommissioned|}}}</td></tr>
 +
}}{{#if:{{{Ship recommissioned|}}}|<tr valign=top><td>Recommissioned:</td><td>{{{Ship recommissioned|}}}</td></tr>
 +
}}{{#if:{{{Ship decommissioned 2|}}}|<tr valign=top><td>Decommissioned:</td><td>{{{Ship decommissioned 2|}}}</td></tr>
 +
}}{{#if:{{{Ship in service|}}}|<tr valign=top><td>In service:</td><td>{{{Ship in service|}}}</td></tr>
 +
}}{{#if:{{{Ship out of service|}}}|<tr valign=top><td>Out of service:</td><td>{{{Ship out of service|}}}</td></tr>
 +
}}{{#if:{{{Ship renamed|}}}|<tr valign=top><td>Renamed:</td><td>{{{Ship renamed|}}}</td></tr>
 +
}}{{#if:{{{Ship reclassified|}}}|<tr valign=top><td>Reclassified:</td><td>{{{Ship reclassified|}}}</td></tr>
 +
}}{{#if:{{{Ship refit|}}}|<tr valign=top><td>Refit:</td><td>{{{Ship refit|}}}</td></tr>
 +
}}{{#if:{{{Ship captured|}}}|<tr valign=top><td>Captured:</td><td>{{{Ship captured|}}}</td></tr>
 +
}}{{#if:{{{Ship struck|}}}|<tr valign=top><td>Struck:</td><td>{{{Ship struck|}}}</td></tr>
 +
}}{{#if:{{{Ship reinstated|}}}|<tr valign=top><td>Reinstated:</td><td>{{{Ship reinstated|}}}</td></tr>
 +
}}
 +
|- valign=top
 +
| Status:
 +
| {{{Ship fate|Unknown}}}
 +
{{#if:{{{Ship homeport|}}}|<tr valign=top><td>[[Homeport]]:</td><td>{{{Ship homeport|}}}</td></tr>}}
 +
|-
 +
! colspan="2" {{WPMILHIST Infobox style|header_bar}} | General Characteristics
 +
|- valign=top
 +
| Displacement:
 +
| {{{Ship displacement|Unknown}}}
 +
|- valign=top
 +
| Length:
 +
| {{{Ship length|Unknown}}}
 +
|- valign=top
 +
| [[Beam (nautical)|Beam]]:
 +
| {{{Ship beam|Unknown}}}
 +
{{#if:{{{Ship draught|}}}|<tr valign=top><td>[[Draft (hull)|Draught]]:</td><td>{{{Ship draught|}}}</td></tr>
 +
}}{{#if:{{{Ship draft|}}}|<tr valign=top><td>[[Draft (hull)|Draft]]:</td><td>{{{Ship draft|}}}</td></tr>
 +
}}{{#if:{{{Ship propulsion|}}}|<tr valign=top><td>Propulsion:</td><td>{{{Ship propulsion|}}}</td></tr>
 +
}}
 +
|- valign=top
 +
| Speed:
 +
| {{{Ship speed|Unknown}}}
 +
{{#if:{{{Ship range|}}}|<tr valign=top><td>Range:</td><td>{{{Ship range|}}}</td></tr>
 +
}}{{#if:{{{Ship endurance|}}}|<tr valign=top><td>Endurance:</td><td>{{{Ship endurance|}}}</td></tr>
 +
}}{{#if:{{{Ship test depth|}}}|<tr valign=top><td>Test depth:</td><td>{{{Ship test depth|}}}</td></tr>
 +
}}{{#if:{{{Ship boats|}}}|<tr valign=top><td>Boats and landing craft carried:</td><td>{{{Ship boats|}}}</td></tr>
 +
}}{{#if:{{{Ship capacity|}}}|<tr valign=top><td>Capacity:</td><td>{{{Ship capacity|}}}</td></tr>
 +
}}
 +
|- valign=top
 +
| Complement:
 +
| {{{Ship complement|Unknown}}}
 +
{{#if:{{{Ship time to activate|}}}|<tr valign=top><td>Time to activate:</td><td>{{{Ship time to activate|}}}</td></tr>
 +
}}{{#if:{{{Ship troops|}}}|<tr valign=top><td>Troops</td><td>{{{Ship troops|}}}</td></tr>
 +
}}{{#if:{{{Ship sensors|}}}|<tr valign=top><td>Sensors and processing systems:</td><td>{{{Ship sensors|}}}</td></tr>
 +
}}{{#if:{{{Ship EW|}}}|<tr valign=top><td>Electronic warfare and decoys:</td><td>{{{Ship EW|}}}</td></tr>
 +
}}{{#if:{{{Ship armament|}}}|<tr valign=top><td>Armament:</td><td>{{{Ship armament|}}}</td></tr>
 +
}}{{#if:{{{Ship armour|}}}|<tr valign=top><td>Armour:</td><td>{{{Ship armour|}}}</td></tr>
 +
}}{{#if:{{{Ship armor|}}}|<tr valign=top><td>Armor:</td><td>{{{Ship armor|}}}</td></tr>
 +
}}{{#if:{{{Ship aircraft|}}}|<tr valign=top><td>Aircraft carried:</td><td>{{{Ship aircraft|}}}</td></tr>
 +
}}{{#if:{{{Ship aircraft facilities|}}}|<tr valign=top><td>Aviation facilities:</td><td>{{{Ship aircraft facilities|}}}</td></tr>
 +
}}{{#if:{{{Ship motto|}}}|<tr valign=top><td>Motto:</td><td>{{{Ship motto|}}}</td></tr>
 +
}}{{#if:{{{Ship nickname|}}}|<tr valign=top><td>Nickname:</td><td>{{{Ship nickname|}}}</td></tr>
 +
}}{{#if:{{{Ship honours|}}}|<tr valign=top><td>Honours and awards:</td><td>{{{Ship honours|}}}</td></tr>
 +
}}{{#if:{{{Ship honors|}}}|<tr valign=top><td>Honors and awards:</td><td>{{{Ship honors|}}}</td></tr>
 +
}}{{#if:{{{Ship notes|}}}|<tr valign=top><td>Notes:</td><td>{{{Ship notes|}}}</td></tr>
 +
}}{{#if:{{{Ship badge|}}}|<tr valign=top><td>Badge:</td><td>{{{Ship badge|}}}</td></tr>
 +
}}
 +
|}<noinclude>
 +
{{template doc}}
 +
 +
 +
</noinclude>

Revision as of 09:28, 26 September 2007

This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in your user space before changing anything here.
}}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:|

}}

}}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:|

}}

}} }}{{#if:| }}{{#if:|

}}

}}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:|

}}

}}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:|

}}

main_box= class="infobox" style="width: 315px; border-spacing: 2px; text-align: left; font-size: 95%;" header_bar= style="background: lightsteelblue; text-align: center; vertical-align: middle;" nav_box= margin: 0; float: right; clear: right; width: 315px; margin-bottom: 0.5em; margin-left: 1em; nav_box_wide= nav_box_header= background: lightsteelblue; font-size: 95%; nav_box_label= background: gainsboro; nav_box_text= image_box= style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa; line-height: 1.25em;" image_box_plain= style="text-align: center; font-size: 90%; line-height: 1.25em;" internal_border= 1px dotted #aaa; section_border= 1px solid #aaa; #default=

}}

colspan="2" main_box= class="infobox" style="width: 315px; border-spacing: 2px; text-align: left; font-size: 95%;" header_bar= style="background: lightsteelblue; text-align: center; vertical-align: middle;" nav_box= margin: 0; float: right; clear: right; width: 315px; margin-bottom: 0.5em; margin-left: 1em; nav_box_wide= nav_box_header= background: lightsteelblue; font-size: 95%; nav_box_label= background: gainsboro; nav_box_text= image_box= style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa; line-height: 1.25em;" image_box_plain= style="text-align: center; font-size: 90%; line-height: 1.25em;" internal_border= 1px dotted #aaa; section_border= 1px solid #aaa; #default=

}} | 300px

main_box= class="infobox" style="width: 315px; border-spacing: 2px; text-align: left; font-size: 95%;" header_bar= style="background: lightsteelblue; text-align: center; vertical-align: middle;" nav_box= margin: 0; float: right; clear: right; width: 315px; margin-bottom: 0.5em; margin-left: 1em; nav_box_wide= nav_box_header= background: lightsteelblue; font-size: 95%; nav_box_label= background: gainsboro; nav_box_text= image_box= style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa; line-height: 1.25em;" image_box_plain= style="text-align: center; font-size: 90%; line-height: 1.25em;" internal_border= 1px dotted #aaa; section_border= 1px solid #aaa; #default=

}} | Career

main_box= class="infobox" style="width: 315px; border-spacing: 2px; text-align: left; font-size: 95%;" header_bar= style="background: lightsteelblue; text-align: center; vertical-align: middle;" nav_box= margin: 0; float: right; clear: right; width: 315px; margin-bottom: 0.5em; margin-left: 1em; nav_box_wide= nav_box_header= background: lightsteelblue; font-size: 95%; nav_box_label= background: gainsboro; nav_box_text= image_box= style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa; line-height: 1.25em;" image_box_plain= style="text-align: center; font-size: 90%; line-height: 1.25em;" internal_border= 1px dotted #aaa; section_border= 1px solid #aaa; #default=

}} | 30px

{{#if:|
Class and type:
Named after:
Ordered:
Awarded:
Builder:
Laid down: Unknown
Launched: Unknown {{#if:|
Christened:
Acquired:
Commissioned:
Decommissioned:
Recommissioned:
Decommissioned:
In service:
Out of service:
Renamed:
Reclassified:
Refit:
Captured:
Struck:
Reinstated:
Status: Unknown {{#if:|
Homeport:
colspan="2" main_box= class="infobox" style="width: 315px; border-spacing: 2px; text-align: left; font-size: 95%;" header_bar= style="background: lightsteelblue; text-align: center; vertical-align: middle;" nav_box= margin: 0; float: right; clear: right; width: 315px; margin-bottom: 0.5em; margin-left: 1em; nav_box_wide= nav_box_header= background: lightsteelblue; font-size: 95%; nav_box_label= background: gainsboro; nav_box_text= image_box= style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa; line-height: 1.25em;" image_box_plain= style="text-align: center; font-size: 90%; line-height: 1.25em;" internal_border= 1px dotted #aaa; section_border= 1px solid #aaa; #default=

}} | General Characteristics

Displacement: Unknown
Length: Unknown
Beam: Unknown {{#if:|
Draught:
Draft:
Propulsion:
Speed: Unknown {{#if:|
Range:
Endurance:
Test depth:
Boats and landing craft carried:
Capacity:
Complement: Unknown {{#if:|
Time to activate:
Troops
Sensors and processing systems:
Electronic warfare and decoys:
Armament:
Armour:
Armor:
Aircraft carried:
Aviation facilities:
Motto:
Nickname:
Honours and awards:
Honors and awards:
Notes:
Badge:

Template:Template doc