Template:Ship class infobox: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
(some articles could really use these parameters.)
Line 15: Line 15:
</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;">
</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;">
{{{height|}}}
{{{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;">Engine</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
</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 source</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
{{{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;">
{{{engine|}}}
{{{engine|}}}
</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;">
</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;">
{{{slipspace drive|}}}
{{{slipspace drive|}}}
</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;">{{{hull-title|Hull}}}</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
</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;">
{{{navigation|}}}
</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;">
{{{hull|}}}
{{{hull|}}}
</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;">
</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;">
Line 25: Line 29:
</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;">
</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|}}}
{{{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;">{{{misc-title|Miscellaneous}}}</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
</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;">
{{{crew|}}}
</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;">
{{{passengers|}}}
</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;">
{{{misc|}}}
{{{misc|}}}
</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;">
</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;">
{{{era|}}}
{{{era|}}}
</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;">Affiliation</td><td class="infoboxcell" style="border-top: 1px solid #1AB895; border-bottom: 1px solid #1AB895;">
</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|}}}
{{{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>
</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>
Line 47: Line 59:
|width=
|width=
|height=
|height=
|power=
|engine=
|engine=
|slipspace drive=
|slipspace drive=
|navigation=
|hull=
|hull=
|armament=
|armament=
|complement=
|complement=
|crew=
|passengers=
|othersystems=
|era=
|era=
|introduced=
|affiliation=
|affiliation=
}}</pre>
}}</pre>

Revision as of 13:46, January 23, 2011

  [Source]

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.

For individual ships, do not use this template. Use Template:Individual Ship Infobox instead.

{{Ship Class Infobox
|name=
|image=
|manufacturer=
|class=
|role=
|length=
|width=
|height=
|power=
|engine=
|slipspace drive=
|navigation=
|hull=
|armament=
|complement=
|crew=
|passengers=
|othersystems=
|era=
|introduced=
|affiliation=
}}

Custom parameters

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

|manufacturer-title=
|class-title=
|hull-title=
|armament-title=
|complement-title=
|misc-title=
|misc=
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=

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)
|hidea=
|hideb=
|hidec=