Difference between revisions of "Template:Infobox physical quantity"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(replaced multiple with single <includeonly> as template layout now shown via /doc page, labelstyle (per comment added), data4 handling, bodystyle conditional)
imported>Sardanaphalus
(abovestyle, nowrap)
Line 2: Line 2:
 
| bodystyle = width:{{{width|20.55em}}};{{#if:{{{background|}}} |background:{{{background}}};}}
 
| bodystyle = width:{{{width|20.55em}}};{{#if:{{{background|}}} |background:{{{background}}};}}
  
| abovestyle = font-style:italic;
+
| abovestyle = font-style:italic;border-bottom:1px solid #aaa;
 
| above = {{{name|}}}
 
| above = {{{name|}}}
  
Line 37: Line 37:
 
| data8 = {{{conserved|}}}
 
| data8 = {{{conserved|}}}
  
| label9 = Behaviour under<br/>[[Coordinate transformation|coord transformation]]
+
| label9 = Behaviour under<br/>{{nowrap|[[Coordinate transformation|coord transformation]]}}
 
| data9 = {{{transformsas|}}}
 
| data9 = {{{transformsas|}}}
  

Revision as of 10:59, 22 May 2014

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