Template:Ship class infobox: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
m (Text replacement - "{{pagetitle\|{{{pagename\|{{#if:{{{name\|}}}\|{{{name}}}\|{{PAGETITLE}}}}}}} - {{{pagelabel\|([^ ]+ [^ ]+) {{#ifeq:{{SUBPAGENAME}}\|Silver\|\(Silver Timeline\)}}}}}}}" to "{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|$1}}}}}")
(109 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:#ffffff; border-collapse:collapse; border:1px solid #999999; 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="4" 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|#669}}};">{{{image|}}}</td></tr>
 
<tr style="text-align:center; color:#ffffff; background:#669; font-size:larger;"><th colspan="2">{{{name}}}</th></tr>{{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#bbd;">'''Production information'''</th></tr>}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Manufacturer</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{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: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Model</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{architect-title|Naval architects}}}|content={{{architect|}}}}}
{{{model|}}}
{{Infobox|entry|title={{{manufacturer-title|Manufacturer}}}|content={{{manufacturer|}}}}}
</td></tr>|1{{{model|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Known Classes</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{class-title|Class}}}|content={{{class|}}}}}
{{{classes|}}}
{{Infobox|entry|title={{{role-title|Role}}}|content={{{role|}}}}}
</td></tr>|1{{{classes|}}}=}}{{t|1=|1{{{hidet|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#bbd;">'''Technical specifications'''</th></tr>}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Engine unit(s)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
}}
{{{engine|}}}
 
</td></tr>|1{{{engine|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Slipspace  Drive</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|section|title={{{section2-title|Technical specifications}}}|bg=#5D8AA8|entries=
{{{slipspace drive|}}}
{{Infobox|entry|title={{{length-title|Length}}}|content={{{length|}}}}}
</td></tr>|1{{{slipspace drive|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Shielding</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{width-title|Width}}}|content={{{width|}}}}}
{{{shield gen|}}}
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}}}
</td></tr>|1{{{shield gen|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Hull</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{mass-title|Mass}}}|content={{{mass|}}}}}
{{{hull|}}}
{{Infobox|entry|title={{{power-title|Power plant}}}|content={{{power|}}}}}
</td></tr>|1{{{hull|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Length</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{engine-title|Engine(s)}}}|content={{{engine|}}}}}
{{{length|}}}
{{Infobox|entry|title={{{slipspace drive-title|Slipspace drive}}}|content={{{slipspace drive|}}}}}
</td></tr>|1{{{length|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Width</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{navigation-title|Navigation system(s)}}}|content={{{navigation|}}}}}
{{{width|}}}
{{Infobox|entry|title={{{othersystems-title|Other system(s)}}}|content={{{othersystems|}}}}}
</td></tr>|1{{{width|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Height/depth</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{hull-title|Hull}}}|content={{{hull|}}}}}
{{{height|}}}
{{Infobox|entry|title={{{shielding-title|Shielding}}}|content={{{shielding|}}}}}
</td></tr>|1{{{height|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Countermeasures</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{armament-title|Armament}}}|content={{{armament|}}}}}
{{{countermeasures|}}}
{{Infobox|entry|title={{{complement-title|Complement}}}|content={{{complement|}}}}}
</td></tr>|1{{{countermeasures|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Armament</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{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: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Complement</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
}}
{{{complement|}}}
 
</td></tr>|1{{{complement|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Capacity</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|section|title={{{section3-title|Chronological and affiliation}}}|bg=#5D8AA8|entries=
{{{capacity|}}}
{{Infobox|entry|title={{{era-title|Era}}}|content={{{era|}}}}}
</td></tr>|1{{{capacity|}}}=}}{{t|1=|1{{{hideu|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#bbd;">'''Usage'''</th></tr>}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Role(s)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{introduced-title|Introduced}}}|content={{{introduced|}}}}}
{{{role|}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
</td></tr>|1{{{role|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Affiliation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
}}
{{{affiliation|}}}
 
</td></tr>|1{{{affiliation|}}}=}}</table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Ship Class Infobox|[Source]]]</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]]</includeonly><noinclude><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. -->__NOTOC__
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Ship class}}}}}</includeonly><noinclude>{{clear}}
{{clear}}
==About==
<noinclude>
*User-friendly in terms of basic appearance modification.
*Compatible with most modern web-browsers (except [[wikipedia:IE8|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.


== Usage ==
<pre>
<pre>
{{Ship Class Infobox
{{Ship class infobox
|name=
|name=
|image=
|image=
|hull symbol=
|architect=
|manufacturer=
|manufacturer=
|model=only on articles relating to classes, not types
|class=
|classes=only on articles relating to types, not classes
|role=
|length=
|width=
|height=
|mass=
|power=
|engine=
|engine=
|slipspace drive=
|slipspace drive=
|shield gen=
|navigation=
|hull=
|hull=
|length= only on articles relating to classes, not types
|shielding=
|width=only on articles relating to classes, not types
|height=only on articles relating to classes, not types
|countermeasures=
|armament=
|armament=
|complement=
|complement=
|capacity=
|crew=
|role=
|passengers=
|othersystems=
|era=
|introduced=
|affiliation=
|affiliation=
}}</pre>
}}
</pre>
 
==Custom parameters==
The following allows you to alter the title of the sub-sections:
 
<pre>
|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=
</pre>


[[Category:Templates|{{PAGENAME}}]]
[[Category:Infobox templates]]</noinclude>
</noinclude>

Revision as of 12:20, March 22, 2024

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=