Template:Individual ship infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "! class="infoboxheading" colspan="2" style="[^\n"]+" (\||{{!}}) {{#if:{{{name\|}}}\|{{{name}}}\|{{PAGENAME}}}}↵\|-" to "{{Infobox|title|name={{{name|}}}}}")
No edit summary
Line 2: Line 2:
{{Infobox|title|name={{{name|}}}}}
{{Infobox|title|name={{{name|}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#F0F8FF}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#F0F8FF}}
{{#if:{{{hidea|}}}||
 
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#BBD}}}" {{!}} {{{section1-title|Production information}}}
{{Infobox|section|title={{{section1-title|Production information}}}|bg=#BBD|color=#000|entries=
}}
|-
{{Infobox|entry|title={{{hull code-title|Hull code}}}|content={{{hull code|}}}}}
{{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={{{naval architect-title|Naval architects}}}|content={{{naval architect|}}}}}
Line 11: Line 9:
{{Infobox|entry|title={{{class-title|Class}}}|content={{{class|}}}}}
{{Infobox|entry|title={{{class-title|Class}}}|content={{{class|}}}}}
{{Infobox|entry|title={{{role-title|Role}}}|content={{{role|}}}}}
{{Infobox|entry|title={{{role-title|Role}}}|content={{{role|}}}}}
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#BBD}}}" {{!}} {{{section2-title|Specifications}}}
}}
}}
|-
 
{{Infobox|section|title={{{section2-title|Specifications}}}|bg=#BBD|color=#000|entries=
{{Infobox|entry|title={{{length-title|Length}}}|content={{{length|}}}}}
{{Infobox|entry|title={{{length-title|Length}}}|content={{{length|}}}}}
{{Infobox|entry|title={{{width-title|Width}}}|content={{{width|}}}}}
{{Infobox|entry|title={{{width-title|Width}}}|content={{{width|}}}}}
Line 29: Line 26:
{{Infobox|entry|title={{{crew-title|Crew}}}|content={{{crew|}}}}}
{{Infobox|entry|title={{{crew-title|Crew}}}|content={{{crew|}}}}}
{{Infobox|entry|title={{{misc4-title|}}}|content={{{misc4|}}}}}
{{Infobox|entry|title={{{misc4-title|}}}|content={{{misc4|}}}}}
{{#if:{{{hidec|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#BBD}}}" {{!}} {{{section3-title|Service information}}}
}}
}}
|-
 
{{Infobox|section|title={{{section3-title|Service information}}}|bg=#BBD|color=#000|entries=
{{Infobox|entry|title={{{firstuse-title|Year introduced}}}|content={{{firstuse|}}}}}
{{Infobox|entry|title={{{firstuse-title|Year introduced}}}|content={{{firstuse|}}}}}
{{Infobox|entry|title={{{commission-title|Commissioned}}}|content={{{commission|}}}}}
{{Infobox|entry|title={{{commission-title|Commissioned}}}|content={{{commission|}}}}}
Line 42: Line 38:
{{Infobox|entry|title={{{captains-title|Known commanders}}}|content={{{captains|}}}}}
{{Infobox|entry|title={{{captains-title|Known commanders}}}|content={{{captains|}}}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
}}
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Ship {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Ship {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
==Usage==
==Usage==
Line 79: Line 77:
|captains=
|captains=
|affiliation=
|affiliation=
}}</pre>
}}
</pre>


==Custom parameters==
==Custom parameters==
Line 112: Line 111:
|captains-title=
|captains-title=
|affiliation-title=
|affiliation-title=
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
</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>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 13:46, August 29, 2023

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=