Difference between revisions of "Template:TEST"
m |
m |
||
Line 5: | Line 5: | ||
{{!}}- | {{!}}- | ||
{{#if: {{{flightCrew|}}}| | {{#if: {{{flightCrew|}}}| | ||
{{!}} class="ibname" colspan="2" {{!}} '''''{{{name}}}'' | {{!}} class="ibname" colspan="2" {{!}} '''''{{{name}}}'' {{{type}}}'''| | ||
{{!}} class="ibname" colspan="2" {{!}} '''''{{{name}}}''-class'''}}| | {{!}} class="ibname" colspan="2" {{!}} '''''{{{name}}}''-class'''}}| | ||
{{#if: {{{flightCrew|}}}| | {{#if: {{{flightCrew|}}}| | ||
{{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''''{{{name}}}'' | {{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''''{{{name}}}'' {{{type}}}'''| | ||
{{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''''{{{name}}}''-class'''}} | {{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''''{{{name}}}''-class'''}} | ||
}} | }} | ||
Line 259: | Line 259: | ||
| affiliation = | | affiliation = | ||
| role = | | role = | ||
| type = (For use with small craft, determining if shuttle/shuttlepod/runabout etc etc) | |||
| precedingClass = | | precedingClass = | ||
| succeedingClass = | | succeedingClass = | ||
Line 269: | Line 270: | ||
| civilians = | | civilians = | ||
| populationCap = | | populationCap = | ||
| flightCrew = (If this value is provided, no DefaultSort value is assigned. Ideal for pages listing multiple small craft.) | | 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 = | | passengers = | ||
| length = | | length = | ||
Line 299: | Line 300: | ||
| affiliation = Starfleet | | affiliation = Starfleet | ||
| role = Outpost | | role = Outpost | ||
| type = | |||
| precedingClass = | | precedingClass = | ||
| succeedingClass = | | succeedingClass = | ||
Line 341: | Line 343: | ||
| affiliation = Starfleet | | affiliation = Starfleet | ||
| role = Outpost | | role = Outpost | ||
| type = | |||
| precedingClass = | | precedingClass = | ||
| succeedingClass = | | succeedingClass = | ||
Line 381: | Line 384: | ||
| affiliation = Starfleet | | affiliation = Starfleet | ||
| role = Explorer | | role = Explorer | ||
| type = | |||
| precedingClass = Galaxy | | precedingClass = Galaxy | ||
| succeedingClass = Odyssey | | succeedingClass = Odyssey | ||
Line 424: | Line 428: | ||
| affiliation = Starfleet | | affiliation = Starfleet | ||
| role = Explorer | | role = Explorer | ||
| type = | |||
| precedingClass = Galaxy | | precedingClass = Galaxy | ||
| succeedingClass = Odyssey | | succeedingClass = Odyssey | ||
Line 466: | Line 471: | ||
*Starfleet | *Starfleet | ||
| role = Personnel Transport | | role = Personnel Transport | ||
| type = Shuttle | |||
| precedingClass = Type-7 Personnel Shuttle | | precedingClass = Type-7 Personnel Shuttle | ||
| succeedingClass = Type-14 Personnel Shuttle | | succeedingClass = Type-14 Personnel Shuttle | ||
Line 506: | Line 512: | ||
*Starfleet | *Starfleet | ||
| role = Personnel Transport | | role = Personnel Transport | ||
| type = Shuttle | |||
| precedingClass = Type-7 Personnel Shuttle | | precedingClass = Type-7 Personnel Shuttle | ||
| succeedingClass = Type-14 Personnel Shuttle | | succeedingClass = Type-14 Personnel Shuttle |
Revision as of 23:54, 29 June 2022
{{{name}}}-class | |
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 = | name = | affiliation = | role = | type = (For use with small craft, determining if shuttle/shuttlepod/runabout etc etc) | precedingClass = | succeedingClass = | dateEntered = | 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 provided, Crew Complement header will change to read Population. Ideal for starbases.) | maxSpeed = | emergencySpeed = | energyWeapons = | torpLaunchers = | torpPayload = | shields = | dockingfacilities = | shuttleBays = | shuttles = | runabouts = | fighters = | 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.) }}
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 |
|
Torpedo Launchers |
|
Shields |
Graviton Shields |
Docking Facilities | |
Docking Facilities |
|
Runabouts |
4 Danube-class |
Template:TEST |
Station test
Station test here
{{TEST | image = [[File:Smolboi.png]] | 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 = | msd = }}
Sovereign-class | |
Information | |
Affiliation |
Starfleet |
Role |
Explorer |
Preceding Class | |
Succeeding Class | |
Entered Service |
2369 |
Expected Refit Cycle |
10 Years |
Expected Resupply Cycle |
5 Years |
Crew Capacity | |
Standard Complement |
820 |
Emergency Capacity |
4,500 |
Dimensions | |
Length |
685.2 meters |
Width |
243 meters |
Height |
87 meters |
Decks |
24 |
Propulsion | |
Propulsion Systems |
Matter/Antimatter powered warp drive |
Cruise Speed |
Warp 8 |
Maximum Speed |
Warp 9.5 |
Emergency Speed |
Warp 9.95 (36 hours) |
Armaments | |
Energy Weapons |
|
Torpedo Launchers |
|
Torpedo Payload |
|
Shields |
Multi-Layered Shielding System |
Small Craft | |
Shuttlebays |
2 |
Shuttles |
10 |
Runabouts |
4 |
Fighters |
Like a bajillion! |
Template:TEST |
Starship test here
Starship test here
{{TEST | image = [[Image:Sovereign1.png]] | name = Sovereign | affiliation = Starfleet | role = Explorer | type = | precedingClass = Galaxy | succeedingClass = Odyssey | dateEntered = 2369 | expectedDuration = | expectedRefit = 10 Years | timeResupply = 5 Years | crewComplement = 820 | emergencyCap = 4,500 | civilians = | populationCap = | flightCrew = | passengers = | length = 685.2 meters | width = 243 meters | diameter = | height = 87 meters | decks = 24 | propulsionSystem = Matter/Antimatter powered warp drive | cruiseSpeed = Warp 8 | maxSpeed = Warp 9.5 | emergencySpeed = Warp 9.95 (36 hours) | energyWeapons = *16x Type-XII Phaser Arrays | torpLaunchers = *1 Forward turret *3 forward *5 aft | torpPayload = *300 Photon Torpedoes *150 Quantum Torpedoes | shields = Multi-Layered Shielding System | dockingfacilities = | shuttleBays = 2 | shuttles = 10 | runabouts = 4 | fighters = Like a bajillion! | msd = }}
Type-11 Shuttle | |
Information | |
Affiliation |
|
Role |
Personnel Transport |
Preceding Class | |
Succeeding Class | |
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 |
|
Template:TEST |
Shuttle test here
Starship test here
{{TEST | image = [[image:Type11Shuttle5.jpg]] | name = Type-11 | affiliation = *United Federation of Planets *Starfleet | role = Personnel Transport | 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]] }}