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

Difference between revisions of "Template:SB Infobox Begin"

From Starbase wiki
Jump to navigation Jump to search
m (Adjusted margin of main wrapper)
m (Added documentation, heatGeneration, coolantRefresh)
Line 3: Line 3:
<pre>{{SB Infobox Begin
<pre>{{SB Infobox Begin
|{{SB Infobox Header
|{{SB Infobox Header
  |image=[[Image:Starbase cargo beam .png]]
  |image= //Mediawiki image embed
  |factionLogo=
  |factionLogo= // Mediawiki image embed with link=""
  |caption=
  |caption= //Image caption
  |name=
  |name= //Heading for infobox
  |border=none
  |subtitle= //Sub-heading for infobox
  |suppressName //Optional parameter to remove name/subtitle from infobox
  |border=none //Optional parameter to remove border from image
}}
}}


|{{SB Infobox Device General Information
|{{SB Infobox Device General Information
  |type=
  |type= //Location in asset browser directory
  |function=
  |function= //Purpose of device
  |availability=
  |availability= //What stores the device is available in
  |size= ×  ×  cm
  |size= ×  ×  cm //Dimensions of device
  |mass=
  |mass=//Mass of device in kg. Note: Asset browser tool-tips are currently inaccurate
  |volume=
  |volume=//Volume of device in kv
  |corrosionResistance=
  |corrosionResistance=//Corrosion resistance. Unit-less number
  |suppressUnitsKg
  |suppressUnitsKg //Optional parameter to remove the auto-added 'kg' from the mass field. Useful if a list is being used
  |suppressUnitsKv
  |suppressUnitsKv //Optional parameter to remove the auto-added 'kv' from the volume field. Useful if a list is being used
}}
}}


|{{SB Infobox Device IO
|{{SB Infobox Device IO
  |electricIn=
  |electricIn=//Maximum power input + e/s
  |electricOut=
  |electricOut=//Maximum power output + e/s
  |coolantIn=
  |coolantIn=//Maximum coolant input + c/s
  |coolantOut=
  |coolantOut=//Maximum coolant output + c/s
  |propellantIn=
  |coolantRefresh=//Maximum rate of coolant recycling (eg: radiators) + c/s
  |propellantOut=
  |heatGeneration=//Maximum heat generation (eg: weapons) + h/s
  |fuelIn=
  |propellantIn=//Maximum propellant input + p/s
  |fuelOut=
  |propellantOut=//Maximum propellant output + p/s
  |sockets=
  |fuelIn=//Maximum fuel input (fuel rods) + f/s
  |YOLOLchips=
  |fuelOut=//Maximum fuel output (fuel rods) + f/s
  |modInterfaces=
  |thrust=//Maximum thrust output. Unit-less
  |deviceInterfaces=
  |sockets=//Number of sockets on devices, if any
  |YOLOLchips=//Number of YOLOL/Memory chip slots, if any
  |modInterfaces=//Number of modular interfaces (eg: triangle thrusters, YOLOL racks, memory relays), if any
  |deviceInterfaces=//Number of device-base interfaces, if any
}}
}}


|{{SB Infobox Device Construction
|{{SB Infobox Device Construction
  |overrideHeader=
  |overrideHeader=//Used to override the header content of the device construction field (often used if a device is multi-part and needs multiple construction sections)
  |aegisium=
  |aegisium=
  |ajatite=
  |ajatite=

Revision as of 11:07, 24 May 2021

Creates a modular infobox for use on English-language pages. By default, this template contains no sections, but sections can be appended as follows:

{{SB Infobox Begin
	|{{SB Infobox Header
	  |image= //Mediawiki image embed
	  |factionLogo= // Mediawiki image embed with link=""
	  |caption= //Image caption
	  |name= //Heading for infobox
	  |subtitle= //Sub-heading for infobox
	  |suppressName //Optional parameter to remove name/subtitle from infobox
	  |border=none //Optional parameter to remove border from image
	}}

	|{{SB Infobox Device General Information
	  |type= //Location in asset browser directory
	  |function= //Purpose of device
	  |availability= //What stores the device is available in
	  |size= ×  ×  cm //Dimensions of device
	  |mass=//Mass of device in kg. Note: Asset browser tool-tips are currently inaccurate
	  |volume=//Volume of device in kv
	  |corrosionResistance=//Corrosion resistance. Unit-less number
	  |suppressUnitsKg //Optional parameter to remove the auto-added 'kg' from the mass field. Useful if a list is being used
	  |suppressUnitsKv  //Optional parameter to remove the auto-added 'kv' from the volume field. Useful if a list is being used
	}}

	|{{SB Infobox Device IO
	  |electricIn=//Maximum power input + e/s
	  |electricOut=//Maximum power output + e/s
	  |coolantIn=//Maximum coolant input + c/s
	  |coolantOut=//Maximum coolant output + c/s
	  |coolantRefresh=//Maximum rate of coolant recycling (eg: radiators) + c/s
	  |heatGeneration=//Maximum heat generation (eg: weapons) + h/s
	  |propellantIn=//Maximum propellant input + p/s
	  |propellantOut=//Maximum propellant output + p/s
	  |fuelIn=//Maximum fuel input (fuel rods) + f/s
	  |fuelOut=//Maximum fuel output (fuel rods) + f/s
	  |thrust=//Maximum thrust output. Unit-less
	  |sockets=//Number of sockets on devices, if any
	  |YOLOLchips=//Number of YOLOL/Memory chip slots, if any
	  |modInterfaces=//Number of modular interfaces (eg: triangle thrusters, YOLOL racks, memory relays), if any
	  |deviceInterfaces=//Number of device-base interfaces, if any
	}}

	|{{SB Infobox Device Construction
	  |overrideHeader=//Used to override the header content of the device construction field (often used if a device is multi-part and needs multiple construction sections)
	  |aegisium=
	  |ajatite=
	  |arkanium=
	  |bastium=
	  |charodium=
	  |corazium=
	  |exorium=
	  |haderite=
	  |ice=
	  |ilmatrium=
	  |karnite=
	  |kutonium=
	  |lukium=
	  |merkerium=
	  |nhurgite=
	  |oninum=
	  |surtrite=
	  |tengium=
	  |ukonium=
	  |valkite=
	  |vokarium=
	  |xhalium=
	}}
}}

The overrideHeader field in Template:SB_Infobox_Device_Construction exists so that the section may easily be duplicated and separately named. suppressUnitsKg and suppressUnitsKv exist in the event that mass or volume are filled with an unordered list or some other form of data that would be confusing with 'kg' or 'kv' added to its end. Add any value to these fields to enable them.

Additional custom sections may be appended with the Infobox Section template. For ease of use (and for allowing sections to be appended to the above prefix sections), this section template does not include a header. A section header can be found here, and the two may be used as follows

{{Template:SB_Infobox_Begin
  |{{Template:SB_Infobox_Header|Header Name}}
  |{{Template:SB_Infobox_Section
    |Field 1=Value 1
    |Field 2=Value 2
  }}
}}



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