Difference between pages "Template:TEST" and "USS Independence"

Template page
(Difference between pages)
m
 
m (Just adding a value to the infobox to make it look prettier. Adding in the comment on Notable crew for the next person.)
 
Line 1: Line 1:
<div class="infobox">
{{Starship
{| class="ibtable" align="right" cellpadding="3" cellspacing="0"
| name = Independence
{{#if: {{{image|}}}|
| prefix = USS
    {{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{image}}}
| image = [[File:Defindywiki1.png]]
    {{!}}-
| registry = NCC-81358
    {{!}} class="ibname" colspan="2" {{!}} {{{displayName|}}}|
| class = Defiant
    <!-- If no image -->{{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{displayName|}}}
| type = escort
| affiliation = [[Starfleet]]
| status = Active
| commission = 2379
| decommission =  
| destroyed =  
| unit =
| taskforce =
| squadron =  
| role = Escort
| co =  
| xo =  
| dedication =
}}
}}
|-
The '''USS ''Independence'' (NCC-81358)''' is [[Defiant Class|''Defiant''-class]] escort assigned to the [[Fourth Fleet]].
| class="ibheader" colspan="2" | '''Information'''
|-
{{#if: {{{affiliation|}}}|
{{!}} class="ibleft" {{!}} Affiliation
{{!}} class="ibright" {{!}}
{{{affiliation}}}
}}
|-
{{#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|}}}|
{{!}} class="ibleft" {{!}} Preceding Class
{{!}} class="ibright" {{!}}
[[{{{precedingClass}}}]]|
{{!}} class="ibleft" {{!}} Preceding Class
{{!}} class="ibright" {{!}}
[[{{{precedingClass}}} Class|''{{{precedingClass}}}''-class]]
}}
}}
|-
{{#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}}}
}}
|-
| class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:TEST]]
|}
</div>
<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.


This can also be achieved by the use of an extra value on the template call.
== History ==
<pre>
=== The Lost Fleet ===
| templatemode =  
The ''Independence'' came under the command of Ramius Vornar in 2389, and was assigned to a formation under the command of Fleet Captain Jericho that eventually became [[Endeavour Squadron]] in 2401. This formation took part in the defence of the [[Deneb Sector]] against the Dominion [[The Lost Fleet|Lost Fleet]] that year, participating in the liberation of the Izar system. During the campaign, it was discovered that Commander Ramius had at some point been replaced by a Changeling infiltrator. The ''Independence'' led a key role in the Battle of Izar after the impostor's discovery, bringing reinforcements in at a critical juncture. With the invasion's end, the crew of the ''Independence'' were dispersed, and the ship reassigned.
</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.
<pre>
{{TEST
| image =  
| displayName =  
| name =  
| affiliation =  
| operator =  
| status =  
| role =  
| type =  
| precedingClass =  
| succeedingClass =
| 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 =
| 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>
{{clear}}
{{TEST
| image = [[Image:Ambassadorclass.png]]
| displayName = '''''Ambassador'' Class'''
| name = Ambassador
| affiliation = United Federation of Planets
| operator = Starfleet
| status = Retired
| role = Heavy Cruiser
| type = Explorer
| precedingClass = Excelsior
| succeedingClass = Galaxy
| dateEntered = 2330
| productionEnd = 2358
| retired = 2400
| expectedDuration =
| expectedRefit = 8 Years
| timeResupply = 4 Years
| crewComplement = 750
| emergencyCap = 3200
| civilians =
| populationCap =
| flightCrew =
| passengers =
| length = 526 meters
| width = 320 meters
| diameter =
| height = 125 meters
| decks = 31
| propulsionSystem = Matter/Antimatter powered warp drive
| cruiseSpeed = Warp 6.2
| maxSpeed = Warp 8.9
| emergencySpeed = Warp 9.4 (12 hours)
| energyWeapons = *10x Type-X Phaser Arrays
| torpLaunchers = *1 Forward
*1 aft
| torpPayload = *200 Photon Torpedoes
| shields = Multi-Layered Shielding System
| dockingfacilities =
| shuttleBays = 2
| shuttles = 15
| runabouts = 2
| fighters =
| aux =
| msd =
| templatemode = nocats
}}
==Starship Demonstration==
Starship demonstration. The gold standard and primary use for this template.
<pre>{{TEST
| image = [[Image:Ambassadorclass.png]]
| displayName = '''''Ambassador'' Class'''
| name = Ambassador
| affiliation = United Federation of Planets
| operator = Starfleet
| status = Retired
| role = Heavy Cruiser
| type = Explorer
| precedingClass = Excelsior
| succeedingClass = Galaxy
| dateEntered = 2330
| productionEnd = 2358
| retired = 2400
| expectedDuration =
| expectedRefit = 8 Years
| timeResupply = 4 Years
| crewComplement = 750
| emergencyCap = 3200
| civilians =
| populationCap =
| flightCrew =
| passengers =
| length = 526 meters
| width = 320 meters
| diameter =
| height = 125 meters
| decks = 31
| propulsionSystem = Matter/Antimatter powered warp drive
| cruiseSpeed = Warp 6.2
| maxSpeed = Warp 8.9
| emergencySpeed = Warp 9.4 (12 hours)
| energyWeapons = *10x Type-X Phaser Arrays
| torpLaunchers = *1 Forward
*1 aft
| torpPayload = *200 Photon Torpedoes
| shields = Multi-Layered Shielding System
| dockingfacilities =
| shuttleBays = 2
| shuttles = 15
| runabouts = 2
| fighters =
| aux =
| msd =
| templatemode = nocats
}}</pre>
{{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
}}


==Station Demonstration==
<!--Do not delete the notable crew section. This is used for command history tracking by the Intel office-->
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".
==Notable Crew==
<pre>{{TEST
===Commanding Officers===
| image = [[File:Smolboi.png]]
*[https://bravofleet.com/command/69223 2398 - 2401]: Commander [[bfms_char:69224/|Ramius Vornar]]
| 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]]
}}
==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}}
</noinclude>

Latest revision as of 04:32, 2 March 2024

Defindywiki1.png
USS Independence
General Information
Registry NCC-81358
Class & Type Defiant-class escort
Affiliation Starfleet
Status Active
Commissioned 2379
Assignment
Role Escort
Template:Starship

The USS Independence (NCC-81358) is Defiant-class escort assigned to the Fourth Fleet.

History

The Lost Fleet

The Independence came under the command of Ramius Vornar in 2389, and was assigned to a formation under the command of Fleet Captain Jericho that eventually became Endeavour Squadron in 2401. This formation took part in the defence of the Deneb Sector against the Dominion Lost Fleet that year, participating in the liberation of the Izar system. During the campaign, it was discovered that Commander Ramius had at some point been replaced by a Changeling infiltrator. The Independence led a key role in the Battle of Izar after the impostor's discovery, bringing reinforcements in at a critical juncture. With the invasion's end, the crew of the Independence were dispersed, and the ship reassigned.

Notable Crew

Commanding Officers