Template:Infobox physical quantity/testcases
Appearance
This is the template test cases page for the sandbox of Template:Infobox physical quantity. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Test1
{{Infobox physical quantity|param1|param2|...|name3=value3}}
Electric charge | |
---|---|
Common symbols | Q, q |
SI unit | coulomb |
Other units | Elementary charge |
In SI base units | A⋅s |
{{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]]}}
}}
Test2
{{Infobox physical quantity|param1|param2|...|name3=value3}}
Power | |
---|---|
Common symbols | P |
SI unit | watt |
In SI base units | kg⋅m2⋅s−3 |
Derivations from other quantities |
{{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}}
| dimension = wikidata
| derivations =
{{ublist
| {{math|1=''P'' = [[Energy|''E'']] ∕ [[Time|''t'']]}}
| {{math|1=''P'' = [[Force|''F'']] ⋅ [[Velocity|''v'']]}}
| {{math|1=''P'' = [[Electric current|''I'']] ⋅ [[Voltage|''U'']]}}
}}
}}
Test3
{{Infobox physical quantity|param1|param2|...|name3=value3}}
Planck constant | |
---|---|
Common symbols | |
SI unit | joule-second |
Value |
{{Infobox physical quantity/sandbox
| name = Planck constant
| unit = joule-second
| otherunits =
| symbols = <math>h</math>
| dimension =
| derivations =
| value = <math>\mathrm{6.626\ 070\ 15\times 10^{-34} {J \cdot s}}</math>
}}