|
|
Line 1: |
Line 1: |
| <noinclude>[[Category:Sample pages]]
| | [[Test area::{{{param1}}}e{{{param2}}} m²|{{{param1}}} × 10<sup>{{{param2}}}</sup> m²]] |
| This [[Help:Semantic templates|semantic template]] provides a simple way to simultaneously annotate a page with the property [[Property:Surface area|surface area]] and display its value in a standardized scientific notation.
| |
| | |
| Usage: this takes two parameters, the value of the area and the power of 10 for it,
| |
| for example <code><nowiki>{{Surface area|6.088|18}}</nowiki></code>
| |
| | |
| It assumes the value is in square meters.
| |
| | |
| Here's the actual template "code": </noinclude>[[Test area::{{{param1}}}e{{{param2}}} m²|{{{param1}}} × 10<sup>{{{param2}}}</sup> m²]]
| |
Revision as of 13:32, 7 March 2018
{{{param1}}} × 10{{{param2}}} m²