Difference between revisions of "Template:Infobox physical quantity"

From blackwiki
Jump to navigation Jump to search
imported>JorisvS
m
imported>Sardanaphalus
(Infobox)
Line 1: Line 1:
<noinclude>{{documentation}}</noinclude><includeonly>
+
{{Infobox
{|class="infobox" style="width: 24em; text-align: left; font-size: 90%" cellspacing="2"
+
| name = Infobox physical quantity
|-
+
| bodystyle = width:{{{width|auto}}};background:{{{background|}}};
{{#if:{{{name|}}}
+
| abovestyle = font-style:italic;
  | {{!}} style="font-size: 110%;" colspan="2"{{!}} <center>'''''{{{name|}}}'''''</center>
+
| above = {{{name<includeonly>|</includeonly>}}}
}}
+
| image = {{{image<includeonly>|</includeonly>}}}
|-
+
| caption = {{{caption<includeonly>|</includeonly>}}}
{{#if:{{{image|}}}
+
| labelstyle = padding:0.25em 0;line-height:1.2em;
  | {{!}} colspan="2"{{!}} <center>{{{image|}}}</center>
+
 
}}
+
|label1=Common symbols                         |data1={{{symbols<includeonly>|</includeonly>}}}
|-
+
|label2=In [[SI base unit]]s                    |data2={{{baseunits<includeonly>|{{{basequantities|}}}</includeonly>}}}
{{#if:{{{caption|}}}
+
|label3=[[Dimensional analysis|SI dimension]]   |data3={{{dimension<includeonly>|</includeonly>}}}
| {{!}}colspan="2"{{!}} <center><small>{{{caption|}}}</small></center>
+
|label4=[[SI unit]]                             |data4={{{unit<includeonly>|</includeonly>}}}
}}
+
|label5=Other units                            |data5={{{otherunits<includeonly>|</includeonly>}}}
|-
+
|label6=[[Intensive and extensive properties|Extensive]] |data6={{{extensive<includeonly>|</includeonly>}}}
{{#if:{{{symbols|}}}
+
|label7=[[Intensive and extensive properties|Intensive]] |data7={{{intensive<includeonly>|</includeonly>}}}
  | {{!}}'''Common symbol(s):'''{{!}}{{!}} {{{symbols|}}}
+
|label8=[[Conserved quantities|Conserved]]     |data8={{{conserved<includeonly>|</includeonly>}}}
}}
+
|label9=Behaviour under<br/>[[Coordinate transformation|coord transformation]] |data9={{{transformsas<includeonly>|</includeonly>}}}
|-
+
|label10=Derivations from<br/>other quantities |data10={{{derivations<includeonly>|</includeonly>}}}
{{#if:{{{basequantities|}}}
+
 
  | {{!}}'''in SI base quantities:'''{{!}}{{!}} {{{basequantities|}}}
+
}}<noinclude>
}}
+
 
|-
+
{{documentation}}
{{#if:{{{dimension|}}}
+
</noinclude>
  | {{!}}'''[[Dimensional analysis|SI quantity dimension]]:'''{{!}}{{!}} {{{dimension|}}}
 
}}
 
|-
 
{{#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>
 

Revision as of 15:46, 29 March 2014

{{{name}}}
{{{image}}}
{{{caption}}}
Common symbols{{{symbols}}}
In SI base units{{{baseunits}}}
SI dimension{{{dimension}}}
SI unit{{{unit}}}
Other units{{{otherunits}}}
Extensive{{{extensive}}}
Intensive{{{intensive}}}
Conserved{{{conserved}}}
Behaviour under
coord transformation
{{{transformsas}}}
Derivations from
other quantities
{{{derivations}}}

[[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 symbolsTemplate:Mvar, Template:Mvar
In SI base unitsAs
SI unitcoulomb
Other unitsElementary charge
[[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 symbolsTemplate:Mvar
In SI base unitskgm2s−3
SI unitwatt
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