Template:Ship class infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(100 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background: transparent; border-collapse:collapse; border:1px solid #222222; font-size:smaller; line-height:1.5;">
{{Infobox|start|bg=#334B5B}}
<tr><td colspan="2"><div id="infoboxinternal">
{{Infobox|title|name={{{name|}}}}}
<table border="0" cellspacing="0" cellpadding="1.5" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#F0F8FF}}
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{imageBG|#F0F8FF}}};">{{{image|}}}</td></tr>
 
<tr style="text-align:center; color:#ffffff; background:{{{nameBG|#30D5C8}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hidea|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{sectionBG|#5D8AA8}}};">'''Production information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">{{{manufacturer-title|Manufacturer}}}</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
{{Infobox|section|title={{{section1-title|Production information}}}|bg=#5D8AA8|entries=
{{{manufacturer|}}}
{{Infobox|entry|title={{{hull symbol-title|Hull symbol}}}|content={{{hull symbol|}}}}}
</td></tr>|1{{{manufacturer|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">{{{class-title|Class}}}</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
{{Infobox|entry|title={{{architect-title|Naval architects}}}|content={{{architect|}}}}}
{{{class|}}}
{{Infobox|entry|title={{{manufacturer-title|Manufacturer}}}|content={{{manufacturer|}}}}}
</td></tr>|1{{{class|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">{{{role-title|Role}}}</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
{{Infobox|entry|title={{{class-title|Class}}}|content={{{class|}}}}}
{{{role|}}}
{{Infobox|entry|title={{{role-title|Role}}}|content={{{role|}}}}}
</td></tr>|1{{{role|}}}=}} {{t|1=|1{{{hideb|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{sectionBG|#5D8AA8}}};">'''Technical specifications'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">Length</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
}}
{{{length|}}}
 
</td></tr>|1{{{length|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">Width</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
{{Infobox|section|title={{{section2-title|Technical specifications}}}|bg=#5D8AA8|entries=
{{{width|}}}
{{Infobox|entry|title={{{length-title|Length}}}|content={{{length|}}}}}
</td></tr>|1{{{width|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">Height</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
{{Infobox|entry|title={{{width-title|Width}}}|content={{{width|}}}}}
{{{height|}}}
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}}}
</td></tr>|1{{{height|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">Power plant</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
{{Infobox|entry|title={{{mass-title|Mass}}}|content={{{mass|}}}}}
{{{power|}}}
{{Infobox|entry|title={{{power-title|Power plant}}}|content={{{power|}}}}}
</td></tr>|1{{{power|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">Engine</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
{{Infobox|entry|title={{{engine-title|Engine(s)}}}|content={{{engine|}}}}}
{{{engine|}}}
{{Infobox|entry|title={{{slipspace drive-title|Slipspace drive}}}|content={{{slipspace drive|}}}}}
</td></tr>|1{{{engine|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">Slipspace drive</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
{{Infobox|entry|title={{{navigation-title|Navigation system(s)}}}|content={{{navigation|}}}}}
{{{slipspace drive|}}}
{{Infobox|entry|title={{{othersystems-title|Other system(s)}}}|content={{{othersystems|}}}}}
</td></tr>|1{{{slipspace drive|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">Navigation system(s)</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
{{Infobox|entry|title={{{hull-title|Hull}}}|content={{{hull|}}}}}
{{{navigation|}}}
{{Infobox|entry|title={{{shielding-title|Shielding}}}|content={{{shielding|}}}}}
</td></tr>|1{{{navigation|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">{{{hull-title|Hull}}}</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
{{Infobox|entry|title={{{armament-title|Armament}}}|content={{{armament|}}}}}
{{{hull|}}}
{{Infobox|entry|title={{{complement-title|Complement}}}|content={{{complement|}}}}}
</td></tr>|1{{{hull|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">{{{armament-title|Armaments}}}</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
{{Infobox|entry|title={{{crew-title|Crew}}}|content={{{crew|}}}}}
{{{armament|}}}
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}}}
</td></tr>|1{{{armament|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">{{{complement-title|Complement}}}</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
}}
{{{complement|}}}
 
</td></tr>|1{{{complement|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">Crew</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
{{Infobox|section|title={{{section3-title|Chronological and affiliation}}}|bg=#5D8AA8|entries=
{{{crew|}}}
{{Infobox|entry|title={{{era-title|Era}}}|content={{{era|}}}}}
</td></tr>|1{{{crew|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">Passengers</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
{{Infobox|entry|title={{{introduced-title|Introduced}}}|content={{{introduced|}}}}}
{{{passengers|}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
</td></tr>|1{{{passengers|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">Other systems</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
}}
{{{othersystems|}}}
 
</td></tr>|1{{{othersystems|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">{{{misc-title|Miscellaneous}}}</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Ship class}}}}}</includeonly><noinclude>{{clear}}
{{{misc|}}}
==Usage instructions==
</td></tr>|1{{{misc|}}}=}} {{t|1=|1{{{hidec|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{sectionBG|#5D8AA8}}};">'''Chronological and affiliation'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">Era</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
*User-friendly in terms of basic appearance modification.
{{{era|}}}
*Compatible with most modern web-browsers (except [[wikipedia:IE8|IE8]]).
</td></tr>|1{{{era|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">Introduced</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
{{{introduced|}}}
</td></tr>|1{{{introduced|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{fieldBG|F0F8FF}}};"><td style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">Affiliation</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
{{{affiliation|}}}
</td></tr>|1{{{affiliation|}}}=}} </table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="background:#222222; text-align:right; width:49%;"></td><td style="background:#222222; text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Ship Class Infobox|<span style="color:#fff;">[Source]</span>]]</td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><includeonly>[[Category:Ship Classes|{{PAGENAME}}]]</includeonly><noinclude>


== Usage ==
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.
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.
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 59: Line 56:
|width=
|width=
|height=
|height=
|mass=
|power=
|power=
|engine=
|engine=
Line 64: Line 62:
|navigation=
|navigation=
|hull=
|hull=
|shielding=
|armament=
|armament=
|complement=
|complement=
Line 72: 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=
|length-title=
|width-title=
|height-title=
|mass-title=
|power-title=
|engine-title=
|slipspace drive-title=
|navigation-title=
|hull-title=
|hull-title=
|armament-title=
|armament-title=
|complement-title=
|complement-title=
|misc-title=
|crew-title=
|misc=
|passengers-title=
|imageBG=
|othersystems-title=
|nameBG=
|era-title=
|sectionBG=
|introduced-title=
|fieldBG=
|affiliation-title=
|titleBG=
|section1-title=
|section2-title=
|section3-title=
</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: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=