Difference between revisions of "Template:TEST"

From Bravo Fleet
m
m
(35 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
     {{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{image}}}
 
     {{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{image}}}
 
     {{!}}-
 
     {{!}}-
     {{!}} class="ibname" colspan="2" {{!}} '''''{{{name}}}''-class'''|
+
     {{!}} class="ibname" colspan="2" {{!}} {{{displayName|}}}|
        {{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''''{{{name}}}''-class'''
+
    <!-- If no image -->{{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{displayName|}}}
 
}}
 
}}
 
|-
 
|-
Line 14: Line 14:
 
{{!}} class="ibright" {{!}}  
 
{{!}} class="ibright" {{!}}  
 
{{{affiliation}}}
 
{{{affiliation}}}
 +
}}
 +
|-
 +
{{#if: {{{status|}}}|
 +
{{!}} class="ibleft" {{!}} Status
 +
{{!}} class="ibright" {{!}}
 +
{{{status}}}
 +
}}
 +
|-
 +
{{#if: {{{type|}}}|
 +
{{!}} class="ibleft" {{!}} Type
 +
{{!}} class="ibright" {{!}}
 +
{{{type}}}
 
}}
 
}}
 
|-
 
|-
Line 20: Line 32:
 
{{!}} class="ibright" {{!}}  
 
{{!}} class="ibright" {{!}}  
 
{{{role}}}
 
{{{role}}}
 +
}}
 +
|-
 +
{{#if: {{{precedingClass|}}}{{{succeedingClass|}}}|
 +
    {{!}} class="ibheader" colspan="2" {{!}} '''Lineage'''
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{precedingClass|}}}|
 
{{#if: {{{precedingClass|}}}|
 +
{{#if: {{{flightCrew|}}}|
 +
{{!}} class="ibleft" {{!}} Preceding Class
 +
{{!}} class="ibright" {{!}}
 +
[[{{{precedingClass}}}]]|
 
{{!}} class="ibleft" {{!}} Preceding Class
 
{{!}} class="ibleft" {{!}} Preceding Class
 
{{!}} class="ibright" {{!}}  
 
{{!}} class="ibright" {{!}}  
[[{{{precedingClass}}} Class|'''{{{precedingClass}}}'''-class]]
+
[[{{{precedingClass}}} Class|''{{{precedingClass}}}''-class]]
 +
}}
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{succeedingClass|}}}|
 
{{#if: {{{succeedingClass|}}}|
 +
{{#if: {{{flightCrew|}}}|
 +
{{!}} class="ibleft" {{!}} Succeeding Class
 +
{{!}} class="ibright" {{!}}
 +
[[{{{succeedingClass}}}]]|
 
{{!}} class="ibleft" {{!}} Succeeding Class
 
{{!}} class="ibleft" {{!}} Succeeding Class
 
{{!}} class="ibright" {{!}}  
 
{{!}} class="ibright" {{!}}  
[[{{{succeedingClass}}} Class|'''{{{succeedingClass}}}'''-class]]
+
[[{{{succeedingClass}}} Class|''{{{succeedingClass}}}''-class]]
 +
}}
 +
}}
 +
|-
 +
{{#if: {{{dateEntered|}}}{{{productionEnd|}}}{{{retired|}}}|
 +
    {{!}} class="ibheader" colspan="2" {{!}} '''Service'''
 +
}}
 +
|-
 +
{{#if: {{{operator|}}}|
 +
{{!}} class="ibleft" {{!}} Operator
 +
{{!}} class="ibright" {{!}}
 +
{{{operator}}}
 
}}
 
}}
 
|-
 
|-
Line 38: Line 74:
 
{{!}} class="ibright" {{!}}  
 
{{!}} class="ibright" {{!}}  
 
{{{dateEntered}}}
 
