Template:Ship class infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "0 0 10px 15px" to "0 0 0.75em 1em")
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(70 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="float:right; clear:right; width:260px; margin:0 0 0.75em 1em; padding:2px; background:{{{BG|#334B5B}}}; border-radius: 0 0 .7em .7em; color:{{{color1|#000}}};"
{{Infobox|start|bg=#334B5B}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}}}
{{!}}-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#F0F8FF}}
{{#if:{{{image|}}}|
 
! style="background:{{{imageBG|#F0F8FF}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}}
{{Infobox|section|title={{{section1-title|Production information}}}|bg=#5D8AA8|entries=
{{Infobox|entry|title={{{hull symbol-title|Hull symbol}}}|content={{{hull symbol|}}}}}
{{Infobox|entry|title={{{architect-title|Naval architects}}}|content={{{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|Technical specifications}}}|bg=#5D8AA8|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|Power plant}}}|content={{{power|}}}}}
{{Infobox|entry|title={{{engine-title|Engine(s)}}}|content={{{engine|}}}}}
{{Infobox|entry|title={{{slipspace drive-title|Slipspace drive}}}|content={{{slipspace drive|}}}}}
{{Infobox|entry|title={{{navigation-title|Navigation system(s)}}}|content={{{navigation|}}}}}
{{Infobox|entry|title={{{othersystems-title|Other system(s)}}}|content={{{othersystems|}}}}}
{{Infobox|entry|title={{{hull-title|Hull}}}|content={{{hull|}}}}}
{{Infobox|entry|title={{{shielding-title|Shielding}}}|content={{{shielding|}}}}}
{{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={{{misc-title|Miscellaneous}}}|content={{{misc|}}}}}
}}
}}
{{!}}-
 
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|section|title={{{section3-title|Chronological and affiliation}}}|bg=#5D8AA8|entries=
! colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section1-title|Production information}}}}}
{{Infobox|entry|title={{{era-title|Era}}}|content={{{era|}}}}}
{{!}}-
{{Infobox|entry|title={{{introduced-title|Introduced}}}|content={{{introduced|}}}}}
{{#if:{{{manufacturer|}}}|
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
}}
'''{{{manufacturer-title|Manufacturer}}}''':
 
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Ship class}}}}}</includeonly><noinclude>{{clear}}
{{{manufacturer|}}}
==Usage instructions==
{{!}}-}}
{{#if:{{{class|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{class-title|Class}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{class|}}}
{{!}}-}}
{{#if:{{{role|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{role-title|Role}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{role|}}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section2-title|Technical specifications}}}}}
{{!}}-
{{#if:{{{length|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{length-title|Length}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{length|}}}
{{!}}-}}
{{#if:{{{width|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{width-title|Width}}}:'''<!-- [[wikipedia:Beam (nautical)|<span style="color:#000000;">Beam</span>]] -->
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{width|}}}
{{!}}-}}
{{#if:{{{height|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{height-title|Height}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{height|}}}
{{!}}-}}
{{#if:{{{mass|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{mass-title|Mass}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{mass|}}}
{{!}}-}}
{{#if:{{{power|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{power-title|Power plant}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{power|}}}
{{!}}-}}
{{#if:{{{engine|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{engine-title|Engine(s)}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{engine|}}}
{{!}}-}}
{{#if:{{{slipspace drive|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{slipspace drive-title|Slipspace drive}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{slipspace drive|}}}
{{!}}-}}
{{#if:{{{navigation|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{navigation-title|Navigation system(s)}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{navigation|}}}
{{!}}-}}
{{#if:{{{othersystems|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{othersystems-title|Other system(s)}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{othersystems|}}}
{{!}}-}}
{{#if:{{{hull|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{hull-title|Hull}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{hull|}}}
{{!}}-}}
{{#if:{{{shielding|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{shielding-title|Shielding}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{shielding|}}}
{{!}}-}}
{{#if:{{{armament|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{armament-title|Armament}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{armament|}}}
{{!}}-}}
{{#if:{{{complement|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{complement-title|Complement}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{complement|}}}
{{!}}-}}
{{#if:{{{crew|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{crew-title|Crew}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{crew|}}}
{{!}}-}}
{{#if:{{{misc|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{misc-title|Miscellaneous}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{misc|}}}
{{!}}-}}
{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
! colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section3-title|Chronological and affiliation}}}}}
{{!}}-
{{#if:{{{era|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{era-title|Era}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{era|}}}
{{!}}-}}
{{#if:{{{introduced|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{introduced-title|Introduced}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{introduced|}}}
{{!}}-}}
{{#if:{{{affiliation|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{affiliation-title|Affiliation}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{affiliation|}}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" |&nbsp;
|}<noinclude>
__NOTOC__{{clear}}
==About==
*User-friendly in terms of basic appearance modification.
*User-friendly in terms of basic appearance modification.
*Compatible with most modern web-browsers (except [[wikipedia:IE8|IE8]]).
*Compatible with most modern web-browsers (except [[wikipedia:IE8|IE8]]).
Line 151: Line 43:


For individual ships, do not use this template. Use [[:Template:Individual ship infobox]] instead.
For individual ships, do not use this template. Use [[:Template:Individual ship infobox]] instead.
<pre>
<pre>
{{Ship class infobox
{{Ship class infobox
|name=
|name=
|image=
|image=
|hull symbol=
|architect=
|manufacturer=
|manufacturer=
|class=
|class=
Line 176: Line 71:
|introduced=
|introduced=
|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 symbol-title=
|manufacturer-title=
|manufacturer-title=
|class-title=
|class-title=
|role-title=  
|role-title=
|length-title=
|length-title=
|width-title=
|width-title=
Line 201: 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=
Line 213: Line 104:
</pre>
</pre>


==Display parameters==
[[Category:Infobox templates]]</noinclude>
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>
 
[[Category:Updated infoboxes|{{PAGENAME}}]]
</noinclude>

Latest revision as of 10:10, June 14, 2024

Ship class infobox
 

Usage instructions

  • 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=