Difference between revisions of "Template:SB Infobox Begin"
m |
m |
||
Line 1: | Line 1: | ||
<noinclude>Creates a modular infobox for use on English pages. By default, this template contains no sections, but sections can be appended as follows: | <noinclude>Creates a modular infobox for use on English-language pages. By default, this template contains no sections, but sections can be appended as follows: | ||
<pre>{{SB Infobox Begin | <pre>{{SB Infobox Begin |
Revision as of 03:41, 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=[[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 }} }}