Difference between revisions of "Template:Infobox physical quantity"

From blackwiki
Jump to navigation Jump to search
imported>Sbyrnes321
(SI symbol --> Common symbol(s), see talk)
imported>ArtinX13
 
(41 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<noinclude>{{documentation}}</noinclude><includeonly>
+
{{Infobox
{|class="infobox" style="width: 24em; text-align: left; font-size: 90%" cellspacing="2"
+
| bodystyle = {{#if:{{{width|}}} |width:{{{width}}};}} {{#if:{{{background|}}} |background:{{{background}}};}}
|-
+
| abovestyle = font-style:italic;
{{#if:{{{name|}}}
+
| above = {{{name|}}}
  | {{!}} style="font-size: 110%;" colspan="2"{{!}} <center>'''''{{{name|}}}'''''</center>
+
| 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|}}}}}
  | {{!}} coslpan="2"{{!}} <center>Please specify name<br>See [[Template:Infobox Physical quantity|documentation]] for details</center>
+
| caption = {{{caption|}}}
}}
 
  
|-
+
| label1 = {{longitem|Common symbols}}
{{#if:{{{image|}}}
+
| data1 = {{{symbols|}}}
  | {{!}} colspan="2"{{!}} <center>{{{image|}}}</center>
+
| label2 = [[SI&nbsp;unit]]
}}
+
| data2 = {{{unit|}}}
|-
+
| label3 = {{longitem|Other units}}
{{#if:{{{caption|}}}
+
| data3 = {{{otherunits|}}}
| {{!}}colspan="2"{{!}} <center><small>{{{caption|}}}</small></center>
+
| label4 = In [[SI base unit|{{allow wrap|SI&nbsp;base units}}]]
}}
+
| data4 = {{#if:{{{basequantities|}}} |{{{basequantities}}} |{{{baseunits|}}}}}
|-
+
| label6 = [[Intensive and extensive properties|Extensive]]?
{{#if:{{{symbols|}}}
+
|  data6 = {{{extensive|}}}
  | {{!}}'''Common symbol(s):'''{{!}}{{!}} {{{symbols|}}}
+
| label7 = [[Intensive and extensive properties|Intensive]]?
}}
+
| data7 = {{{intensive|}}}
|-
+
| label8 = [[Conserved quantity|Conserved]]?
{{#if:{{{basequantities|}}}
+
| data8 = {{{conserved|}}}
  | {{!}}'''in SI base quantities:'''{{!}}{{!}} {{{basequantities|}}}
+
| label9 = {{longitem|Behaviour under<br/>{{nowrap|[[Coordinate transformation|coord transformation]]}}}}
}}
+
| data9 = {{{transformsas|}}}
|-
+
| label10 = {{longitem|Derivations from<br/>other quantities}}
{{#if:{{{dimension|}}}
+
| data10 = {{{derivations|}}}
  | {{!}}'''[[Dimensional analysis|SI quantity dimension]]:'''{{!}}{{!}} {{{dimension|}}}
+
| label12 = [[Dimensional_analysis#Definition|Dimension]]
}}
+
| data12 = {{#ifeq:{{{dimension|}}}|wikidata|{{#invoke:wd|property|P4020}}|{{{dimension|}}}}}
|-
+
}}<noinclude>{{Documentation}}</noinclude>
{{#if:{{{unit|}}}
 
  | {{!}}'''[[SI unit]]:'''{{!}}{{!}} {{{unit|}}}
 
}}
 
|-
 
{{#if:{{{otherunits|}}}
 
  | {{!}}'''other units:'''{{!}}{{!}} {{{otherunits|}}}
 
}}
 
|-
 
{{#if:{{{extensive|}}}
 
  | {{!}}'''[[Intensive and Extensive quantities|Extensive]]:'''{{!}}{{!}} {{{extensive|}}}
 
}}
 
|-
 
{{#if:{{{intensive|}}}
 
  | {{!}}'''[[Intensive and Extensive quantities|Intensive]]:'''{{!}}{{!}} {{{intensive|}}}
 
}}
 
|-
 
{{#if:{{{conserved|}}}
 
  | {{!}}'''[[Conserved quantities|Conserved]]:'''{{!}}{{!}} {{{conserved|}}}
 
}}
 
|-
 
{{#if:{{{transformsas|}}}
 
  | {{!}}'''Behaviour under [[coordinate transformation]]s:'''{{!}}{{!}} {{{transformsas|}}}
 
}}
 
|-
 
{{#if:{{{derivations|}}}
 
  | {{!}}'''Derivations from other quantities:'''{{!}}{{!}} {{{derivations|}}}
 
}}
 
|-
 
|}</includeonly>
 

Latest revision as of 22:41, 7 April 2020

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

50px 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