Template:Ship class infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} ?class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} ?class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to " {{Infobox|entry|title=$2|content=$1}}")
No edit summary
Line 1: Line 1:
{| class="infobox" style="width:260px; background:{{{BG|#334B5B}}}; color:{{{color1|#000}}}" cellspacing="0"
{{Infobox|start|bg=#334B5B}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}}}
|-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#F0F8FF}}
{{#if:{{{image|}}}|
 
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|section|title={{{section1-title|Production information}}}|bg=#5D8AA8|entries=
}}
|-
{{#if:{{{hidea|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section1-title|Production information}}}
}}
|-
{{Infobox|entry|title={{{hull symbol-title|Hull symbol}}}|content={{{hull symbol|}}}}}
{{Infobox|entry|title={{{hull symbol-title|Hull symbol}}}|content={{{hull symbol|}}}}}
{{Infobox|entry|title={{{architect-title|Naval architects}}}|content={{{architect|}}}}}
{{Infobox|entry|title={{{architect-title|Naval architects}}}|content={{{architect|}}}}}
Line 15: 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|#fff}}}; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section2-title|Technical specifications}}}
}}
}}
|-
 
{{Infobox|section|title={{{section2-title|Technical specifications}}}|bg=#5D8AA8|entries=
{{Infobox|entry|title={{{length-title|Length}}}|content={{{length|}}}}}
{{Infobox|entry|title={{{length-title|Length}}}|content={{{length|}}}}}
{{#if:{{{width|}}}|
{{Infobox|entry|title={{{width-title|Width}}}|content={{{width|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{width-title|Width}}}:<!-- [[wikipedia:Beam (nautical)|Beam]] -->
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{width}}}
}}
|-
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}}}
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}}}
{{Infobox|entry|title={{{mass-title|Mass}}}|content={{{mass|}}}}}
{{Infobox|entry|title={{{mass-title|Mass}}}|content={{{mass|}}}}}
Line 40: Line 27:
{{Infobox|entry|title={{{crew-title|Crew}}}|content={{{crew|}}}}}
{{Infobox|entry|title={{{crew-title|Crew}}}|content={{{crew|}}}}}
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}}}
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}}}
{{#if:{{{hidec|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section3-title|Chronological and affiliation}}}
}}
}}
|-
 
{{Infobox|section|title={{{section3-title|Chronological and affiliation}}}|bg=#5D8AA8|entries=
{{Infobox|entry|title={{{era-title|Era}}}|content={{{era|}}}}}
{{Infobox|entry|title={{{era-title|Era}}}|content={{{era|}}}}}
{{Infobox|entry|title={{{introduced-title|Introduced}}}|content={{{introduced|}}}}}
{{Infobox|entry|title={{{introduced-title|Introduced}}}|content={{{introduced|}}}}}
{{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 class {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
}}
__NOTOC__{{clear}}
 
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Ship class {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>{{clear}}
==About==
==About==
*User-friendly in terms of basic appearance modification.
*User-friendly in terms of basic appearance modification.
Line 84: Line 71:
|introduced=
|introduced=
|affiliation=
|affiliation=
}}</pre>
}}
</pre>


==Custom parameters==
==Custom parameters==
Line 111: Line 99:
|introduced-title=
|introduced-title=
|affiliation-title=
|affiliation-title=
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section1-title=
|section2-title=
|section2-title=
|section3-title=
|section3-title=
</pre>
==Display parameters==
The following allows you to hide the section header
*hidea (hides Production section header)
*hideb (hides Tech Specs section header)
*hidec (hides Chrono section header)
<pre>
|hidea=
|hideb=
|hidec=
</pre>
</pre>


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

Revision as of 13:16, August 29, 2023

Ship class infobox
 

About

  • User-friendly in terms of basic appearance modification.
  • Compatible with most modern web-browsers (except IE8).

This is an infobox for technical and usage information on specific classes of ships. The fields are relevant to starships, fighters, shuttles, space stations, and most other spacefaring constructs.

For individual ships, do not use this template. Use Template:Individual ship infobox instead.

{{Ship class infobox
|name=
|image=
|hull symbol=
|architect=
|manufacturer=
|class=
|role=
|length=
|width=
|height=
|mass=
|power=
|engine=
|slipspace drive=
|navigation=
|hull=
|shielding=
|armament=
|complement=
|crew=
|passengers=
|othersystems=
|era=
|introduced=
|affiliation=
}}

Custom parameters

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

|hull symbol-title=
|manufacturer-title=
|class-title=
|role-title= 
|length-title=
|width-title=
|height-title=
|mass-title=
|power-title=
|engine-title=
|slipspace drive-title=
|navigation-title=
|hull-title=
|armament-title=
|complement-title=
|crew-title=
|passengers-title=
|othersystems-title=
|era-title=
|introduced-title=
|affiliation-title=
|section1-title=
|section2-title=
|section3-title=