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

From blackwiki
Jump to navigation Jump to search
imported>Sbyrnes321
(update documentation for new "Dimension" logic)
imported>Brainulator9
(reflecting image syntax)
 
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.

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