Difference between revisions of "Template:Infobox physical quantity"

From blackwiki
Jump to navigation Jump to search
(if width, copied longitem/allow wrap used in other infobox templates)
imported>ArtinX13
 
(18 intermediate revisions by 6 users not shown)
Line 3: Line 3:
 
| abovestyle = font-style:italic;
 
| abovestyle = font-style:italic;
 
| above = {{{name|}}}
 
| above = {{{name|}}}
| image = {{{image|}}}
+
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|maxsize={{{image_maxsize|}}}|sizedefault={{{image_sizedefault|frameless}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}|title={{{image_title|}}}|link={{{image_link|}}}}}
 
| caption = {{{caption|}}}
 
| caption = {{{caption|}}}
  
 
| label1 = {{longitem|Common symbols}}
 
| label1 = {{longitem|Common symbols}}
| data1 = {{{symbols|}}}
+
| data1 = {{{symbols|}}}
 
| label2 = [[SI unit]]
 
| label2 = [[SI unit]]
| data2 = {{{unit|}}}
+
| data2 = {{{unit|}}}
 
| label3 = {{longitem|Other units}}
 
| label3 = {{longitem|Other units}}
| data3 = {{{otherunits|}}}
+
| data3 = {{{otherunits|}}}
 
| label4 = In [[SI base unit|{{allow wrap|SI base units}}]]
 
| label4 = In [[SI base unit|{{allow wrap|SI base units}}]]
| data4 = {{#if:{{{basequantities|}}} |{{{basequantities}}} |{{{baseunits|}}}}}
+
| data4 = {{#if:{{{basequantities|}}} |{{{basequantities}}} |{{{baseunits|}}}}}
| label5 = [[Dimensional analysis|SI 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 quantity|Conserved]]?
| data8 = {{{conserved|}}}
+
| data8 = {{{conserved|}}}
 
| label9 = {{longitem|Behaviour under<br/>{{nowrap|[[Coordinate transformation|coord transformation]]}}}}
 
| label9 = {{longitem|Behaviour under<br/>{{nowrap|[[Coordinate transformation|coord transformation]]}}}}
| data9 = {{{transformsas|}}}
+
| data9 = {{{transformsas|}}}
 
| label10 = {{longitem|Derivations from<br/>other quantities}}
 
| label10 = {{longitem|Derivations from<br/>other quantities}}
| data10 = {{{derivations|}}}
+
| data10 = {{{derivations|}}}
 
+
| label12 = [[Dimensional_analysis#Definition|Dimension]]
 +
|  data12 = {{#ifeq:{{{dimension|}}}|wikidata|{{#invoke:wd|property|P4020}}|{{{dimension|}}}}}
 
}}<noinclude>{{Documentation}}</noinclude>
 
}}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 22:41, 7 April 2020

[[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