Jump to content

Template:Infobox unit and Template:Infobox unit/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
notheme?
 
implement support for fourth symbol
 
Line 1: Line 1:
{{Infobox
{{Infobox
| bodystyle = background:{{{bgcolor|}}};
| bodyclass = ib-unit
| above = {{{name|{{SUBPAGENAME}}}}}
| above = {{{name|{{SUBPAGENAME}}}}}
|imagestyle = background-color: #f8f9fa;
| imageclass = notheme
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|alt={{{alt|}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|alt={{{alt|}}}}}
| caption = {{{caption|}}}
| caption = {{{caption|}}}
Line 11: Line 9:
| header1 = {{#if:{{{image|}}} |General information}}
| header1 = {{#if:{{{image|}}} |General information}}


| label2 = [[System of units of measurement|Unit system]]
| label2 = [[System of measurement|Unit system]]
| data2 = {{{standard|}}}
| data2 = {{{standard|}}}


Line 123: Line 121:
| data37 = {{#ifexpr:({{#if:{{{units_us6|}}}|1|0}} and {{#if:{{{inunits_us6|}}}|1|0}}) |{{nbsp|3}}{{{inunits_us6|}}} }}
| data37 = {{#ifexpr:({{#if:{{{units_us6|}}}|1|0}} and {{#if:{{{inunits_us6|}}}|1|0}}) |{{nbsp|3}}{{{inunits_us6|}}} }}


}}<!--
}}<!-- needed for dark mode e.g. [[Horsepower]]--><templatestyles src="Template:Infobox/styles-images.css" /><!--


--><noinclude>{{documentation}}</noinclude>
--><noinclude>{{documentation}}</noinclude>