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

Template:SB Infobox Begin

From Starbase wiki
Jump to navigation Jump to search

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

{{SB Infobox Begin
	|{{SB Infobox Header
	  |image=[[Image:Starbase cargo beam .png]]
	  |factionLogo=
	  |caption=
	  |name=
	  |border=none
	}}

	|{{SB Infobox Device General Information
	  |type=
	  |function=
	  |availability=
	  |size= ×  ×  cm
	  |mass=
	  |volume=
	  |corrosionResistance=
	  |suppressUnitsKg
	  |suppressUnitsKv
	}}

	|{{SB Infobox Device IO
	  |electricIn=
	  |electricOut=
	  |coolantIn=
	  |coolantOut=
	  |propellantIn=
	  |propellantOut=
	  |fuelIn=
	  |fuelOut=
	  |sockets=
	  |YOLOLchips=
	  |modInterfaces=
	  |deviceInterfaces=
	}}

	|{{SB Infobox Device Construction
	  |overrideHeader=
	  |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.