Template:Individual ship infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "class="infobox" cellspacing="0" style="([^"\n]+)"" to "class="infobox" style="$1" cellspacing="0"")
m (Text replacement - "{{pagetitle\|{{{pagename\|{{#if:{{{name\|}}}\|{{{name}}}\|{{PAGETITLE}}}}}}} - {{{pagelabel\|([^ ]+) {{#ifeq:{{SUBPAGENAME}}\|Silver\|\(Silver Timeline\)}}}}}}}" to "{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|$1}}}}}")
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:260px; background:{{{BG|#669}}}; color:{{{color1|#000}}}" cellspacing="0"
{{Infobox|start|bg=#669}}
{{!}}-
{{Infobox|title|name={{{name|}}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" class="infoboxheading" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#F0F8FF}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|section|title={{{section1-title|Production information}}}|bg=#BBD|color=#000|entries=
! style="background:{{{imageBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999}}}" colspan="2" class="infoboxmedia" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|entry|title={{{hull code-title|Hull code}}}|content={{{hull code|}}}}}
{{Infobox|entry|title={{{naval architect-title|Naval architects}}}|content={{{naval architect|}}}}}
{{Infobox|entry|title={{{manufacturer-title|Manufacturer}}}|content={{{manufacturer|}}}}}
{{Infobox|entry|title={{{class-title|Class}}}|content={{{class|}}}}}
{{Infobox|entry|title={{{role-title|Role}}}|content={{{role|}}}}}
}}
 
{{Infobox|section|title={{{section2-title|Specifications}}}|bg=#BBD|color=#000|entries=
{{Infobox|entry|title={{{length-title|Length}}}|content={{{length|}}}}}
{{Infobox|entry|title={{{width-title|Width}}}|content={{{width|}}}}}
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}}}
{{Infobox|entry|title={{{mass-title|Mass}}}|content={{{mass|}}}}}
{{Infobox|entry|title={{{power-title|Powerplant}}}|content={{{power|}}}}}
{{Infobox|entry|title={{{engine-title|Engine}}}|content={{{engine|}}}}}
{{Infobox|entry|title={{{slipspace drive-title|Slipspace drive}}}|content={{{slipspace drive|}}}}}
{{Infobox|entry|title={{{hull-title|Hull}}}|content={{{hull|}}}}}
{{Infobox|entry|title={{{shielding-title|Shielding}}}|content={{{shielding|}}}}}
{{Infobox|entry|title={{{countermeasures-title|Countermeasures}}}|content={{{countermeasures|}}}}}
{{Infobox|entry|title={{{armament-title|Armament}}}|content={{{armament|}}}}}
{{Infobox|entry|title={{{complement-title|Complement}}}|content={{{complement|}}}}}
{{Infobox|entry|title={{{crew-title|Crew}}}|content={{{crew|}}}}}
{{Infobox|entry|title={{{misc4-title|}}}|content={{{misc4|}}}}}
}}
}}
{{!}}-
 
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|section|title={{{section3-title|Service information}}}|bg=#BBD|color=#000|entries=
! colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#BBD}}}" class="infoboxsubheading" {{!}} {{{section1-title|Production information}}}}}
{{Infobox|entry|title={{{firstuse-title|Year introduced}}}|content={{{firstuse|}}}}}
{{!}}-
{{Infobox|entry|title={{{commission-title|Commissioned}}}|content={{{commission|}}}}}
{{#if:{{{hull code|}}}|
{{Infobox|entry|title={{{lastsight-title|Last sighted}}}|content={{{lastsight|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{destroyed-title|Destroyed}}}|content={{{destroyed|}}}}}
'''{{{hull code-title|Hull code}}}''':
{{Infobox|entry|title={{{battles-title|Participated battles}}}|content={{{battles|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{fleet-title|Fleet}}}|content={{{fleet|}}}}}
{{{hull code|}}}
{{Infobox|entry|title={{{namedcrew-title|Noteworthy crewmembers}}}|content={{{namedcrew|}}}}}
{{!}}-}}
{{Infobox|entry|title={{{captains-title|Known commanders}}}|content={{{captains|}}}}}
{{#if:{{{naval architect|}}}|
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
}}
'''{{{naval architect-title|Naval architects}}}''':
 
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Ship}}}}}</includeonly><noinclude>
{{{naval architect|}}}
{{!}}-}}
{{#if:{{{manufacturer|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{manufacturer-title|Manufacturer}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{manufacturer|}}}
{{!}}-}}
{{#if:{{{class|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{class-title|Class}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{class|}}}
{{!}}-}}
{{#if:{{{role|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{role-title|Role}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{role|}}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#BBD}}}" class="infoboxsubheading" {{!}} {{{section2-title|Specifications}}}}}
{{!}}-
{{#if:{{{length|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{length-title|Length}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{length|}}}
{{!}}-}}
{{#if:{{{width|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{width-title|Width}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{width|}}}
{{!}}-}}
{{#if:{{{height|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{height-title|Height}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{height|}}}
{{!}}-}}
{{#if:{{{mass|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{mass-title|Mass}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{mass|}}}
{{!}}-}}
{{#if:{{{power|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{power-title|Powerplant}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{power|}}}
{{!}}-}}
{{#if:{{{engine|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{engine-title|Engine}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{engine|}}}
{{!}}-}}
{{#if:{{{slipspace drive|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{slipspace drive-title|Slipspace drive}}}''':<!-- [[wikipedia:Beam (nautical)|<span style="color:#000">Beam</span>]] -->
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{slipspace drive|}}}
{{!}}-}}
{{#if:{{{hull|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{hull-title|Hull}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{hull|}}}
{{!}}-}}
{{#if:{{{shielding|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{shielding-title|Shielding}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{shielding|}}}
{{!}}-}}
{{#if:{{{countermeasures|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{countermeasures-title|Countermeasures}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{countermeasures|}}}
{{!}}-}}
{{#if:{{{armament|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{armament-title|Armament}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{armament|}}}
{{!}}-}}
{{#if:{{{complement|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{complement-title|Complement}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{complement|}}}
{{!}}-}}
{{#if:{{{crew|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{crew-title|Crew}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{crew|}}}
{{!}}-}}
{{#if:{{{misc4|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{misc4-title|}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc4|}}}
{{!}}-}}
{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
! colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#BBD}}}" class="infoboxsubheading" {{!}} {{{section3-title|Service information}}}}}
{{!}}-
{{#if:{{{firstuse|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{firstuse-title|Year introduced}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{firstuse|}}}
{{!}}-}}
{{#if:{{{commission|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{commission-title|Commissioned}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{commission|}}}
{{!}}-}}
{{#if:{{{lastsight|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{lastsight-title|Last sighted}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{lastsight|}}}
{{!}}-}}
{{#if:{{{destroyed|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{destroyed-title|Destroyed}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{destroyed|}}}
{{!}}-}}
{{#if:{{{battles|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{battles-title|Participated battles}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{battles|}}}
{{!}}-}}
{{#if:{{{fleet|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{fleet-title|Fleet}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{fleet|}}}
{{!}}-}}
{{#if:{{{namedcrew|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{namedcrew-title|Noteworthy crewmembers}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{namedcrew|}}}
{{!}}-}}
{{#if:{{{captains|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{captains-title|Known commanders}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{captains|}}}
{{!}}-}}
{{#if:{{{affiliation|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{affiliation-title|Affiliation}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{affiliation|}}}
{{!}}-}}
| class="infoboxfooter" colspan="2" | &nbsp;
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Ship {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
==Usage==
==Usage==
This is an infobox for technical and usage information on specific, individual starships (e.g. {{UNSCShip|Pillar of Autumn}}, ''[[Truth and Reconciliation]]'').
This is an infobox for technical and usage information on specific, individual starships (e.g. {{UNSCShip|Pillar of Autumn}}, ''[[Truth and Reconciliation]]'').


For general descriptions of a known class of starship, do not use this template. Use [[:Template:Ship class infobox]] instead.
For general descriptions of a known class of starship, do not use this template. Use [[:Template:Ship class infobox]] instead.
<pre>
<pre>
{{Individual ship infobox
{{Individual ship infobox
Line 221: Line 77:
|captains=
|captains=
|affiliation=
|affiliation=
}}</pre>
}}
</pre>


==Custom parameters==
==Custom parameters==
The following allows you to alter the title of the sub-sections
The following allows you to alter the title of the sub-sections
<pre>
<pre>
|hull code-title=
|hull code-title=
Line 253: Line 111:
|captains-title=
|captains-title=
|affiliation-title=
|affiliation-title=
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
</pre>
</pre>


==Display parameters==
The following allows you to hide the section header
*hidea (hides Production section header)
*hideb (hides Specs section header)
*hidec (hides Service section header)
<pre>
|hidea=
|hideb=
|hidec=
</pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 11:16, March 22, 2024

Individual ship infobox
 

Usage

This is an infobox for technical and usage information on specific, individual starships (e.g. UNSC Pillar of Autumn, Truth and Reconciliation).

For general descriptions of a known class of starship, do not use this template. Use Template:Ship class infobox instead.

{{Individual ship infobox
|name=
|image=
|hull code=
|naval architect=
|manufacturer=
|class=
|role=
|length=
|width=
|height=
|mass=
|power=
|engine=
|slipspace drive=
|hull=
|shielding=
|countermeasures=
|armament=
|complement=
|crew=
|firstuse=
|commission=
|lastsight=
|destroyed=
|battles=
|fleet=
|namedcrew=
|captains=
|affiliation=
}}

Custom parameters

The following allows you to alter the title of the sub-sections

|hull code-title=
|naval architect-title=
|manufacturer-title=
|class-title=
|role-title=
|length-title=
|width-title=
|height-title=
|mass-title=
|power-title=
|engine-title=
|slipspace drive-title=
|hull-title=
|shielding-title=
|countermeasures-title=
|armament-title=
|complement-title=
|crew-title=
|firstuse-title=
|commission-title=
|lastsight-title=
|destroyed-title=
|battles-title=
|fleet-title=
|namedcrew-title=
|captains-title=
|affiliation-title=