Difference between revisions of "Template:Specification"

Template page
(Creating the new Specification infobox template)
 
m
 
(37 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="infobox">
 
{| class="ibtable" align="right" cellpadding="3" cellspacing="0"
<includeonly>
{{#if: {{{image|}}}|
<infobox theme="bravo">
    {{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{image}}}
<title source="name">
    {{!}}-
<default>{{PAGENAME}}</default><format>''{{{name|}}}'' Class</format>
    {{!}} class="ibname" colspan="2" {{!}} {{{displayName|}}}|
</title>
    <!-- If no image -->{{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{displayName|}}}
<image source="image"/>
<header>{{#if:{{{tab1|}}}||Information}}</header>
<data source="affiliation"><label>Affiliation</label><format>{{#if:{{{tab1|}}}||{{{affiliation}}}}}</format></data>
<data source="status"><label>Status</label><format>{{#if:{{{tab1|}}}||{{{status}}}}}</format></data>
<data source="type"><label>{{infotip| Type | The broader classification this class fits within, comprised of other classes with similar capabilities, e.g. explorer or frigate}}</label><format>{{#if:{{{tab1|}}}||{{{type}}}}}</format></data>
<data source="role"><label>{{infotip| Role | The general types of missions or operational parameters assigned to this class, e.g. humanitarian response or deep space exploration}}</label><format>{{#if:{{{tab1|}}}||{{{role}}}}}</format></data>
<header>{{#if:{{{tab1|}}}||{{#if:{{{precedingClass|}}}{{{succeedingClass|}}}|Lineage|}}}}</header>
<data source="precedingClass"><label>Preceding Class</label><format>{{#if:{{{tab1|}}}||[[{{{precedingClass|}}} Class|''{{{precedingClass|}}}''-class]]}}</format></data>
<data source="succeedingClass"><label>Succeeding Class</label><format>{{#if:{{{tab1|}}}||[[{{{succeedingClass|}}} Class|''{{{succeedingClass|}}}''-class]]}}</format></data>
<data source="designSchool"><label>Design School</label><format>{{#if:{{{tab1|}}}||{{{designSchool}}}}}</format></data>
<header>{{#if:{{{tab1|}}}||{{#if:{{{operator|}}}{{{dateEntered|}}}{{{productionEnded|}}}{{{retired|}}}|Service|}}}}</header>
<data source="operator"><label>Operator</label><format>{{#if:{{{tab1|}}}||{{{operator|}}}}}</format></data>
<data source="dateEntered"><label>Entered Service</label><format>{{#if:{{{tab1|}}}||{{{dateEntered|}}}}}</format></data>
<data source="productionEnd"><label>Production Ended</label><format>{{#if:{{{tab1|}}}||{{{productionEnd|}}}}}</format></data>
<data source="retired"><label>Retired</label><format>{{#if:{{{tab1|}}}||{{{retired|}}}}}</format></data>
<header>{{#if:{{{tab1|}}}||{{#if:{{{expectedDuration|}}}{{{expectedRefit|}}}{{{timeResupply|}}}|Endurance|}}}}</header>
<data source="expectedDuration"><label>{{infotip| Expected Design Life | The total designed lifespan of a member of this class before it would either become obsolete or structurally unsound, factoring in expected refits and upgrades.}}</label><format>{{#if:{{{tab1|}}}||{{{expectedDuration|}}}}}</format></data>
<data source="expectedRefit"><label>{{infotip| Expected Refit Cycle | The period intended between major refits for a member of this class, meaning significant updates or additions beyond simple repairs}}</label><format>{{#if:{{{tab1|}}}||{{{expectedRefit|}}}}}</format></data>
<data source="timeResupply"><label>{{infotip| Expected Resupply Cycle | The maximum time that a member of this class can go without being resupplied with fuel and/or supplies.}}</label><format>{{#if:{{{tab1|}}}||{{{timeResupply|}}}}}</format></data>
<header>{{#if:{{{tab1|}}}||{{#if:{{{crewComplement|}}}{{{emergencyCap|}}}{{{civilians|}}}{{{populationCap|}}}{{{flightCrew|}}}{{{passengers|}}}|{{#if:{{{cruiseSpeed|}}}|Crew Capacity|Population}}|}}}}</header>
<data source="crewComplement"><label>{{infotip| Standard Complement | The normal number of crewmembers assigned to a class, necessary to maintain its operational functions and conduct its missions. Most vessels and stations can operate with slightly higher or slightly lower crew counts, as mission needs dictate.}}</label><format>{{#if:{{{tab1|}}}||{{{crewComplement|}}}}}</format></data>
<data source="emergencyCap"><label>{{infotip| Emergency Capacity | The largest number of humanoid beings a vessel could safely transport within life support and evacuation (escape pod, shuttle, and transporter) capabilities.}}</label><format>{{#if:{{{tab1|}}}||{{{emergencyCap|}}}}}</format></data>
<data source="civilians"><label>Civilian Residents</label><format>{{#if:{{{tab1|}}}||{{{civilians|}}}}}</format></data>
<data source="populationCap"><label>Maximum Population</label><format>{{#if:{{{tab1|}}}||{{{populationCap|}}}}}</format></data>
<data source="flightCrew"><label>Flight Crew</label><format>{{#if:{{{tab1|}}}||{{{flightCrew|}}}}}</format></data>
<data source="passengers"><label>Passengers</label><format>{{#if:{{{tab1|}}}||{{{passengers|}}}}}</format></data>
<header>{{#if:{{{tab1|}}}||{{#if:{{{length|}}}{{{width|}}}{{{diameter|}}}{{{height|}}}{{{decks|}}}|Dimensions|}}}}</header>
<data source="length"><label>Length</label><format>{{#if:{{{tab1|}}}||{{{length|}}}}}</format></data>
<data source="width"><label>Width</label><format>{{#if:{{{tab1|}}}||{{{width|}}}}}</format></data>
<data source="diameter"><label>Diameter</label><format>{{#if:{{{tab1|}}}||{{{diameter|}}}}}</format></data>
<data source="height"><label>Height</label><format>{{#if:{{{tab1|}}}||{{{height|}}}}}</format></data>
<data source="decks"><label>Decks</label><format>{{#if:{{{tab1|}}}||{{{decks|}}}}}</format></data>
<header>{{#if:{{{tab1|}}}||{{#if:{{{propulsionSystem|}}}{{{cruiseSpeed|}}}{{{maxSpeed|}}}{{{emergencySpeed|}}}|Propulsion|}}}}</header>
<data source="propulsionSystem"><label>Propulsion System</label><format>{{#if:{{{tab1|}}}||{{{propulsionSystem|}}}}}</format></data>
<data source="cruiseSpeed"><label>{{infotip| Cruise Speed | The highest speed a vessel may maintain with optimal fuel efficiency, i.e. the speed a vessel could theoretically sustain for the entirety of its resupply time.}}</label><format>{{#if:{{{tab1|}}}||{{{cruiseSpeed|}}}}}</format></data>
<data source="maxSpeed"><label>{{infotip| Maximum Speed | The highest sustainable speed a vessel may maintain without structural damage, but with reduced fuel efficiency, i.e. the speed a vessel could theoretically sustain until fuel runs out.}}</label><format>{{#if:{{{tab1|}}}||{{{maxSpeed|}}}}}</format></data>
<data source="emergencySpeed"><label>{{infotip| Emergency Speed | The highest speed a vessel's engines can reach, generally with damage to the engines or the ship's structure occurring after a relatively short amount of time, indicated after the speed value}}</label><format>{{#if:{{{tab1|}}}||{{{emergencySpeed|}}}}}</format></data>
<header>{{#if:{{{tab1|}}}||{{#if:{{{energyWeapons|}}}{{{torpLaunchers|}}}{{{torpPayload|}}}{{{sheilds|}}}|Armaments|}}}}</header>
<data source="energyWeapons"><label>Energy Weapons</label><format>{{#if:{{{tab1|}}}||{{{energyWeapons|}}}}}</format></data>
<data source="torpLaunchers"><label>Torpedo Launchers</label><format>{{#if:{{{tab1|}}}||{{{torpLaunchers|}}}}}</format></data>
<data source="torpPayload"><label>Torpedo Payload</label><format>{{#if:{{{tab1|}}}||{{{torpPayload|}}}}}</format></data>
<data source="shields"><label>Shields</label><format>{{#if:{{{tab1|}}}||{{{shields|}}}}}</format></data>
<header>{{#if:{{{tab1|}}}||{{#if:{{{dockingfacilities|}}}{{{shuttleBays|}}}{{{shuttles|}}}{{{runabouts|}}}{{{fighters|}}}{{{aux|}}}|Small Craft|}}}}</header>
<data source="dockingfacilities"><label>Docking Facilities</label><format>{{#if:{{{tab1|}}}||{{{dockingfacilities|}}}}}</format></data>
<data source="shuttleBays"><label>Shuttle Bays</label><format>{{#if:{{{tab1|}}}||{{{shuttleBays|}}}}}</format></data>
<data source="shuttles"><label>Shuttles</label><format>{{#if:{{{tab1|}}}||{{{shuttles|}}}}}</format></data>
<data source="runabouts"><label>Runabouts</label><format>{{#if:{{{tab1|}}}||{{{runabouts|}}}}}</format></data>
<data source="fighters"><label>Fighters</label><format>{{#if:{{{tab1|}}}||{{{fighters|}}}}}</format></data>
<data source="aux"><label>Auxiliary Craft</label><format>{{#if:{{{tab1|}}}||{{{aux|}}}}}</format></data>
<panel name="configuration">
<header>{{#if:{{{tab1|}}}|Configuration|}}</header>
<section name="Configuration1">
<label>{{{tab1}}}</label>
<group>
<image source="t1image"/>
<header>{{#if:{{{tab1|}}}|Information|}}</header>
<data source="t1affiliation"><label>Affiliation</label><default>{{#if:{{{tab1|}}}|{{{affiliation|}}}|}}</default></data>
<data source="t1status"><label>Status</label><default>{{#if:{{{tab1|}}}|{{{status|}}}|}}</default></data>
<data source="t1type"><label>{{infotip| Type | The broader classification this class fits within, comprised of other classes with similar capabilities, e.g. explorer or frigate}}</label><default>{{#if:{{{tab1|}}}|{{{type|}}}|}}</default></data>
<data source="t1role"><label>{{infotip| Role | The general types of missions or operational parameters assigned to this class, e.g. humanitarian response or deep space exploration}}</label><default>{{#if:{{{tab1|}}}|{{{role|}}}|}}</default></data>
<header>{{#if:{{{tab1|}}}|{{#if:{{{t1precedingClass|}}}{{{t1succeedingClass|}}}{{{precedingClass|}}}{{{succeedingClass|}}}|Lineage|}}|}}</header>
<data source="t1precedingClass"><label>Preceding Class</label><format>[[{{{t1precedingClass|}}} Class|''{{{t1precedingClass|}}}''-class]]</format><default>{{#if:{{{tab1|}}}|[[{{{precedingClass|}}} Class|''{{{precedingClass|}}}''-class]]|}}</default></data>
<data source="t1succeedingClass"><label>Succeeding Class</label><format>[[{{{t1succeedingClass|}}} Class|''{{{t1succeedingClass|}}}''-class]]</format><default>{{#if:{{{tab1|}}}|[[{{{succeedingClass|}}} Class|''{{{succeedingClass|}}}''-class]]|}}</default></data>
<data source="t1designSchool"><label>Design School</label><format>{{{t1designSchool|}}}</format><default>{{#if:{{{tab1|}}}|{{{designSchool|}}}}}</default></data>
<header>{{#if:{{{tab1|}}}|{{#if:{{{t1operator|}}}{{{t1dateEntered|}}}{{{t1productionEnded|}}}{{{t1retired|}}}{{{operator|}}}{{{dateEntered|}}}{{{productionEnded|}}}{{{retired|}}}|Service|}}|}}</header>
<data source="t1operator"><label>Operator</label><default>{{#if:{{{tab1|}}}|{{{operator|}}}|}}</default></data>
<data source="t1dateEntered"><label>Entered Service</label><default>{{#if:{{{tab1|}}}|{{{dateEntered|}}}|}}</default></data>
<data source="t1productionEnd"><label>Production Ended</label><default>{{#if:{{{tab1|}}}|{{{productionEnd|}}}|}}</default></data>
<data source="t1retired"><label>Retired</label><default>{{#if:{{{tab1|}}}|{{{retired|}}}|}}</default></data>
<header>{{#if:{{{tab1|}}}|{{#if:{{{t1expectedDuration|}}}{{{t1expectedRefit|}}}{{{t1timeResupply|}}}{{{expectedDuration|}}}{{{expectedRefit|}}}{{{timeResupply|}}}|Endurance|}}|}}</header>
<data source="t1expectedDuration"><label>{{infotip| Expected Design Life | The total designed lifespan of a member of this class before it would either become obsolete or structurally unsound, factoring in expected refits and upgrades.}}</label><default>{{#if:{{{tab1|}}}|{{{expectedDuration|}}}|}}</default></data>
<data source="t1expectedRefit"><label>{{infotip| Expected Refit Cycle | The period intended between major refits for a member of this class, meaning significant updates or additions beyond simple repairs}}</label><default>{{#if:{{{tab1|}}}|{{{expectedRefit|}}}|}}</default></data>
<data source="t1timeResupply"><label>{{infotip| Expected Resupply Cycle | The maximum time that a member of this class can go without being resupplied with fuel and/or supplies.}}</label><default>{{#if:{{{tab1|}}}|{{{timeResupply|}}}|}}</default></data>
<header>{{#if:{{{tab1|}}}|{{#if:{{{t1crewComplement|}}}{{{t1emergencyCap|}}}{{{t1civilians|}}}{{{t1populationCap|}}}{{{t1flightCrew|}}}{{{t1passengers|}}}{{{crewComplement|}}}{{{emergencyCap|}}}{{{civilians|}}}{{{populationCap|}}}{{{flightCrew|}}}{{{passengers|}}}|{{#if:{{{cruiseSpeed|}}}|Crew Capacity|Population}}|}}|}}</header>
<data source="t1crewComplement"><label>{{infotip| Standard Complement | The normal number of crewmembers assigned to a class, necessary to maintain its operational functions and conduct its missions. Most vessels and stations can operate with slightly higher or slightly lower crew counts, as mission needs dictate.}}</label><default>{{#if:{{{tab1|}}}|{{{crewComplement|}}}|}}</default></data>
<data source="t1emergencyCap"><label>{{infotip| Emergency Capacity | The largest number of humanoid beings a vessel could safely transport within life support and evacuation (escape pod, shuttle, and transporter) capabilities.}}</label><default>{{#if:{{{tab1|}}}|{{{emergencyCap|}}}|}}</default></data>
<data source="t1civilians"><label>Civilian Residents</label><default>{{#if:{{{tab1|}}}|{{{civilians|}}}|}}</default></data>
<data source="t1populationCap"><label>Maximum Population</label><default>{{#if:{{{tab1|}}}|{{{populationCap|}}}|}}</default></data>
<data source="t1flightCrew"><label>Flight Crew</label><default>{{#if:{{{tab1|}}}|{{{flightCrew|}}}|}}</default></data>
<data source="t1passengers"><label>Passengers</label><default>{{#if:{{{tab1|}}}|{{{passengers|}}}|}}</default></data>
<header>{{#if:{{{tab1|}}}|{{#if:{{{t1length|}}}{{{t1width|}}}{{{t1diameter|}}}{{{t1height|}}}{{{t1decks|}}}{{{length|}}}{{{width|}}}{{{diameter|}}}{{{height|}}}{{{decks|}}}|Dimensions|}}|}}</header>
<data source="t1length"><label>Length</label><default>{{#if:{{{tab1|}}}|{{{length|}}}|}}</default></data>
<data source="t1width"><label>Width</label><default>{{#if:{{{tab1|}}}|{{{width|}}}|}}</default></data>
<data source="t1diameter"><label>Diameter</label><default>{{#if:{{{tab1|}}}|{{{diameter|}}}|}}</default></data>
<data source="t1height"><label>Height</label><default>{{#if:{{{tab1|}}}|{{{height|}}}|}}</default></data>
<data source="t1decks"><label>Decks</label><default>{{#if:{{{tab1|}}}|{{{decks|}}}|}}</default></data>
<header>{{#if:{{{tab1|}}}|{{#if:{{{t1propulsionSystem|}}}{{{t1cruiseSpeed|}}}{{{t1maxSpeed|}}}{{{t1emergencySpeed|}}}{{{propulsionSystem|}}}{{{cruiseSpeed|}}}{{{maxSpeed|}}}{{{emergencySpeed|}}}|Propulsion|}}|}}</header>
<data source="t1propulsionSystem"><label>Propulsion System</label><default>{{#if:{{{tab1|}}}|{{{propulsionSystem|}}}|}}</default></data>
<data source="t1cruiseSpeed"><label>{{infotip| Cruise Speed | The highest speed a vessel may maintain with optimal fuel efficiency, i.e. the speed a vessel could theoretically sustain for the entirety of its resupply time.}}</label><default>{{#if:{{{tab1|}}}|{{{cruiseSpeed|}}}|}}</default></data>
<data source="t1maxSpeed"><label>{{infotip| Maximum Speed | The highest sustainable speed a vessel may maintain without structural damage, but with reduced fuel efficiency, i.e. the speed a vessel could theoretically sustain until fuel runs out.}}</label><default>{{#if:{{{tab1|}}}|{{{maxSpeed|}}}|}}</default></data>
<data source="t1emergencySpeed"><label>{{infotip| Emergency Speed | The highest speed a vessel's engines can reach, generally with damage to the engines or the ship's structure occurring after a relatively short amount of time, indicated after the speed value}}</label><default>{{#if:{{{tab1|}}}|{{{emergencySpeed|}}}|}}</default></data>
<header>{{#if:{{{tab1|}}}|{{#if:{{{t1energyWeapons|}}}{{{t1torpLaunchers|}}}{{{t1torpPayload|}}}{{{t1sheilds|}}}{{{energyWeapons|}}}{{{torpLaunchers|}}}{{{torpPayload|}}}{{{sheilds|}}}|Armaments|}}|}}</header>
<data source="t1energyWeapons"><label>Energy Weapons</label><default>{{#if:{{{tab1|}}}|{{{energyWeapons|}}}|}}</default></data>
<data source="t1torpLaunchers"><label>Torpedo Launchers</label><default>{{#if:{{{tab1|}}}|{{{torpLaunchers|}}}|}}</default></data>
<data source="t1torpPayload"><label>Torpedo Payload</label><default>{{#if:{{{tab1|}}}|{{{torpPayload|}}}|}}</default></data>
<data source="t1shields"><label>Shields</label><default>{{#if:{{{tab1|}}}|{{{shields|}}}|}}</default></data>
<header>{{#if:{{{tab1|}}}|{{#if:{{{t1dockingfacilities|}}}{{{t1shuttleBays|}}}{{{t1shuttles|}}}{{{t1runabouts|}}}{{{t1fighters|}}}{{{t1aux|}}}{{{dockingfacilities|}}}{{{shuttleBays|}}}{{{shuttles|}}}{{{runabouts|}}}{{{fighters|}}}{{{aux|}}}|Small Craft|}}|}}</header>
<data source="t1dockingfacilities"><label>Docking Facilities</label><default>{{#if:{{{tab1|}}}|{{{dockingfacilities|}}}|}}</default></data>
<data source="t1shuttleBays"><label>Shuttle Bays</label><default>{{#if:{{{tab1|}}}|{{{shuttleBays|}}}|}}</default></data>
<data source="t1shuttles"><label>Shuttles</label><default>{{#if:{{{tab1|}}}|{{{shuttles|}}}|}}</default></data>
<data source="t1runabouts"><label>Runabouts</label><default>{{#if:{{{tab1|}}}|{{{runabouts|}}}|}}</default></data>
<data source="t1fighters"><label>Fighters</label><default>{{#if:{{{tab1|}}}|{{{fighters|}}}|}}</default></data>
<data source="t1aux"><label>Auxiliary Craft</label><default>{{#if:{{{tab1|}}}|{{{aux|}}}|}}</default></data>
</group>
</section>
<section name="Configuration2">
<label>{{{tab2}}}</label>
<group>
<image source="t2image"/>
<header>{{#if:{{{tab2|}}}|Information|}}</header>
<data source="t2affiliation"><label>Affiliation</label><default>{{#if:{{{tab2|}}}|{{{affiliation|}}}|}}</default></data>
<data source="t2status"><label>Status</label><default>{{#if:{{{tab2|}}}|{{{status|}}}|}}</default></data>
<data source="t2type"><label>{{infotip| Type | The broader classification this class fits within, comprised of other classes with similar capabilities, e.g. explorer or frigate}}</label><default>{{#if:{{{tab2|}}}|{{{type|}}}|}}</default></data>
<data source="t2role"><label>{{infotip| Role | The general types of missions or operational parameters assigned to this class, e.g. humanitarian response or deep space exploration}}</label><default>{{#if:{{{tab2|}}}|{{{role|}}}|}}</default></data>
<header>{{#if:{{{tab2|}}}|{{#if:{{{t2precedingClass|}}}{{{t2succeedingClass|}}}{{{precedingClass|}}}{{{succeedingClass|}}}|Lineage|}}|}}</header>
<data source="t2precedingClass"><label>Preceding Class</label><format>[[{{{t2precedingClass|}}} Class|''{{{t2precedingClass|}}}''-class]]</format><default>{{#if:{{{tab2|}}}|[[{{{precedingClass|}}} Class|''{{{precedingClass|}}}''-class]]|}}</default></data>
<data source="t2succeedingClass"><label>Succeeding Class</label><format>[[{{{t2succeedingClass|}}} Class|''{{{t2succeedingClass|}}}''-class]]</format><default>{{#if:{{{tab2|}}}|[[{{{succeedingClass|}}} Class|''{{{succeedingClass|}}}''-class]]|}}</default></data>
<data source="t2designSchool"><label>Design School</label><format>{{{t2designSchool|}}}</format><default>{{#if:{{{tab2|}}}|{{{designSchool|}}}}}</default></data>
<header>{{#if:{{{tab2|}}}|{{#if:{{{t2operator|}}}{{{t2dateEntered|}}}{{{t2productionEnded|}}}{{{t2retired|}}}{{{operator|}}}{{{dateEntered|}}}{{{productionEnded|}}}{{{retired|}}}|Service|}}|}}</header>
<data source="t2operator"><label>Operator</label><default>{{#if:{{{tab2|}}}|{{{operator|}}}|}}</default></data>
<data source="t2dateEntered"><label>Entered Service</label><default>{{#if:{{{tab2|}}}|{{{dateEntered|}}}|}}</default></data>
<data source="t2productionEnd"><label>Production Ended</label><default>{{#if:{{{tab2|}}}|{{{productionEnd|}}}|}}</default></data>
<data source="t2retired"><label>Retired</label><default>{{#if:{{{tab2|}}}|{{{retired|}}}|}}</default></data>
<header>{{#if:{{{tab2|}}}|{{#if:{{{t2expectedDuration|}}}{{{t2expectedRefit|}}}{{{t2timeResupply|}}}{{{expectedDuration|}}}{{{expectedRefit|}}}{{{timeResupply|}}}|Endurance|}}|}}</header>
<data source="t2expectedDuration"><label>{{infotip| Expected Design Life | The total designed lifespan of a member of this class before it would either become obsolete or structurally unsound, factoring in expected refits and upgrades.}}</label><default>{{#if:{{{tab2|}}}|{{{expectedDuration|}}}|}}</default></data>
<data source="t2expectedRefit"><label>{{infotip| Expected Refit Cycle | The period intended between major refits for a member of this class, meaning significant updates or additions beyond simple repairs}}</label><default>{{#if:{{{tab2|}}}|{{{expectedRefit|}}}|}}</default></data>
<data source="t2timeResupply"><label>{{infotip| Expected Resupply Cycle | The maximum time that a member of this class can go without being resupplied with fuel and/or supplies.}}</label><default>{{#if:{{{tab2|}}}|{{{timeResupply|}}}|}}</default></data>
<header>{{#if:{{{tab2|}}}|{{#if:{{{t2crewComplement|}}}{{{t2emergencyCap|}}}{{{t2civilians|}}}{{{t2populationCap|}}}{{{t2flightCrew|}}}{{{t2passengers|}}}{{{crewComplement|}}}{{{emergencyCap|}}}{{{civilians|}}}{{{populationCap|}}}{{{flightCrew|}}}{{{passengers|}}}|{{#if:{{{cruiseSpeed|}}}|Crew Capacity|Population}}|}}|}}</header>
<data source="t2crewComplement"><label>{{infotip| Standard Complement | The normal number of crewmembers assigned to a class, necessary to maintain its operational functions and conduct its missions. Most vessels and stations can operate with slightly higher or slightly lower crew counts, as mission needs dictate.}}</label><default>{{#if:{{{tab2|}}}|{{{crewComplement|}}}|}}</default></data>
<data source="t2emergencyCap"><label>{{infotip| Emergency Capacity | The largest number of humanoid beings a vessel could safely transport within life support and evacuation (escape pod, shuttle, and transporter) capabilities.}}</label><default>{{#if:{{{tab2|}}}|{{{emergencyCap|}}}|}}</default></data>
<data source="t2civilians"><label>Civilian Residents</label><default>{{#if:{{{tab2|}}}|{{{civilians|}}}|}}</default></data>
<data source="t2populationCap"><label>Maximum Population</label><default>{{#if:{{{tab2|}}}|{{{populationCap|}}}|}}</default></data>
<data source="t2flightCrew"><label>Flight Crew</label><default>{{#if:{{{tab2|}}}|{{{flightCrew|}}}|}}</default></data>
<data source="t2passengers"><label>Passengers</label><default>{{#if:{{{tab2|}}}|{{{passengers|}}}|}}</default></data>
<header>{{#if:{{{tab2|}}}|{{#if:{{{t2length|}}}{{{t2width|}}}{{{t2diameter|}}}{{{t2height|}}}{{{t2decks|}}}{{{length|}}}{{{width|}}}{{{diameter|}}}{{{height|}}}{{{decks|}}}|Dimensions|}}|}}</header>
<data source="t2length"><label>Length</label><default>{{#if:{{{tab2|}}}|{{{length|}}}|}}</default></data>
<data source="t2width"><label>Width</label><default>{{#if:{{{tab2|}}}|{{{width|}}}|}}</default></data>
<data source="t2diameter"><label>Diameter</label><default>{{#if:{{{tab2|}}}|{{{diameter|}}}|}}</default></data>
<data source="t2height"><label>Height</label><default>{{#if:{{{tab2|}}}|{{{height|}}}|}}</default></data>
<data source="t2decks"><label>Decks</label><default>{{#if:{{{tab2|}}}|{{{decks|}}}|}}</default></data>
<header>{{#if:{{{tab2|}}}|{{#if:{{{t2propulsionSystem|}}}{{{t2cruiseSpeed|}}}{{{t2maxSpeed|}}}{{{t2emergencySpeed|}}}{{{propulsionSystem|}}}{{{cruiseSpeed|}}}{{{maxSpeed|}}}{{{emergencySpeed|}}}|Propulsion|}}|}}</header>
<data source="t2propulsionSystem"><label>Propulsion System</label><default>{{#if:{{{tab2|}}}|{{{propulsionSystem|}}}|}}</default></data>
<data source="t2cruiseSpeed"><label>{{infotip| Cruise Speed | The highest speed a vessel may maintain with optimal fuel efficiency, i.e. the speed a vessel could theoretically sustain for the entirety of its resupply time.}}</label><default>{{#if:{{{tab2|}}}|{{{cruiseSpeed|}}}|}}</default></data>
<data source="t2maxSpeed"><label>{{infotip| Maximum Speed | The highest sustainable speed a vessel may maintain without structural damage, but with reduced fuel efficiency, i.e. the speed a vessel could theoretically sustain until fuel runs out.}}</label><default>{{#if:{{{tab2|}}}|{{{maxSpeed|}}}|}}</default></data>
<data source="t2emergencySpeed"><label>{{infotip| Emergency Speed | The highest speed a vessel's engines can reach, generally with damage to the engines or the ship's structure occurring after a relatively short amount of time, indicated after the speed value}}</label><default>{{#if:{{{tab2|}}}|{{{emergencySpeed|}}}|}}</default></data>
<header>{{#if:{{{tab2|}}}|{{#if:{{{t2energyWeapons|}}}{{{t2torpLaunchers|}}}{{{t2torpPayload|}}}{{{t2sheilds|}}}{{{energyWeapons|}}}{{{torpLaunchers|}}}{{{torpPayload|}}}{{{sheilds|}}}|Armaments|}}|}}</header>
<data source="t2energyWeapons"><label>Energy Weapons</label><default>{{#if:{{{tab2|}}}|{{{energyWeapons|}}}|}}</default></data>
<data source="t2torpLaunchers"><label>Torpedo Launchers</label><default>{{#if:{{{tab2|}}}|{{{torpLaunchers|}}}|}}</default></data>
<data source="t2torpPayload"><label>Torpedo Payload</label><default>{{#if:{{{tab2|}}}|{{{torpPayload|}}}|}}</default></data>
<data source="t2shields"><label>Shields</label><default>{{#if:{{{tab2|}}}|{{{shields|}}}|}}</default></data>
<header>{{#if:{{{tab2|}}}|{{#if:{{{t2dockingfacilities|}}}{{{t2shuttleBays|}}}{{{t2shuttles|}}}{{{t2runabouts|}}}{{{t2fighters|}}}{{{t2aux|}}}{{{dockingfacilities|}}}{{{shuttleBays|}}}{{{shuttles|}}}{{{runabouts|}}}{{{fighters|}}}{{{aux|}}}|Small Craft|}}|}}</header>
<data source="t2dockingfacilities"><label>Docking Facilities</label><default>{{#if:{{{tab2|}}}|{{{dockingfacilities|}}}|}}</default></data>
<data source="t2shuttleBays"><label>Shuttle Bays</label><default>{{#if:{{{tab2|}}}|{{{shuttleBays|}}}|}}</default></data>
<data source="t2shuttles"><label>Shuttles</label><default>{{#if:{{{tab2|}}}|{{{shuttles|}}}|}}</default></data>
<data source="t2runabouts"><label>Runabouts</label><default>{{#if:{{{tab2|}}}|{{{runabouts|}}}|}}</default></data>
<data source="t2fighters"><label>Fighters</label><default>{{#if:{{{tab2|}}}|{{{fighters|}}}|}}</default></data>
<data source="t2aux"><label>Auxiliary Craft</label><default>{{#if:{{{tab2|}}}|{{{aux|}}}|}}</default></data>
</group>
</section>
</panel>
<header>{{#if:{{{bfmsRegistry|}}}|Additional Information|}}</header>
<data name="full"><default>{{#if:{{{bfmsRegistry|}}}|[{{{bfmsRegistry|}}} BFMS Registry]|}}</default></data>
<data name="full"><default>{{#if:{{{bfmsRegistry|}}}|[https://wiki.bravofleet.com/index.php?title=Category:{{{name|}}}-class ''{{{name|}}}''-class Command Pages]|}}</default></data>
<header name="footer">[[Template:Specification]]</header>
</infobox>
{{#if: {{{templatemode|}}}|
<!-- do nothing -->|
<!-- else -->[[Category:Specifications]]
 
[[Category:{{#if: {{{affiliation|}}}|{{ShortName
| x = {{{affiliation}}}
}}
}}
|-
}} {{#if: {{{flightCrew|}}}|Small Craft|{{#if: {{{diameter|}}}|Starbase|Starship}}}} Classes]]
| class="ibheader" colspan="2" | '''Information'''
 
|-
{{#if: {{{type|}}}|[[Category:{{{type|}}}s]]}}
{{#if: {{{affiliation|}}}|
 
{{!}} class="ibleft" {{!}} Affiliation
{{#if: {{{playable|}}}|[[Category:Playable {{ShortName
{{!}} class="ibright" {{!}}
| x = {{{affiliation}}}
{{{affiliation}}}
}} {{#if: {{{flightCrew|}}}|Small Craft|{{#if: {{{diameter|}}}|Starbase|Starships}}}}]]}}
}}
 
|-
{{#if: {{{status|}}}|
{{!}} class="ibleft" {{!}} Status
{{!}} class="ibright" {{!}}
{{{status}}}
}}
|-
{{#if: {{{type|}}}|
{{!}} class="ibleft" {{!}} Type
{{!}} class="ibright" {{!}}
{{{type}}}
}}
|-
{{#if: {{{role|}}}|
{{!}} class="ibleft" {{!}} Role
{{!}} class="ibright" {{!}}
{{{role}}}
}}
|-
{{#if: {{{precedingClass|}}}{{{succeedingClass|}}}|
    {{!}} class="ibheader" colspan="2" {{!}} '''Lineage'''
}}
|-
{{#if: {{{precedingClass|}}}|
{{#if: {{{flightCrew|}}}|
{{#if: {{{flightCrew|}}}|
{{!}} class="ibleft" {{!}} Preceding Class
<!-- do nothing -->|
{{!}} class="ibright" {{!}}
<!-- else -->{{DEFAULTSORT:{{{name}}}}}
[[{{{precedingClass}}}]]|
{{!}} class="ibleft" {{!}} Preceding Class
{{!}} class="ibright" {{!}}
[[{{{precedingClass}}} Class|''{{{precedingClass}}}''-class]]
}}
}}
{{#ifeq: {{{affiliation|}}} | [[United Federation of Planets]] |
    {{#ifeq: {{ShortName| x = {{{status}}} }} | Retired | [[Category:Retired Federation Starship Classes]] | <!-- do nothing --> }} |
    <!-- do nothing -->
}}
}}
|-
{{#if: {{{succeedingClass|}}}|
{{#if: {{{flightCrew|}}}|
{{!}} class="ibleft" {{!}} Succeeding Class
{{!}} class="ibright" {{!}}
[[{{{succeedingClass}}}]]|
{{!}} class="ibleft" {{!}} Succeeding Class
{{!}} class="ibright" {{!}}
[[{{{succeedingClass}}} Class|''{{{succeedingClass}}}''-class]]
}}
}}
|-
{{#if: {{{dateEntered|}}}{{{productionEnd|}}}{{{retired|}}}|
    {{!}} class="ibheader" colspan="2" {{!}} '''Service'''
}}
|-
{{#if: {{{operator|}}}|
{{!}} class="ibleft" {{!}} Operator
{{!}} class="ibright" {{!}}
{{{operator}}}
}}
|-
{{#if: {{{dateEntered|}}}|
{{!}} class="ibleft" {{!}} Entered Service
{{!}} class="ibright" {{!}}
{{{dateEntered}}}
}}
|-
{{#if: {{{productionEnd|}}}|
{{!}} class="ibleft" {{!}} Production Ended
{{!}} class="ibright" {{!}}
{{{productionEnd}}}
}}
|-
{{#if: {{{retired|}}}|
{{!}} class="ibleft" {{!}} Retired
{{!}} class="ibright" {{!}}
{{{retired}}}
}}
|-
{{#if: {{{expectedDuration|}}}{{{expectedRefit|}}}{{{timeResupply|}}}|
    {{!}} class="ibheader" colspan="2" {{!}} '''Endurance'''
}}
|-
{{#if: {{{expectedDuration|}}}|
{{!}} class="ibleft" {{!}} Expected Design Life
{{!}} class="ibright" {{!}}
{{{expectedDuration}}}
}}
|-
{{#if: {{{expectedRefit|}}}|
{{!}} class="ibleft" {{!}} Expected Refit Cycle
{{!}} class="ibright" {{!}}
{{{expectedRefit}}}
}}
|-
{{#if: {{{timeResupply|}}}|
{{!}} class="ibleft" {{!}} Expected Resupply Cycle
{{!}} class="ibright" {{!}}
{{{timeResupply}}}
}}
|-
{{#if: {{{crewcomplement|}}}{{{emergencyCap|}}}{{{civilians|}}}{{{populationCap|}}}{{{flightCrew|}}}{{{passengers|}}}|
    {{#if: {{{cruiseSpeed|}}}|
        {{!}} class="ibheader" colspan="2" {{!}} '''Crew Capacity'''|
            {{!}} class="ibheader" colspan="2" {{!}} '''Population'''
    }}
}}
|-
{{#if: {{{crewComplement|}}}|
{{!}} class="ibleft" {{!}} Standard Complement
{{!}} class="ibright" {{!}}
{{{crewComplement}}}
}}
|-
{{#if: {{{emergencyCap|}}}|
{{!}} class="ibleft" {{!}} Emergency Capacity
{{!}} class="ibright" {{!}}
{{{emergencyCap}}}
}}
|-
{{#if: {{{civilians|}}}|
{{!}} class="ibleft" {{!}} Civilian Residents
{{!}} class="ibright" {{!}}
{{{civilians}}}
}}
|-
{{#if: {{{populationCap|}}}|
{{!}} class="ibleft" {{!}} Maximum Population
{{!}} class="ibright" {{!}}
{{{populationCap}}}
}}
|-
{{#if: {{{flightCrew|}}}|
{{!}} class="ibleft" {{!}} Flight Crew
{{!}} class="ibright" {{!}}
{{{flightCrew}}}
}}
|-
{{#if: {{{passengers|}}}|
{{!}} class="ibleft" {{!}} Passengers
{{!}} class="ibright" {{!}}
{{{passengers}}}
}}
|-
{{#if: {{{length|}}}{{{width|}}}{{{diameter|}}}{{{height|}}}{{{decks|}}}|
    {{!}} class="ibheader" colspan="2" {{!}} '''Dimensions'''
}}
|-
{{#if: {{{length|}}}|
{{!}} class="ibleft" {{!}} Length
{{!}} class="ibright" {{!}}
{{{length}}}
}}
|-
{{#if: {{{width|}}}|
{{!}} class="ibleft" {{!}} Width
{{!}} class="ibright" {{!}}
{{{width}}}
}}
|-
{{#if: {{{diameter|}}}|
{{!}} class="ibleft" {{!}} Diameter
{{!}} class="ibright" {{!}}
{{{diameter}}}
}}
|-
{{#if: {{{height|}}}|
{{!}} class="ibleft" {{!}} Height
{{!}} class="ibright" {{!}}
{{{height}}}
}}
|-
{{#if: {{{decks|}}}|
{{!}} class="ibleft" {{!}} Decks
{{!}} class="ibright" {{!}}
{{{decks}}}
}}
|-
{{#if: {{{propulsionSystem|}}}{{{cruiseSpeed|}}}{{{maxSpeed|}}}{{{emergencySpeed|}}}|
    {{!}} class="ibheader" colspan="2" {{!}} '''Propulsion'''
}}
|-
{{#if: {{{propulsionSystem|}}}|
{{!}} class="ibleft" {{!}} Propulsion Systems
{{!}} class="ibright" {{!}}
{{{propulsionSystem}}}
}}
|-
{{#if: {{{cruiseSpeed|}}}|
{{!}} class="ibleft" {{!}} Cruise Speed
{{!}} class="ibright" {{!}}
{{{cruiseSpeed}}}
}}
|-
{{#if: {{{maxSpeed|}}}|
{{!}} class="ibleft" {{!}} Maximum Speed
{{!}} class="ibright" {{!}}
{{{maxSpeed}}}
}}
|-
{{#if: {{{emergencySpeed|}}}|
{{!}} class="ibleft" {{!}} Emergency Speed
{{!}} class="ibright" {{!}}
{{{emergencySpeed}}}
}}
|-
{{#if: {{{energyWeapons|}}}{{{torpLaunchers|}}}{{{torpPayload|}}}{{{sheilds|}}}|
    {{!}} class="ibheader" colspan="2" {{!}} '''Armaments'''
}}
|-
{{#if: {{{energyWeapons|}}}|
{{!}} class="ibleft" {{!}} Energy Weapons
{{!}} class="ibright" {{!}}
{{{energyWeapons}}}
}}
|-
{{#if: {{{torpLaunchers|}}}|
{{!}} class="ibleft" {{!}} Torpedo Launchers
{{!}} class="ibright" {{!}}
{{{torpLaunchers}}}
}}
|-
{{#if: {{{torpPayload|}}}|
{{!}} class="ibleft" {{!}} Torpedo Payload
{{!}} class="ibright" {{!}}
{{{torpPayload}}}
}}
|-
{{#if: {{{shields|}}}|
{{!}} class="ibleft" {{!}} Shields
{{!}} class="ibright" {{!}}
{{{shields}}}
}}
|-
{{#if: {{{dockingfacilities|}}}{{{shuttleBays|}}}{{{shuttles|}}}{{{runabouts|}}}{{{fighters|}}}|
    {{#if: {{{dockingfacilities|}}}|
    {{!}} class="ibheader" colspan="2" {{!}} '''Docking Facilities'''|
        {{!}} class="ibheader" colspan="2" {{!}} '''Small Craft'''
    }}
}}
|-
{{#if: {{{dockingfacilities|}}}|
{{!}} class="ibleft" {{!}} Docking Facilities
{{!}} class="ibright" {{!}}
{{{dockingfacilities}}}
}}
|-
{{#if: {{{shuttleBays|}}}|
{{!}} class="ibleft" {{!}} Shuttlebays
{{!}} class="ibright" {{!}}
{{{shuttleBays}}}
}}
|-
{{#if: {{{shuttles|}}}|
{{!}} class="ibleft" {{!}} Shuttles
{{!}} class="ibright" {{!}}
{{{shuttles}}}
}}
|-
{{#if: {{{runabouts|}}}|
{{!}} class="ibleft" {{!}} Runabouts
{{!}} class="ibright" {{!}}
{{{runabouts}}}
}}
|-
{{#if: {{{fighters|}}}|
{{!}} class="ibleft" {{!}} Fighters
{{!}} class="ibright" {{!}}
{{{fighters}}}
}}
|-
{{#if: {{{aux|}}}|
{{!}} class="ibleft" {{!}} Auxiliary Craft
{{!}} class="ibright" {{!}}
{{{aux}}}
}}
|-
{{#if: {{{msd|}}}|
{{!}} class="ibheader" colspan="2" {{!}} {{{msd}}}
}}
}}
|-
</includeonly>
| class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:TEST]]
<noinclude>
|}
==Specification==
</div>
Specification template to for specification infoboxes on the wiki.
<includeonly>
<!-- Auto category and DEFAULTSORT shenanigans going on here. -->
{{#if: {{{templatemode|}}}|
    <!-- do nothing -->|
    <!-- else -->[[Category:Specifications]]{{#if: {{{flightCrew|}}}|
        <!-- do nothing -->|
        <!-- else -->{{DEFAULTSORT:{{{name}}}}}
    }}
}}
</includeonly><noinclude>
==Test==
TEST template to demonstrate that Specifications, StationSpecifications and SmallCraftSpecifications can be handled by a single template infobox for displaying specifications on the wiki.


If the flightCrew value is populated then the DEFAULTSORT value will not be populated, and neither will the Category:Specifications value be added to the page in question at this time. This is done to eliminate any issues caused by multiple DEFAULTSORT keys on a single page thanks to multiple uses of the infobox on the same page.
If the flightCrew value is populated then the DEFAULTSORT value will not be populated, and neither will the Category:Specifications value be added to the page in question. This is done to eliminate any issues caused by multiple DEFAULTSORT kets on a single page thanks to multiple users of the infobox on the same page.


This can also be achieved by the use of an extra value on the template call.
==Sandboxes==
If you are experimenting with this infobox on a sandbox page, please include the following to the bottom of the infobox call
<pre>
<pre>
| templatemode =  
| templatemode =
</pre>
</pre>
Add that to the bottom of any call to the template and simply assign any value to trigger it. It will then cause DEFAULTSORT and Category:Specifications to both not present on the page.
 
==Usage==
<pre>
<pre>
{{TEST
{{Specification
| image =  
| image =  
| displayName =
| name =  
| name =  
| affiliation =  
| affiliation =  
Line 325: Line 220:
| precedingClass =  
| precedingClass =  
| succeedingClass =  
| succeedingClass =  
| designSchool =
| dateEntered =  
| dateEntered =  
| productionEnd =  
| productionEnd =  
Line 357: Line 253:
| aux =  
| aux =  
| msd =  
| msd =  
| playable =
| bfmsRegistry =
| templatemode = (Any value here will prevent all automatic category tag assignment as well as defaultsort assignment. Ideal for testing/WIP. Should not be used on normal pages at all. Delete this line if not being used as preference is for pages to be in categories.)
| templatemode = (Any value here will prevent all automatic category tag assignment as well as defaultsort assignment. Ideal for testing/WIP. Should not be used on normal pages at all. Delete this line if not being used as preference is for pages to be in categories.)
}}
}}
</pre>
</pre>
==Multiple versions of a given class==
This needs to be populated at some point. Ask the wiki-goblin for advise for now.
{{clear}}
{{clear}}
{{TEST
==Demo==
| image = [[Image:Ambassadorclass.png]]
{{Specification
| displayName = '''''Ambassador'' Class'''
| tab1 = Excelsior
| name = Ambassador
| tab2 = Enterprise
| affiliation = United Federation of Planets
| t1image = [[Image:Excelsiorclass.png]]
| operator = Starfleet
| t2image = [[Image:Excelrefit.png]]
| name = Excelsior
| affiliation = [[United Federation of Planets]]
| operator = [[Starfleet]]
| status = Retired
| status = Retired
| role = Heavy Cruiser
| role = Heavy Cruiser
| type = Explorer
| type =  
| precedingClass = Excelsior
| precedingClass = Constitution
| succeedingClass = Galaxy
| succeedingClass = Nebula
| dateEntered = 2330
| designSchool = Utopia Planitia
| productionEnd = 2358
| dateEntered = 2285
| retired = 2400
| t2dateEntered = 2294
| expectedDuration =  
| productionEnd =  
| expectedRefit = 8 Years
| retired =  
| timeResupply = 4 Years
| expectedDuration = 100 Years
| crewComplement = 750
| expectedRefit = 10 Years
| emergencyCap = 3200
| timeResupply = 5 Years
| crewComplement = 650
| emergencyCap = 1,500
| civilians =  
| civilians =  
| populationCap =  
| populationCap =  
| flightCrew =  
| flightCrew =  
| passengers =  
| passengers =  
| length = 526 meters
| length = 467 meters
| width = 320 meters
| width = 181.6 meters
| diameter =  
| diameter =  
| height = 125 meters
| height = 77.8 meters
| decks = 31
| decks = 28
| propulsionSystem = Matter/Antimatter powered warp drive
| propulsionSystem = M/AM Warp Drive
| cruiseSpeed = Warp 6.2
| cruiseSpeed = Warp 7
| maxSpeed = Warp 8.9
| maxSpeed = Warp 8.8
| emergencySpeed = Warp 9.4 (12 hours)
| emergencySpeed = Warp 9.4 (12 hours)
| energyWeapons = *10x Type-X Phaser Arrays
| energyWeapons = *10x [[Phasers|Type-VIII Dual Emitter Phaser Banks]]
| torpLaunchers = *1 Forward
| t2energyWeapons = *12 Type-VIII Dual Emitter Phaser Banks
*1 aft
| torpLaunchers = *2 forward
*2 aft
| torpPayload = *200 Photon Torpedoes
| torpPayload = *200 Photon Torpedoes
| shields = Multi-Layered Shielding System
| shields = [[Shields|Regenerative Shielding System]]
| dockingfacilities =  
| dockingfacilities =  
| shuttleBays = 2
| shuttleBays = 2
| shuttles = 15
| shuttles = 10
| runabouts = 2
| runabouts = 2
| fighters =  
| fighters =  
| aux =  
| aux =  
| msd =  
| msd =  
| playable =
| bfmsRegistry =
| templatemode = nocats
| templatemode = nocats
}}
}}
==Starship Demonstration==
<pre>
Starship demonstration. The gold standard and primary use for this template.
{{Specification
<pre>{{TEST
| tab1 = Excelsior
| image = [[Image:Ambassadorclass.png]]
| tab2 = Enterprise
| displayName = '''''Ambassador'' Class'''
| t1image = [[Image:Excelsiorclass.png]]
| name = Ambassador
| t2image = [[Image:Excelrefit.png]]
| affiliation = United Federation of Planets
| name = Excelsior
| operator = Starfleet
| affiliation = [[United Federation of Planets]]
| operator = [[Starfleet]]
| status = Retired
| status = Retired
| role = Heavy Cruiser
| role = Heavy Cruiser
| type = Explorer
| type =  
| precedingClass = Excelsior
| precedingClass = Constitution
| succeedingClass = Galaxy
| succeedingClass = Nebula
| dateEntered = 2330
| designSchool = Utopia Planitia
| productionEnd = 2358
| dateEntered = 2285
| retired = 2400
| t2dateEntered = 2294
| expectedDuration =  
| productionEnd =  
| expectedRefit = 8 Years
| retired =  
| timeResupply = 4 Years
| expectedDuration = 100 Years
| crewComplement = 750
| expectedRefit = 10 Years
| emergencyCap = 3200
| timeResupply = 5 Years
| crewComplement = 650
| emergencyCap = 1,500
| civilians =  
| civilians =  
| populationCap =  
| populationCap =  
| flightCrew =  
| flightCrew =  
| passengers =  
| passengers =  
| length = 526 meters
| length = 467 meters
| width = 320 meters
| width = 181.6 meters
| diameter =  
| diameter =  
| height = 125 meters
| height = 77.8 meters
| decks = 31
| decks = 28
| propulsionSystem = Matter/Antimatter powered warp drive
| propulsionSystem = M/AM Warp Drive
| cruiseSpeed = Warp 6.2
| cruiseSpeed = Warp 7
| maxSpeed = Warp 8.9
| maxSpeed = Warp 8.8
| emergencySpeed = Warp 9.4 (12 hours)
| emergencySpeed = Warp 9.4 (12 hours)
| energyWeapons = *10x Type-X Phaser Arrays
| energyWeapons = *10x [[Phasers|Type-VIII Dual Emitter Phaser Banks]]
| torpLaunchers = *1 Forward
| t2energyWeapons = *12 Type-VIII Dual Emitter Phaser Banks
*1 aft
| torpLaunchers = *2 forward
*2 aft
| torpPayload = *200 Photon Torpedoes
| torpPayload = *200 Photon Torpedoes
| shields = Multi-Layered Shielding System
| shields = [[Shields|Regenerative Shielding System]]
| dockingfacilities =  
| dockingfacilities =  
| shuttleBays = 2
| shuttleBays = 2
| shuttles = 15
| shuttles = 10
| runabouts = 2
| runabouts = 2
| fighters =  
| fighters =  
| aux =  
| aux =  
| msd =  
| msd =  
| templatemode = nocats
| playable =  
}}</pre>
| bfmsRegistry = https://bravofleet.com/registry?_status=&_class=53686&_sort=namesake&_per_page=100
{{clear}}
{{TEST
| image = [[File:Smolboi.png]]
| displayName = '''''Narendra'' Class'''
| name = Narendra
| affiliation = Starfleet
| role = Outpost
| type =
| precedingClass =
| succeedingClass =
| dateEntered =
| expectedDuration =
| expectedRefit =
| timeResupply =
| crewComplement = 2000
| emergencyCap =
| civilians = 2000-4000
| populationCap = 15000
| flightCrew =
| passengers =
| length =
| width =
| diameter = 1,000 meters
| height =
| decks =
| propulsionSystem = Manuvering Thrusters
| cruiseSpeed =
| maxSpeed =
| emergencySpeed =
| energyWeapons = *xx Type-XII Phaser Arrays
*xx Type-X Phaser Banks
| torpLaunchers = *xx Torpedo Launchers
| torpPayload =
| shields = Graviton Shields
| dockingfacilities = *6 perimeter docking facilities
*6 cargo/shuttle bays
| shuttleBays =
| shuttles =
| runabouts = 4 Danube-class
| fighters =  
| aux =  
| msd =  
| templatemode = nocats
| templatemode = nocats
}}
}}
==Station Demonstration==
</pre>
Station demonstration, showing how different values will change headers. A lack of a cruiseSpeed has changed "Crew Capacity" to "Population". Inclusion of Diameter has also added that value into the Dimensions section. The use of the dockingfacilities variable has also changed the "Small Craft" header to read "Docking Facilities".
<pre>{{TEST
| image = [[File:Smolboi.png]]
| displayName = '''''Narendra'' Class'''
| name = Narendra
| affiliation = Starfleet
| role = Outpost
| type =
| precedingClass =
| succeedingClass =
| dateEntered =
| expectedDuration =
| expectedRefit =
| timeResupply =
| crewComplement = 2000
| emergencyCap =
| civilians = 2000-4000
| populationCap = 15000
| flightCrew =
| passengers =
| length =
| width =
| diameter = 1,000 meters
| height =
| decks =
| propulsionSystem = Manuvering Thrusters
| cruiseSpeed =
| maxSpeed =
| emergencySpeed =
| energyWeapons = *xx Type-XII Phaser Arrays
*xx Type-X Phaser Banks
| torpLaunchers = *xx Torpedo Launchers
| torpPayload =
| shields = Graviton Shields
| dockingfacilities = *6 perimeter docking facilities
*6 cargo/shuttle bays
| shuttleBays =
| shuttles =
| runabouts = 4 Danube-class
| fighters =
| aux =
| msd =
}}</pre>
{{clear}}
{{TEST
| image = [[image:Type11Shuttle5.jpg]]
| displayName = '''Type-11 Personnel Shuttle'''
| name = Type-11 Personnel Shuttle
| affiliation = *United Federation of Planets
*Starfleet
| role = Personnel Shuttle
| type = Shuttle
| precedingClass = Type-7 Personnel Shuttle
| succeedingClass = Type-14 Personnel Shuttle
| dateEntered = 2375
| expectedDuration =
| expectedRefit =
| timeResupply =
| crewComplement =
| emergencyCap =
| civilians =
| populationCap =
| flightCrew = 2
| passengers = 12
| length = 14.64 meters
| width = 3.26 meters
| diameter =
| height = 4.5 meters
| decks =
| propulsionSystem = Warp Drive
| cruiseSpeed = Warp 6
| maxSpeed =
| emergencySpeed =
| energyWeapons = *4x Type-VII Phaser Arrays
| torpLaunchers =
| torpPayload =
| shields =
| dockingfacilities =
| shuttleBays =
| shuttles =
| runabouts =
| fighters =
| msd = [[File:Type11Shuttle.jpg]]
| templatemode = nocats
}}
==Shuttle Demonstration==
Shuttle demonstration. Use for flightCrew variable has changed the class header from a '''''name''-class''' setup to a '''''name'' type''' setup, using the type variable to dictate the type. The variable has also stopped automatic Category values and DEFAULTSORT from being applied at this time.
<pre>{{TEST
| image = [[image:Type11Shuttle5.jpg]]
| displayName = '''Type-11 Personnel Shuttle'''
| name = Type-11 Personnel Shuttle
| affiliation = *United Federation of Planets
*Starfleet
| role = Personnel Shuttle
| type = Shuttle
| precedingClass = Type-7 Personnel Shuttle
| succeedingClass = Type-14 Personnel Shuttle
| dateEntered = 2375
| expectedDuration =
| expectedRefit =
| timeResupply =
| crewComplement =
| emergencyCap =
| civilians =
| populationCap =
| flightCrew = 2
| passengers = 12
| length = 14.64 meters
| width = 3.26 meters
| diameter =
| height = 4.5 meters
| decks =
| propulsionSystem = Warp Drive
| cruiseSpeed = Warp 6
| maxSpeed =
| emergencySpeed =
| energyWeapons = *4x Type-VII Phaser Arrays
| torpLaunchers =
| torpPayload =
| shields =
| dockingfacilities =
| shuttleBays =
| shuttles =
| runabouts =
| fighters =
| aux =
| msd = [[File:Type11Shuttle.jpg]]
}}</pre>
{{clear}}
{{clear}}
[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 22:58, 25 March 2025


Specification

Specification template to for specification infoboxes on the wiki.

If the flightCrew value is populated then the DEFAULTSORT value will not be populated, and neither will the Category:Specifications value be added to the page in question. This is done to eliminate any issues caused by multiple DEFAULTSORT kets on a single page thanks to multiple users of the infobox on the same page.

Sandboxes

If you are experimenting with this infobox on a sandbox page, please include the following to the bottom of the infobox call

| templatemode =

Usage

{{Specification
| image = 
| name = 
| affiliation = 
| operator = 
| status = 
| role = 
| type = 
| precedingClass = 
| succeedingClass = 
| designSchool = 
| dateEntered = 
| productionEnd = 
| retired = 
| expectedDuration = 
| expectedRefit = 
| timeResupply = 
| crewComplement = 
| emergencyCap = 
| civilians = 
| populationCap = 
| flightCrew = (If this value is provided, no DefaultSort value is assigned. Ideal for pages listing multiple small craft. If used, please provide a value for type.)
| passengers = 
| length = 
| width = 
| diameter = (Starbases only.)
| height = 
| decks = 
| propulsionSystem = 
| cruiseSpeed = (If this value is absent, Crew Complement header will change to read Population. Ideal for starbases.)
| maxSpeed = 
| emergencySpeed = 
| energyWeapons = 
| torpLaunchers = 
| torpPayload = 
| shields = 
| dockingfacilities = 
| shuttleBays = 
| shuttles = 
| runabouts = 
| fighters = 
| aux = 
| msd = 
| playable = 
| bfmsRegistry = 
| templatemode = (Any value here will prevent all automatic category tag assignment as well as defaultsort assignment. Ideal for testing/WIP. Should not be used on normal pages at all. Delete this line if not being used as preference is for pages to be in categories.)
}}

Multiple versions of a given class

This needs to be populated at some point. Ask the wiki-goblin for advise for now.

Demo


{{Specification
| tab1 = Excelsior
| tab2 = Enterprise
| t1image = [[Image:Excelsiorclass.png]]
| t2image = [[Image:Excelrefit.png]]
| name = Excelsior
| affiliation = [[United Federation of Planets]]
| operator = [[Starfleet]]
| status = Retired
| role = Heavy Cruiser
| type = 
| precedingClass = Constitution
| succeedingClass = Nebula
| designSchool = Utopia Planitia
| dateEntered = 2285
| t2dateEntered = 2294
| productionEnd = 
| retired = 
| expectedDuration = 100 Years 
| expectedRefit = 10 Years
| timeResupply = 5 Years
| crewComplement = 650
| emergencyCap = 1,500
| civilians = 
| populationCap = 
| flightCrew = 
| passengers = 
| length = 467 meters
| width = 181.6 meters
| diameter = 
| height = 77.8 meters
| decks = 28
| propulsionSystem = M/AM Warp Drive
| cruiseSpeed = Warp 7
| maxSpeed = Warp 8.8
| emergencySpeed = Warp 9.4 (12 hours)
| energyWeapons = *10x [[Phasers|Type-VIII Dual Emitter Phaser Banks]]
| t2energyWeapons = *12 Type-VIII Dual Emitter Phaser Banks
| torpLaunchers = *2 forward
*2 aft
| torpPayload = *200 Photon Torpedoes
| shields = [[Shields|Regenerative Shielding System]]
| dockingfacilities = 
| shuttleBays = 2
| shuttles = 10
| runabouts = 2
| fighters = 
| aux = 
| msd = 
| playable = 
| bfmsRegistry = https://bravofleet.com/registry?_status=&_class=53686&_sort=namesake&_per_page=100
| templatemode = nocats
}}