Difference between revisions of "Template:Infobox physical quantity"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
(parent template should accomodate this)
(if width, copied longitem/allow wrap used in other infobox templates)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
| bodystyle = width:{{{width|20.55em}}};{{#if:{{{background|}}} |background:{{{background}}};}}
+
| bodystyle = {{#if:{{{width|}}} |width:{{{width}}};}} {{#if:{{{background|}}} |background:{{{background}}};}}
 
+
| abovestyle = font-style:italic;
| abovestyle = font-style:italic
 
 
| above = {{{name|}}}
 
| above = {{{name|}}}
 
 
| image = {{{image|}}}
 
| image = {{{image|}}}
| caption = {{{caption<includeonly>|</includeonly>}}}
+
| caption = {{{caption|}}}
  
| label1 = Common symbols
+
| label1 = {{longitem|Common symbols}}
 
| data1 = {{{symbols|}}}
 
| data1 = {{{symbols|}}}
 
+
| label2 = [[SI&nbsp;unit]]
| label2 = [[SI unit]]
 
 
| data2 = {{{unit|}}}
 
| data2 = {{{unit|}}}
 
+
| label3 = {{longitem|Other units}}
| label3 = Other units
 
 
| data3 = {{{otherunits|}}}
 
| data3 = {{{otherunits|}}}
 
+
| label4 = In [[SI base unit|{{allow wrap|SI&nbsp;base units}}]]
| label4 = In [[SI base unit]]s
+
| data4 = {{#if:{{{basequantities|}}} |{{{basequantities}}} |{{{baseunits|}}}}}
| data4 = {{#if:{{{basequantities|}}} |{{{basequantities}}} |{{{baseunits|}}} }}
+
| label5 = [[Dimensional analysis|SI&nbsp;dimension]]
 
 
| label5 = [[Dimensional analysis|SI dimension]]
 
 
| data5 = {{{dimension|}}}
 
| data5 = {{{dimension|}}}
 
 
| label6 = [[Intensive and extensive properties|Extensive]]?
 
| label6 = [[Intensive and extensive properties|Extensive]]?
 
| data6 = {{{extensive|}}}
 
| data6 = {{{extensive|}}}
 
 
| label7 = [[Intensive and extensive properties|Intensive]]?
 
| label7 = [[Intensive and extensive properties|Intensive]]?
 
| data7 = {{{intensive|}}}
 
| data7 = {{{intensive|}}}
 
 
| label8 = [[Conserved quantities|Conserved]]?
 
| label8 = [[Conserved quantities|Conserved]]?
 
| data8 = {{{conserved|}}}
 
| data8 = {{{conserved|}}}
 
+
| label9 = {{longitem|Behaviour under<br/>{{nowrap|[[Coordinate transformation|coord transformation]]}}}}
| label9 = Behaviour under<br/>{{nowrap|[[Coordinate transformation|coord transformation]]}}
 
 
| data9 = {{{transformsas|}}}
 
| data9 = {{{transformsas|}}}
 
+
| label10 = {{longitem|Derivations from<br/>other quantities}}
| label10 = Derivations from<br/>other quantities
 
 
| data10 = {{{derivations|}}}
 
| data10 = {{{derivations|}}}
  
 
}}<noinclude>{{Documentation}}</noinclude>
 
}}<noinclude>{{Documentation}}</noinclude>

Revision as of 12:19, 17 February 2015

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata

Usage

  1. redirect Template:Parameter names example
{{Infobox physical quantity
| name =
| width =
| background =
| image = 
| caption = 
| unit =
| otherunits =
| symbols =
| baseunits =
| dimension =
| extensive =
| intensive =
| conserved =
| transformsas =
| derivations =
}}

Script error: No such module "aligned table".

Examples

Electric charge
Common symbols
Template:Mvar, Template:Mvar
SI unitcoulomb
Other units
Elementary charge
In [[SI base unit|
  1. REDIRECT Template:Wrap]]
As
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox physical quantity{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| name = Electric charge
| symbols = {{mvar|Q}}, {{mvar|q}}
| baseunits = [[Ampere|A]]⋅[[Second|s]]
| unit = [[coulomb]]
| otherunits = {{nowrap|[[Elementary charge]]}}
}}
Power
Common symbols
Template:Mvar
SI unitwatt
In [[SI base unit|
  1. REDIRECT Template:Wrap]]
kgm2s−3
Derivations from
other quantities
Template:Ublist
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox physical quantity{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| name = Power
| unit = [[watt]]
| symbols = {{mvar|P}}
| baseunits = [[kilogram|kg]]⋅[[meter|m]]{{sup|2}}⋅[[second|s]]{{sup|−3}}
| derivations =
 {{ublist
  | {{math|1=''P'' = [[Energy|''E'']] ∕ [[Time|''t'']]}}
  | {{math|1=''P'' = [[Force|''F'']] ⋅ [[Velocity|''v'']]}}
  | {{math|1=''P'' = [[Electric current|''I'']] ⋅ [[Voltage|''U'']]}}
 }}
}}

See also