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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>Brainulator9
(reflecting image syntax)
 
(One intermediate revision by one other user not shown)
Line 32: Line 32:
 
  | width        | To specify the template's width (defaults to 20.5em)
 
  | width        | To specify the template's width (defaults to 20.5em)
 
  | background  | To specify the template's background colo/ur {{smaller|(defaults to {{tl|Infobox}}'s default)}}
 
  | background  | To specify the template's background colo/ur {{smaller|(defaults to {{tl|Infobox}}'s default)}}
  | image        | To include an image {{smaller|(use standard wikicode, i.e. {{bigger|<code><nowiki>[[File: .... ]]</nowiki></code>}})}}
+
  | image        | To include an image {{smaller|(file name only, e.g. {{bigger|<code>Example.jpg</code>}})}}
 
  | caption      | To include a caption under the image
 
  | caption      | To include a caption under the image
 
  | symbols      | The symbol or symbols used to indicate the quantity in e.g. formulae.
 
  | symbols      | The symbol or symbols used to indicate the quantity in e.g. formulae.
 
  | {{longitem|baseunits<br/>{{smaller|(basequantities)}}}} | The quantity expressed in [[SI base unit]]s.
 
  | {{longitem|baseunits<br/>{{smaller|(basequantities)}}}} | The quantity expressed in [[SI base unit]]s.
  | dimension    | The quantity's physical dimension (as used in [[dimensional analysis]])<br>Overwrites Wikidata {{Wikidata property link|P4020}}
+
  | dimension    | The quantity's dimension (a product of powers of length L, time T, etc.). Type "wikidata" to pull the entry from wikidata {{Wikidata property link|P4020}}, or type your own expression.
 
  | unit        | The [[International System of Units|SI unit]] in which the quantity is expressed
 
  | unit        | The [[International System of Units|SI unit]] in which the quantity is expressed
 
  | otherunits  | Other (non-SI) units used to measure the quantity
 
  | otherunits  | Other (non-SI) units used to measure the quantity

Latest revision as of 00:06, 3 October 2019

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 symbols
Template:Mvar, Template:Mvar
SI unitcoulomb
Other units
Elementary charge
In [[SI base unit|
  1. REDIRECT Template:Wrap]]
As
{{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 symbols
Template:Mvar
SI unitwatt
In [[SI base unit|
  1. REDIRECT Template:Wrap]]
kgm2s−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