Difference between revisions of "Template:Infobox physical quantity"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(Quantity dimension: moved to very bottom of infobox (no prejudice in any sense wrt, see also this discussion))
imported>ArtinX13
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
| abovestyle = font-style:italic;
 
| abovestyle = font-style:italic;
 
| above = {{{name|}}}
 
| above = {{{name|}}}
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|alt={{{alt|}}}}}  
+
| 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|}}}
  
Line 18: Line 18:
 
| 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]]}}}}
Line 25: Line 25:
 
|  data10 = {{{derivations|}}}
 
|  data10 = {{{derivations|}}}
 
| label12 = [[Dimensional_analysis#Definition|Dimension]]
 
| label12 = [[Dimensional_analysis#Definition|Dimension]]
|  data12 = {{#if:{{{dimension|}}} |{{{dimension|}}} |{{#invoke:wd|property|P4020}} }}
+
|  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