Sb forum speech.png DiscordLink.png FacebookLink.png RedditLink.png SteamLink.png TwitterLink.png YoutubeLink.png

User:Dusty/Sandbox/Templates/Template:dsInfobox

From Starbase wiki
Jump to navigation Jump to search


This is the documentation for the infobox template as designed by meeeee

Loading Template

Usage

Copy and paste the source below into the document being edited to load the infobox template. The template is set to float on the right side of the page, and should be hoisted above body content.

Source

{{User:Dusty/Sandbox/Templates/Template:dsInfobox
|image=
|model=

<!-- Overview tab -->
|manufacturer=
|role=
|size=
|crew=
|cargoCapacity=
|productionState=
|generalExtras=

<!-- Marketing section -->
|unitCost=
|runningCost=
|marketingExtras=

<!-- Specifications section -->
|length=
|beam=
|height=
|voxelVolume=
|maxSpeed=
|range=
|specificationsExtra=

<!-- Custom overview header and field section -->
|overviewTabExtra=

<!-- Hull & Frame tab -->
|hull=
|frame=

<!-- Sensors & YOLOL tab -->
|sensors=
|yolol=

<!-- Power & Thrusters tab -->
|power=
|thrusters=

<!-- Devices & Armaments tab -->
|devices=
|armaments=
}}

Configuring Template

All fields are optional, and can accept strings or HTML. Though the Hull & Frame, Sensors & YOLOL, Power & Thrusters, and Devices & Armaments tabs can be supplied with unformatted body text, they should instead be supplied with the component row template on a per-component basis, with each use of the template separated by a line-break.

Current Icons List

Beam
Device
Fuel
Light
Plate
Power
Sensor
Thruster
Weapon
Yolol

Additional icons can be uploaded and attached with the |icon= parameter


Appending Extra Content

Appending non-standard content to the overview tab can be achieved by adding the header template and/or row template as arguments in the generalExtras, marketingExtras, specificationsExtras, and/or overviewTabExtra parameters. The header template will create a new header which is used to divide each of the sections, eg: general, marketing, and specifications areas. The row template will create a single new cell in its place.

Example Usage

An example page with this template can be found here.

{{User:Dusty/Sandbox/Templates/Template:dsInfobox
|image=Ithaca_IV_Cover.png
|model=Ithaca IV
|manufacturer=Eos Shipyards
|role=Civilian Transport
|size=Medium
|crew=1 Pilot + 1 Co-pilot
|cargoCapacity=0
|productionState=In production
|generalExtras={{Infobox_Infocell
|cellHeader=Passenger Capacity
|cellBody=12
}}
|unitCost=11.2 million credits (approx.)
|runningCost=4,000 credits/hour
|marketingExtras={{Infobox_Infocell
|cellHeader=Rental cost
|cellBody=60,000 credits/hour
}}
|length=36.36 meters
|beam=22.08 meters
|height=10.16 meters
|voxelVolume=789,312,045
|maxSpeed=To be determined
|range=12 hours (est.)
|specificationsExtra={{Infobox_Infocell
|cellHeader=Max Acceleration
|cellBody=Unknown
}}
|overviewTabExtra=
|hull={{Infobox_Component
|component=Plating
|count=60%
|text=[[Bastium]]
|icon=[[File:Plate.png]]
}}
{{Infobox_Component
|component=Plating
|count=30%
|text=[[Bastonium]]
|icon=[[File:Plate.png]]
}}
{{Infobox_Component
|component=Plating
|count=10%
|text=[[Charodium]]
|icon=[[File:Plate.png]]
}}
|frame={{Infobox_Component
|component=Frame
|count=100%
|text=[[Bastium]]
|icon=[[File:Beam.png]]
}}
|sensors={{Infobox_Component
|component=[[Rangefinder]]
|count=2x
|text=Bottom-facing landing sensors
|icon=[[File:Sensor.png]]
}}
{{Infobox_Component
|component=[[Receiver]]
|count=4x
|text=Location processing
|icon=[[File:Sensor.png]]
}}
|yolol={{Infobox_Component
|component=ISAN Processor
|count=1x
|text=Location processing
|icon=[[File:Yolol.png]]
}}
|power={{Infobox_Component
|component=[[Generator]]
|count=14x
|text=No enhancers
|icon=[[File:Power.png]]
}}
{{Infobox_Component
|component=[[Fuel Rod Chamber]]
|count=2
|text=No enhancers
|icon=[[File:Power.png]]
}}
{{Infobox_Component
|component=[[Fuel Rod Chamber]]
|count=2x
|text=[[Tier 3 Enhancers]]
|icon=[[File:Power.png]]
}}
{{Infobox_Component
|component=[[Propellant Tank|Propellant Tank (med.)]]
|count=6x
|text=30,000,000  [[propellant]]  units
|icon=[[File:Fuel.png]]
}}
{{Infobox_Component
|component=[[Propellant Tank|Propellant Tank (sm.)]]
|count=2x
|text=3,000,000  [[propellant]]  units
|icon=[[File:Fuel.png]]
}}
|thrusters={{Infobox_Component
|component=[[Triangle Thruster]]
|count=31x
|text=Main thrust
|icon=[[File:Thruster.png]]
}}
{{Infobox_Component
|component=[[Maneuver Thruster]]
|count=16x
|text=Roll, pitch, yaw placements
|icon=[[File:Thruster.png]]
}}
|devices={{Infobox_Component
|component=[[Lamp]]
|count=28x
|text=Interior lighting
|icon=[[File:Light.png]]
}}
{{Infobox_Component
|component=[[Main Flight Computer|M.F.C]]
|count=1x
|text=Forward orientation
|icon=[[File:Device.png]]
}}
|armaments={{Infobox_Component
|component=[[Mining Laser]]
|count=2x
|text=Lateral placement
|icon=[[File:Weapon.png]]
}}
}}


Cookies help us deliver our services. By using our services, you agree to our use of cookies.