Difference between revisions of "Template:Infobox physical quantity"

From blackwiki
Jump to navigation Jump to search
imported>PaulTanenbaum
(Changed the text for the "unit" field from "Measured in" to "Expressed in")
imported>Kehrli
Line 16: Line 16:
 
}}
 
}}
 
|-
 
|-
{{#if:{{{unit|}}}
+
{{#if:{{{symbols|}}}
   | {{!}}'''Expressed in ([[SI unit]]):'''{{!}}{{!}} {{{unit|}}}
+
  | {{!}}'''SI symbol:'''{{!}}{{!}} {{{symbols|}}}
 +
}}
 +
|-
 +
{{#if:{{{derivations|}}}
 +
   | {{!}}'''Expressed in SI base quantities:'''{{!}}{{!}} {{{derivations|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{otherunits|}}}
+
{{#if:{{{dimension|}}}
   | {{!}}'''Other frequently used units:'''{{!}}{{!}} {{{otherunits|}}}
+
   | {{!}}'''[[Dimensional analysis|quantity dimension]]:'''{{!}}{{!}} {{{dimension|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{symbols|}}}
+
{{#if:{{{unit|}}}
   | {{!}}'''Commonly used symbols:'''{{!}}{{!}} {{{symbols|}}}
+
   | {{!}}'''[[SI unit]]:'''{{!}}{{!}} {{{unit|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{dimension|}}}
+
{{#if:{{{otherunits|}}}
   | {{!}}'''[[Dimensional analysis|Dimension]]:'''{{!}}{{!}} {{{dimension|}}}
+
   | {{!}}'''other units:'''{{!}}{{!}} {{{otherunits|}}}
 
}}
 
}}
 
|-
 
|-
Line 46: Line 50:
 
{{#if:{{{transformsas|}}}
 
{{#if:{{{transformsas|}}}
 
   | {{!}}'''Behaviour under [[coordinate transformation]]s:'''{{!}}{{!}} {{{transformsas|}}}
 
   | {{!}}'''Behaviour under [[coordinate transformation]]s:'''{{!}}{{!}} {{{transformsas|}}}
}}
 
|-
 
{{#if:{{{derivations|}}}
 
  | {{!}}'''Expressed in other quantities:'''{{!}}{{!}} {{{derivations|}}}
 
 
}}
 
}}
 
|-
 
|-
 
|}</includeonly>
 
|}</includeonly>

Revision as of 21:43, 30 October 2010

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
SI symbol: Template:Mvar, Template:Mvar
SI unit: coulomb
other units: Elementary charge
{{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
SI symbol: Template:Mvar
Expressed in SI base quantities: Template:Ublist
SI unit: watt
{{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