Difference between revisions of "Template:Infobox physical quantity"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (tweaked)
imported>Sardanaphalus
m (ditto)
Line 10: Line 10:
  
 
| labelstyle = width:auto;
 
| labelstyle = width:auto;
               padding-top:0.2em;line-height:1.2em;<!--(amended {{longitem}})-->
+
               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)-->

Revision as of 11:04, 22 May 2014

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