Difference between revisions of "Template:Specification"
Template page
m (Breaking up the category stuff so I can tell each apart, adding in the new auto category pieces.) |
m |
||
(25 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
< | <infobox theme="bravo"> | ||
<title source="name"> | |||
<default>{{PAGENAME}}</default><format>''{{{name|}}}''-class {{lc:{{{type|}}}}}</format> | |||
</title> | |||
<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>Type</label><format>{{#if:{{{tab1|}}}||{{{type}}}}}</format></data> | |||
<data source="role"><label>Role</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> | |||
<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>Expected Design Life</label><format>{{#if:{{{tab1|}}}||{{{expectedDuration|}}}}}</format></data> | |||
<data source="expectedRefit"><label>Expected Refit Cycle</label><format>{{#if:{{{tab1|}}}||{{{expectedRefit|}}}}}</format></data> | |||
<data source="timeResupply"><label>Expected Resupply Cycle</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>Standard Complement</label><format>{{#if:{{{tab1|}}}||{{{crewComplement|}}}}}</format></data> | |||
<data source="emergencyCap"><label>Emergency Capacity</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>Cruise Speed</label><format>{{#if:{{{tab1|}}}||{{{cruiseSpeed|}}}}}</format></data> | |||
<data source="maxSpeed"><label>Maximum Speed</label><format>{{#if:{{{tab1|}}}||{{{maxSpeed|}}}}}</format></data> | |||
<data source="emergencySpeed"><label>Emergency Speed</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>Type</label><default>{{#if:{{{tab1|}}}|{{{type|}}}|}}</default></data> | |||
<data source="t1role"><label>Role</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> | |||
<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>Expected Design Life</label><default>{{#if:{{{tab1|}}}|{{{expectedDuration|}}}|}}</default></data> | |||
<data source="t1expectedRefit"><label>Expected Refit Cycle</label><default>{{#if:{{{tab1|}}}|{{{expectedRefit|}}}|}}</default></data> | |||
<data source="t1timeResupply"><label>Expected Resupply Cycle</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>Standard Complement</label><default>{{#if:{{{tab1|}}}|{{{crewComplement|}}}|}}</default></data> | |||
<data source="t1emergencyCap"><label>Emergency Capacity</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>Cruise Speed</label><default>{{#if:{{{tab1|}}}|{{{cruiseSpeed|}}}|}}</default></data> | |||
<data source="t1maxSpeed"><label>Maximum Speed</label><default>{{#if:{{{tab1|}}}|{{{maxSpeed|}}}|}}</default></data> | |||
<data source="t1emergencySpeed"><label>Emergency Speed</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>Type</label><default>{{#if:{{{tab2|}}}|{{{type|}}}|}}</default></data> | |||
<data source="t2role"><label>Role</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> | |||
<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>Expected Design Life</label><default>{{#if:{{{tab2|}}}|{{{expectedDuration|}}}|}}</default></data> | |||
<data source="t2expectedRefit"><label>Expected Refit Cycle</label><default>{{#if:{{{tab2|}}}|{{{expectedRefit|}}}|}}</default></data> | |||
<data source="t2timeResupply"><label>Expected Resupply Cycle</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>Standard Complement</label><default>{{#if:{{{tab2|}}}|{{{crewComplement|}}}|}}</default></data> | |||
<data source="t2emergencyCap"><label>Emergency Capacity</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>Cruise Speed</label><default>{{#if:{{{tab2|}}}|{{{cruiseSpeed|}}}|}}</default></data> | |||
<data source="t2maxSpeed"><label>Maximum Speed</label><default>{{#if:{{{tab2|}}}|{{{maxSpeed|}}}|}}</default></data> | |||
<data source="t2emergencySpeed"><label>Emergency Speed</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|}}}| | {{#if: {{{templatemode|}}}| | ||
<!-- do nothing -->| | |||
<!-- else -->[[Category:Specifications]] | |||
[[Category:{{#if: {{{affiliation|}}}|{{ShortName | [[Category:{{#if: {{{affiliation|}}}|{{ShortName | ||
| x = {{{affiliation}}} | | x = {{{affiliation}}} | ||
Line 325: | Line 175: | ||
}} {{#if: {{{flightCrew|}}}|Small Craft|{{#if: {{{diameter|}}}|Starbase|Starship}}}} Classes]] | }} {{#if: {{{flightCrew|}}}|Small Craft|{{#if: {{{diameter|}}}|Starbase|Starship}}}} Classes]] | ||
{{#if: {{{ | {{#if: {{{type|}}}|[[Category:{{{type|}}}s]]}} | ||
{{#if: {{{playable|}}}|[[Category:Playable {{ShortName | {{#if: {{{playable|}}}|[[Category:Playable {{ShortName | ||
Line 331: | Line 181: | ||
}} {{#if: {{{flightCrew|}}}|Small Craft|{{#if: {{{diameter|}}}|Starbase|Starships}}}}]]}} | }} {{#if: {{{flightCrew|}}}|Small Craft|{{#if: {{{diameter|}}}|Starbase|Starships}}}}]]}} | ||
{{#if: {{{flightCrew|}}}| | |||
<!-- do nothing -->| | |||
<!-- else -->{{DEFAULTSORT:{{{name}}}}} | |||
}} | }} | ||
</includeonly><noinclude> | |||
{{#ifeq: {{{affiliation|}}} | [[United Federation of Planets]] | | |||
{{#ifeq: {{ShortName| x = {{{status}}} }} | Retired | [[Category:Retired Federation Starship Classes]] | <!-- do nothing --> }} | | |||
<!-- do nothing --> | |||
}} | |||
}} | |||
</includeonly> | |||
<noinclude> | |||
==Specification== | ==Specification== | ||
Specification template to | 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 | 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 | |||
<pre> | <pre> | ||
| templatemode = | | templatemode = | ||
</pre> | </pre> | ||
==Usage== | |||
<pre> | <pre> | ||
{{Specification | {{Specification | ||
| image = | | image = | ||
| name = | | name = | ||
| affiliation = | | affiliation = | ||
Line 393: | Line 250: | ||
| 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}} | ||
==Demo== | |||
{{Specification | {{Specification | ||
| | | tab1 = Excelsior | ||
| | | tab2 = Enterprise | ||
| name = | | t1image = [[Image:Excelsiorclass.png]] | ||
| affiliation = United Federation of Planets | | t2image = [[Image:Excelrefit.png]] | ||
| operator = Starfleet | | name = Excelsior | ||
| affiliation = [[United Federation of Planets]] | |||
| operator = [[Starfleet]] | |||
| status = Retired | | status = Retired | ||
| role = Heavy Cruiser | | role = Heavy Cruiser | ||
| type = | | type = | ||
| precedingClass = | | precedingClass = Constitution | ||
| succeedingClass = | | succeedingClass = Nebula | ||
| | | dateEntered = 2285 | ||
| t2dateEntered = 2294 | |||
| | | productionEnd = | ||
| productionEnd = | | retired = | ||
| retired = | | expectedDuration = 100 Years | ||
| expectedDuration = | | expectedRefit = 10 Years | ||
| expectedRefit = | | timeResupply = 5 Years | ||
| timeResupply = | | crewComplement = 650 | ||
| crewComplement = | | emergencyCap = 1,500 | ||
| emergencyCap = | |||
| civilians = | | civilians = | ||
| populationCap = | | populationCap = | ||
| flightCrew = | | flightCrew = | ||
| passengers = | | passengers = | ||
| length = | | length = 467 meters | ||
| width = | | width = 181.6 meters | ||
| diameter = | | diameter = | ||
| height = | | height = 77.8 meters | ||
| decks = | | decks = 28 | ||
| propulsionSystem = | | propulsionSystem = M/AM Warp Drive | ||
| cruiseSpeed = Warp | | cruiseSpeed = Warp 7 | ||
| maxSpeed = Warp 8. | | maxSpeed = Warp 8.8 | ||
| emergencySpeed = Warp 9.4 (12 hours) | | emergencySpeed = Warp 9.4 (12 hours) | ||
| energyWeapons = *10x Type- | | energyWeapons = *10x [[Phasers|Type-VIII Dual Emitter Phaser Banks]] | ||
| torpLaunchers = * | | t2energyWeapons = *12 Type-VIII Dual Emitter Phaser Banks | ||
* | | torpLaunchers = *2 forward | ||
*2 aft | |||
| torpPayload = *200 Photon Torpedoes | | torpPayload = *200 Photon Torpedoes | ||
| shields = | | shields = [[Shields|Regenerative Shielding System]] | ||
| dockingfacilities = | | dockingfacilities = | ||
| shuttleBays = 2 | | shuttleBays = 2 | ||
| shuttles = | | shuttles = 10 | ||
| runabouts = 2 | | runabouts = 2 | ||
| fighters = | | fighters = | ||
| aux = | | aux = | ||
| msd = | | msd = | ||
| playable = | |||
| bfmsRegistry = | |||
| templatemode = nocats | | templatemode = nocats | ||
}} | }} | ||
<pre> | |||
{{Specification | |||
<pre>{{Specification | | tab1 = Excelsior | ||
| | | tab2 = Enterprise | ||
| | | t1image = [[Image:Excelsiorclass.png]] | ||
| name = | | 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 = | | type = | ||
| precedingClass = | | precedingClass = Constitution | ||
| succeedingClass = | | succeedingClass = Nebula | ||
| | | dateEntered = 2285 | ||
| t2dateEntered = 2294 | |||
| | | productionEnd = | ||
| productionEnd = | | retired = | ||
| retired = | | expectedDuration = 100 Years | ||
| expectedDuration = | | expectedRefit = 10 Years | ||
| expectedRefit = | | timeResupply = 5 Years | ||
| timeResupply = | | crewComplement = 650 | ||
| crewComplement = | | emergencyCap = 1,500 | ||
| emergencyCap = | |||
| civilians = | | civilians = | ||
| populationCap = | | populationCap = | ||
| flightCrew = | | flightCrew = | ||
| passengers = | | passengers = | ||
| length = | | length = 467 meters | ||
| width = | | width = 181.6 meters | ||
| diameter = | | diameter = | ||
| height = | | height = 77.8 meters | ||
| decks = | | decks = 28 | ||
| propulsionSystem = | | propulsionSystem = M/AM Warp Drive | ||
| cruiseSpeed = Warp | | cruiseSpeed = Warp 7 | ||
| maxSpeed = Warp 8. | | maxSpeed = Warp 8.8 | ||
| emergencySpeed = Warp 9.4 (12 hours) | | emergencySpeed = Warp 9.4 (12 hours) | ||
| energyWeapons = *10x Type- | | energyWeapons = *10x [[Phasers|Type-VIII Dual Emitter Phaser Banks]] | ||
| torpLaunchers = * | | t2energyWeapons = *12 Type-VIII Dual Emitter Phaser Banks | ||
* | | torpLaunchers = *2 forward | ||
*2 aft | |||
| torpPayload = *200 Photon Torpedoes | | torpPayload = *200 Photon Torpedoes | ||
| shields = | | shields = [[Shields|Regenerative Shielding System]] | ||
| dockingfacilities = | | dockingfacilities = | ||
| shuttleBays = 2 | | shuttleBays = 2 | ||
| shuttles = | | shuttles = 10 | ||
| runabouts = 2 | | runabouts = 2 | ||
| fighters = | | fighters = | ||
| aux = | | aux = | ||
| msd = | | msd = | ||
| | | playable = | ||
| bfmsRegistry = https://bravofleet.com/registry?_status=&_class=53686&_sort=namesake&_per_page=100 | |||
| | |||
| templatemode = nocats | | templatemode = nocats | ||
}} | }} | ||
</pre> | |||
{{clear}} | {{clear}} | ||
[[Category:Infobox Templates]] | [[Category:Infobox Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 03:06, 15 November 2024
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 = | succeedingClass1 = | succeedingClass2 = | 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 | 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 }}