Difference between revisions of "Template:Infobox physical quantity/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (test)
imported>Sardanaphalus
(Reset with current main template)
 
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;padding-bottom:0.35em;border-bottom:1px solid #aaa;
 
| above = {{{name|}}}
 
| above = {{{name|}}}
  
Line 9: Line 9:
 
| caption = {{{caption<includeonly>|</includeonly>}}}
 
| caption = {{{caption<includeonly>|</includeonly>}}}
  
| labelstyle = width:auto; padding:2.0em 0;line-height:1.2em;<!--(longitem)-->
+
| labelstyle = width:auto;
 +
              padding-top:0.25em;line-height:1.2em;<!--(amended {{longitem}})-->
 
               padding-right:0.65em;<!--(to ensure some gap between a (long/unwrapped) label and subsequent data on the same line)-->
 
               padding-right:0.65em;<!--(to ensure some gap between a (long/unwrapped) label and subsequent data on the same line)-->
 
| datastyle = width:44%;<!--(width > 44% makes unsightly linewraps likely)-->
 
| datastyle = width:44%;<!--(width > 44% makes unsightly linewraps likely)-->
Line 37: Line 38:
 
| 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|}}}
  

Latest revision as of 11:08, 22 May 2014

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
{{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
{{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