{{{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'''
 
}}
 
}}
 
|-
 
|-
Line 58: Line 110:
 
}}
 
}}
 
|-
 
|-
{{#if: {{{crewcomplement|}}}{{{emergencyCap|}}}{{{civilians|}}}{{{populationCap|}}}|
+
{{#if: {{{crewcomplement|}}}{{{emergencyCap|}}}{{{civilians|}}}{{{populationCap|}}}{{{flightCrew|}}}{{{passengers|}}}|
 
     {{#if: {{{cruiseSpeed|}}}|
 
     {{#if: {{{cruiseSpeed|}}}|
 
         {{!}} class="ibheader" colspan="2" {{!}} '''Crew Capacity'''|
 
         {{!}} class="ibheader" colspan="2" {{!}} '''Crew Capacity'''|
Line 87: Line 139:
 
{{!}} class="ibright" {{!}}  
 
{{!}} class="ibright" {{!}}  
 
{{{populationCap}}}
 
{{{populationCap}}}
 +
}}
 +
|-
 +
{{#if: {{{flightCrew|}}}|
 +
{{!}} class="ibleft" {{!}} Flight Crew
 +
{{!}} class="ibright" {{!}}
 +
{{{flightCrew}}}
 +
}}
 +
|-
 +
{{#if: {{{passengers|}}}|
 +
{{!}} class="ibleft" {{!}} Passengers
 +
{{!}} class="ibright" {{!}}
 +
{{{passengers}}}
 
}}
 
}}
 
|-
 
|-
Line 214: Line 278:
 
{{!}} class="ibright" {{!}}  
 
{{!}} class="ibright" {{!}}  
 
{{{fighters}}}
 
{{{fighters}}}
 +
}}
 +
|-
 +
{{#if: {{{aux|}}}|
 +
{{!}} class="ibleft" {{!}} Auxiliary Craft
 +
{{!}} class="ibright" {{!}}
 +
{{{aux}}}
 +
}}
 +
|-
 +
{{#if: {{{msd|}}}|
 +
{{!}} class="ibheader" colspan="2" {{!}} {{{msd}}}
 
}}
 
}}
 
|-
 
|-
Line 220: Line 294:
 
</div>
 
</div>
 
<includeonly>
 
<includeonly>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Specifications]]{{DEFAULTSORT:{{{name}}}}}
+
<!-- Auto category and DEFAULTSORT shenanigans going on here. -->
 +
{{#if: {{{templatemode|}}}|
 +
    <!-- do nothing -->|
 +
    <!-- else -->[[Category:Specifications]]{{#if: {{{flightCrew|}}}|
 +
        <!-- do nothing -->|
 +
        <!-- else -->{{DEFAULTSORT:{{{name}}}}}
 +
    }}
 
}}
 
}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
==Test==
 
==Test==
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.
 +
<pre>
 +
| templatemode =
 +
</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>
 
<pre>
 
{{TEST
 
{{TEST
 
| image =  
 
| image =  
 +
| displayName =
 
| name =  
 
| name =  
 
| affiliation =  
 
| affiliation =  
 +
| operator =
 +
| status =
 
| role =  
 
| role =  
 +
| type =
 
| precedingClass =  
 
| precedingClass =  
 
| succeedingClass =  
 
| succeedingClass =  
 
| dateEntered =  
 
| dateEntered =  
 +
| productionEnd =
 +
| retired =
 
| expectedDuration =  
 
| expectedDuration =  
 
| expectedRefit =  
 
| expectedRefit =  
Line 241: Line 335:
 
| civilians =  
 
| civilians =  
 
| populationCap =  
 
| 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 =  
 
| length =  
 
| width =  
 
| width =  
| diameter = (starbase only)
+
| diameter = (Starbases only.)
 
| height =  
 
| height =  
 
| decks =  
 
| decks =  
 
| propulsionSystem =  
 
| propulsionSystem =  
| cruiseSpeed =  
+
| cruiseSpeed = (If this value is absent, Crew Complement header will change to read Population. Ideal for starbases.)
 
| maxSpeed =  
 
| maxSpeed =  
 
| emergencySpeed =  
 
| emergencySpeed =  
Line 259: Line 355:
 
| runabouts =  
 
| runabouts =  
 
| fighters =  
 
| 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>
 
</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}}
 
{{clear}}
 
{{TEST
 
{{TEST
 
| image = [[File:Smolboi.png]]
 
| image = [[File:Smolboi.png]]
 +
| displayName = '''''Narendra'' Class'''
 
| name = Narendra
 
| name = Narendra
 
| affiliation = Starfleet
 
| affiliation = Starfleet
 
| role = Outpost
 
| role = Outpost
 +
| type =
 
| precedingClass =  
 
| precedingClass =  
 
| succeedingClass =  
 
| succeedingClass =  
Line 277: Line 473:
 
| civilians = 2000-4000
 
| civilians = 2000-4000
 
| populationCap = 15000
 
| populationCap = 15000
 +
| flightCrew =
 +
| passengers =
 
| length =  
 
| length =  
 
| width =  
 
| width =  
Line 297: Line 495:
 
| runabouts = 4 Danube-class
 
| runabouts = 4 Danube-class
 
| fighters =  
 
| fighters =  
 +
| aux =
 +
| msd =
 
| templatemode = nocats
 
| templatemode = nocats
 
}}
 
}}
==Station test==
+
 
Station test here
+
==Station Demonstration==
 +
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
 
<pre>{{TEST
 
| image = [[File:Smolboi.png]]
 
| image = [[File:Smolboi.png]]
 +
| displayName = '''''Narendra'' Class'''
 
| name = Narendra
 
| name = Narendra
 
| affiliation = Starfleet
 
| affiliation = Starfleet
 
| role = Outpost
 
| role = Outpost
 +
| type =
 
| precedingClass =  
 
| precedingClass =  
 
| succeedingClass =  
 
| succeedingClass =  
Line 316: Line 519:
 
| civilians = 2000-4000
 
| civilians = 2000-4000
 
| populationCap = 15000
 
| populationCap = 15000
 +
| flightCrew =
 +
| passengers =
 
| length =  
 
| length =  
 
| width =  
 
| width =  
Line 336: Line 541:
 
| runabouts = 4 Danube-class
 
| runabouts = 4 Danube-class
 
| fighters =  
 
| fighters =  
 +
| aux =
 +
| msd =
 
}}</pre>
 
}}</pre>
 
{{clear}}
 
{{clear}}
 
{{TEST
 
{{TEST
| image = [[Image:Sovereign1.png]]
+
| image = [[image:Type11Shuttle5.jpg]]
| name = Sovereign
+
| displayName = '''Type-11 Personnel Shuttle'''
| affiliation = Starfleet
+
| name = Type-11 Personnel Shuttle
| role = Explorer
+
| affiliation = *United Federation of Planets
| precedingClass = Galaxy
+
*Starfleet
| succeedingClass = Odyssey
+
| role = Personnel Shuttle
| dateEntered = 2369
+
| type = Shuttle
 +
| precedingClass = Type-7 Personnel Shuttle
 +
| succeedingClass = Type-14 Personnel Shuttle
 +
| dateEntered = 2375
 
| expectedDuration =  
 
| expectedDuration =  
| expectedRefit = 10 Years
+
| expectedRefit =  
| timeResupply = 5 Years
+
| timeResupply =  
| crewComplement = 820
+
| crewComplement =  
| emergencyCap = 4,500
+
| emergencyCap =  
 
| civilians =  
 
| civilians =  
 
| populationCap =  
 
| populationCap =  
| length = 685.2 meters
+
| flightCrew = 2
| width = 243 meters
+
| passengers = 12
 +
| length = 14.64 meters
 +
| width = 3.26 meters
 
| diameter =  
 
| diameter =  
| height = 87 meters
+
| height = 4.5 meters
| decks = 24
+
| decks =  
| propulsionSystem = Matter/Antimatter powered warp drive
+
| propulsionSystem = Warp Drive
| cruiseSpeed = Warp 8
+
| cruiseSpeed = Warp 6
| maxSpeed = Warp 9.5
+
| maxSpeed =  
| emergencySpeed = Warp 9.95 (36 hours)
+
| emergencySpeed =  
| energyWeapons = *16x Type-XII Phaser Arrays
+
| energyWeapons = *4x Type-VII Phaser Arrays
| torpLaunchers = *1 Forward turret
+
| torpLaunchers =  
*3 forward
+
| torpPayload =  
*5 aft
+
| shields =  
| torpPayload = *300 Photon Torpedoes
 
*150 Quantum Torpedoes
 
| shields = Multi-Layered Shielding System
 
 
| dockingfacilities =  
 
| dockingfacilities =  
| shuttleBays = 2
+
| shuttleBays =  
| shuttles = 10
+
| shuttles =  
| runabouts = 4
+
| runabouts =  
| fighters = Like a bajillion!
+
| fighters =  
| templatemode = nocats
+
| msd = [[File:Type11Shuttle.jpg]]
 
}}
 
}}
==Starship test here==
+
==Shuttle Demonstration==
Starship test here
+
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
 
<pre>{{TEST
| image = [[Image:Sovereign1.png]]
+
| image = [[image:Type11Shuttle5.jpg]]
| name = Sovereign
+
| displayName = '''Type-11 Personnel Shuttle'''
| affiliation = Starfleet
+
| name = Type-11 Personnel Shuttle
| role = Explorer
+
| affiliation = *United Federation of Planets
| precedingClass = Galaxy
+
*Starfleet
| succeedingClass = Odyssey
+
| role = Personnel Shuttle
| dateEntered = 2369
+
| type = Shuttle
 +
| precedingClass = Type-7 Personnel Shuttle
 +
| succeedingClass = Type-14 Personnel Shuttle
 +
| dateEntered = 2375
 
| expectedDuration =  
 
| expectedDuration =  
| expectedRefit = 10 Years
+
| expectedRefit =  
| timeResupply = 5 Years
+
| timeResupply =  
| crewComplement = 820
+
| crewComplement =  
| emergencyCap = 4,500
+
| emergencyCap =  
 
| civilians =  
 
| civilians =  
 
| populationCap =  
 
| populationCap =  
| length = 685.2 meters
+
| flightCrew = 2
| width = 243 meters
+
| passengers = 12
 +
| length = 14.64 meters
 +
| width = 3.26 meters
 
| diameter =  
 
| diameter =  
| height = 87 meters
+
| height = 4.5 meters
| decks = 24
+
| decks =  
| propulsionSystem = Matter/Antimatter powered warp drive
+
| propulsionSystem = Warp Drive
| cruiseSpeed = Warp 8
+
| cruiseSpeed = Warp 6
| maxSpeed = Warp 9.5
+
| maxSpeed =  
| emergencySpeed = Warp 9.95 (36 hours)
+
| emergencySpeed =  
| energyWeapons = *16x Type-XII Phaser Arrays
+
| energyWeapons = *4x Type-VII Phaser Arrays
| torpLaunchers = *1 Forward turret
+
| torpLaunchers =  
*3 forward
+
| torpPayload =  
*5 aft
+
| shields =  
| torpPayload = *300 Photon Torpedoes
 
*150 Quantum Torpedoes
 
| shields = Multi-Layered Shielding System
 
 
| dockingfacilities =  
 
| dockingfacilities =  
| shuttleBays = 2
+
| shuttleBays =  
| shuttles = 10
+
| shuttles =  
| runabouts = 4
+
| runabouts =  
| fighters = Like a bajillion!
+
| fighters =  
 +
| aux =
 +
| msd = [[File:Type11Shuttle.jpg]]
 
}}</pre>
 
}}</pre>
 
{{clear}}
 
{{clear}}
 
</noinclude>
 
</noinclude>

Revision as of 02:42, 30 June 2022

Information
Template:TEST

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.

| templatemode = 

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.

{{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.)
}}
Ambassadorclass.png
Ambassador Class
Information
Affiliation

United Federation of Planets

Status

Retired

Type

Explorer

Role

Heavy Cruiser

Lineage
Preceding Class

Excelsior-class

Succeeding Class

Galaxy-class

Service
Operator

Starfleet

Entered Service

2330

Production Ended

2358

Retired

2400

Endurance
Expected Refit Cycle

8 Years

Expected Resupply Cycle

4 Years

Crew Capacity
Standard Complement

750

Emergency Capacity

3200

Dimensions
Length

526 meters

Width

320 meters

Height

125 meters

Decks

31

Propulsion
Propulsion Systems

Matter/Antimatter powered warp drive

Cruise Speed

Warp 6.2

Maximum Speed

Warp 8.9

Emergency Speed

Warp 9.4 (12 hours)

Armaments
Energy Weapons
  • 10x Type-X Phaser Arrays
Torpedo Launchers
  • 1 Forward
  • 1 aft
Torpedo Payload
  • 200 Photon Torpedoes
Shields

Multi-Layered Shielding System

Small Craft
Shuttlebays

2

Shuttles

15

Runabouts

2

Template:TEST


Starship Demonstration

Starship demonstration. The gold standard and primary use for this template.

{{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
}}
Narendra.png
Narendra Class
Information
Affiliation

Starfleet

Role

Outpost

Population
Standard Complement

2000

Civilian Residents

2000-4000

Maximum Population

15000

Dimensions
Diameter

1,000 meters

Propulsion
Propulsion Systems

Manuvering Thrusters

Armaments
Energy Weapons
  • xx Type-XII Phaser Arrays
  • xx Type-X Phaser Banks
Torpedo Launchers
  • xx Torpedo Launchers
Shields

Graviton Shields

Docking Facilities
Docking Facilities
  • 6 perimeter docking facilities
  • 6 cargo/shuttle bays
Runabouts

4 Danube-class

Template:TEST



Station Demonstration

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".

{{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 = 
}}
Type11Shuttle5.jpg
Type-11 Personnel Shuttle
Information
Affiliation
  • United Federation of Planets
  • Starfleet
Type

Shuttle

Role

Personnel Shuttle

Lineage
Preceding Class

Type-7 Personnel Shuttle

Succeeding Class

Type-14 Personnel Shuttle

Service
Entered Service

2375

Crew Capacity
Flight Crew

2

Passengers

12

Dimensions
Length

14.64 meters

Width

3.26 meters

Height

4.5 meters

Propulsion
Propulsion Systems

Warp Drive

Cruise Speed

Warp 6

Armaments
Energy Weapons
  • 4x Type-VII Phaser Arrays
Type11Shuttle.jpg
Template:TEST

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.

{{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]]
}}