2,290 bytes added
, 17:44, 7 March 2021
<includeonly>
{{#default_form:Quantity property}}
{{#formlink:form=Quantity property|target={{FULLPAGENAME}}|link type=post button|link text=Edit this quantity}}
This is a property of type [[Has type::Quantity]] with main unit [[Corresponds to::1 {{{main unit}}}{{#if:{{{alternative names|}}}|,{{{alternative names|}}}|}}]] and main display unit [[Display units::{{{main unit}}}]] {{#if:{{{subquantity of|}}}|, is a subquantity of [[Subproperty of::{{{subquantity of}}}]]|}}{{#if:{{{base quantity|}}}|<nowiki> </nowiki> and has base quantity [[Has base quantity::{{{base quantity}}}]]|}}.
{{#subobject:
|@category=Unit definition
|Has unit symbol={{{main unit}}}
|Has alternative names={{{alternative names|}}}
|Has conversion factor=1
|Is display unit=True
|Is main unit=True
}}{{#set: |Has unit definition=1 {{{main unit}}}{{#if:{{{alternative names|}}}|,{{{alternative names|}}}|}}}}
<!-- {{#ask: [[{{{base quantity}}}]] |?Has unit definition |format=template |template=Quantity_property/Store_corresponds_to}} -->
{{#ask: [[{{FULLPAGENAME}}]] |?Corresponds to|format=table}}
{{{description}}}
<!-- {{#forminput:form=Quantity_property/Subquantity_property|query string=namespace=Property&preload={{FULLPAGENAME}}&Quantity_property/Subquantity_property[main unit]={{{main unit}}}&Quantity_property/Subquantity_property[alternative names]={{{alternative names}}}&Quantity_property/Subquantity_property[base quantity]={{{base quantity}}}&Quantity_property/Subquantity_property[subquantity of]={{FULLPAGENAME}}&Quantity_property/Subquantity_property[description]=Test|button text=Create subquantity|placeholder=Subquantity name, e. g. 'Has wavelength' for 'Has length'|size=50}} -->
{{#forminput:form=Quantity_property/Subquantity_property|query string=namespace=Property&preload={{FULLPAGENAME}}&Quantity_property[main unit]={{{main unit}}}&Quantity_property[alternative names]={{{alternative names}}}&Quantity_property[base quantity]={{{base quantity}}}&Quantity_property[subquantity of]={{FULLPAGENAME}}&Quantity_property[description]=Test|button text=Create subquantity|placeholder=Subquantity name, e. g. 'Has wavelength' for 'Has length'|size=50}}
<!--
{{{display units|}}} -->
{{{alternative units|}}}
{{Quantitative property}}
[[Category:Quantity property]]
</includeonly>