Template:Ship class infobox: Difference between revisions
From Halopedia, the Halo wiki
(Undo revision 929455 by The All-knowing Sith'ari (talk)) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{| cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:6px; padding:2px; background:{{{BG|#334B5B}}}; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em; color:{{{color1|inherit}}};" | |||
{{!}}- | |||
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | |||
{{!}}- | |||
{{#if:{{{image|}}}| | |||
! style="background:{{{imageBG|#F0F8FF}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}} | |||
}} | |||
{{!}}- | |||
{{#if:{{{hidea|}}}|{{!}}-|{{!}}- | |||
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section1-title|Production information}}}}} | |||
{{!}}- | |||
{{#if:{{{manufacturer|}}}| | |||
{{!}} 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}}}''': | |||
{{!}} 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|}}} | {{{manufacturer|}}} | ||
{{!}}-}} | |||
{{#if:{{{class|}}}| | |||
{{!}} 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}}}''': | |||
{{!}} 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|}}} | {{{class|}}} | ||
{{!}}-}} | |||
{{#if:{{{role|}}}| | |||
{{!}} 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}}}''': | |||
{{!}} 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|}}} | {{{role|}}} | ||
{{!}}-}} | |||
{{#if:{{{hideb|}}}|{{!}}-|{{!}}- | |||
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section2-title|Technical specifications}}}}} | |||
{{!}}- | |||
{{#if:{{{length|}}}| | |||
{{!}} 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}}}:''' | |||
{{!}} 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|}}} | {{{length|}}} | ||
{{!}}-}} | |||
{{#if:{{{width|}}}| | |||
{{!}} 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|[[wikipedia:Beam (nautical)|<span style="color:inherit;">Beam</span>]]}}}:''' | |||
{{!}} 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|}}} | {{{width|}}} | ||
{{!}}-}} | |||
{{#if:{{{height|}}}| | |||
{{!}} 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}}}:''' | |||
{{!}} 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|}}} | {{{height|}}} | ||
{{!}}-}} | |||
{{#if:{{{power|}}}| | |||
{{!}} 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}}}:''' | |||
{{!}} 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|}}} | {{{power|}}} | ||
{{!}}-}} | |||
{{#if:{{{engine|}}}| | |||
{{!}} 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)}}}:''' | |||
{{!}} 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|}}} | {{{engine|}}} | ||
{{!}}-}} | |||
{{#if:{{{slipspace drive|}}}| | |||
{{!}} 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}}}:''' | |||
{{!}} 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|}}} | {{{slipspace drive|}}} | ||
{{!}}-}} | |||
{{#if:{{{navigation|}}}| | |||
{{!}} 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)}}}:''' | |||
{{!}} 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|}}} | {{{navigation|}}} | ||
{{!}}-}} | |||
{{#if:{{{othersystems|}}}| | |||
{{!}} 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)}}}:''' | |||
{{!}} 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|}}}| | |||
{{!}} 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}}}:''' | |||
{{!}} 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|}}} | {{{hull|}}} | ||
{{!}}-}} | |||
{{#if:{{{armament|}}}| | |||
{{!}} 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}}}:''' | |||
{{!}} 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|}}} | {{{armament|}}} | ||
{{!}}-}} | |||
{{#if:{{{complement|}}}| | |||
{{!}} 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}}}:''' | |||
{{!}} 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|}}} | {{{complement|}}} | ||
{{!}}-}} | |||
{{#if:{{{crew|}}}| | |||
{{!}} 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}}}:''' | |||
{{!}} 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|}}} | {{{crew|}}} | ||
{{!}}-}} | |||
{{#if:{{{misc|}}}| | |||
{{!}} 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}}}:''' | |||
{{!}} 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|}}} | {{{misc|}}} | ||
{{!}}-}} | |||
{{#if:{{{hidec|}}}|{{!}}-|{{!}}- | |||
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section3-title|Chronological and affiliation}}}}} | |||
{{!}}- | |||
{{#if:{{{era|}}}| | |||
{{!}} 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}}}:''' | |||
{{!}} 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|}}} | {{{era|}}} | ||
{{!}}-}} | |||
{{#if:{{{introduced|}}}| | |||
{{!}} 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}}}:''' | |||
{{!}} 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|}}} | {{{introduced|}}} | ||
{{!}}-}} | |||
{{#if:{{{affiliation|}}}| | |||
{{!}} 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}}}:''' | |||
{{!}} 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|}}} | {{{affiliation|}}} | ||
{{!}}-}} | |||
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px;" | [[Template:Ship Class Infobox|<span style="color:#FFFFFF;">[Source]</span>]] | |||
|}<includeonly>[[Category:Ship Classes|{{PAGENAME}}]]</includeonly><noinclude> | |||
__NOTOC__{{clear}} | |||
==About== | |||
*User-friendly in terms of basic appearance modification. | |||
*Compatible with most modern web-browsers (except [[wikipedia:IE8|IE8]]). | |||
==Custom parameters== | |||
The following are custom parameters that allows you to alter the content in the box. | |||
<pre> | |||
|body-title = | |||
|bodyfigure-title = | |||
|branch-title = | |||
|main-title = | |||
|language-title = | |||
|script-title = | |||
|religion-title = | |||
|notable-title = | |||
|formed-title = | |||
|dissolved-title = | |||
|affiliation -title = | |||
|imageBG = | |||
|nameBG = | |||
|sectionBG = | |||
|fieldBG = | |||
|titleBG = | |||
|color1 = | |||
|color2 = | |||
|section1-title= | |||
|section2-title= | |||
|section3-title= | |||
</pre> | |||
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. | ||
Line 51: | Line 168: | ||
<pre> | <pre> | ||
{{Ship Class Infobox | {{Ship Class Infobox | ||
|image= | |image= | ||
|manufacturer= | |manufacturer= | ||
Line 89: | Line 205: | ||
|fieldBG= | |fieldBG= | ||
|titleBG= | |titleBG= | ||
|color1= | |||
|color2= | |||
|section1-title= | |||
|section2-title= | |||
|section3-title= | |||
</pre> | </pre> | ||
Line 102: | Line 223: | ||
|hidec= | |hidec= | ||
</pre> | </pre> | ||
[[Category:Infoboxes|{{PAGENAME}}]] | [[Category:Infoboxes|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 09:00, August 23, 2011
Ship class infobox | |
---|---|
Production information | |
Technical specifications | |
Chronological and affiliation | |
[Source] |
About
- User-friendly in terms of basic appearance modification.
- Compatible with most modern web-browsers (except IE8).
Custom parameters
The following are custom parameters that allows you to alter the content in the box.
|body-title = |bodyfigure-title = |branch-title = |main-title = |language-title = |script-title = |religion-title = |notable-title = |formed-title = |dissolved-title = |affiliation -title = |imageBG = |nameBG = |sectionBG = |fieldBG = |titleBG = |color1 = |color2 = |section1-title= |section2-title= |section3-title=
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 |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= |color1= |color2= |section1-title= |section2-title= |section3-title=
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=