Property talk:Volume

From Space Engineers Wiki
Jump to: navigation, search

Datatype Quantity Test results

The test was successful. It is indeed possible to use the Quantity datatype in Semantic-MediaWiki expressions by using the printout format.

What would normally render as 1,000,000 m3<code> can be rendered as <code>1000000 by adding #-n to the end of the queried parameter.

To get Write Note
{{#show:Large_Hydrogen_Thruster|?lforcemagnitude}} Datatype number gets nicely formatted automatically
{{#show:Large_Hydrogen_Thruster|?lforcemagnitude#-}} #- strips that formatting
{{#show:SmallHydrogenTankSmall|?Volume}} Datatype quantity gets both formatted and displayed with a unit
{{#show:SmallHydrogenTankSmall|?Volume#-u}} #-u Displays only the unit
{{#show:SmallHydrogenTankSmall|?Volume#-n}} #-n Displays only the plain number without commas
{{#show:SmallHydrogenTankSmall|?Volume#L}} Unit conversion works in SMW 2.3.1, but not precision or in combination with -n
{{#show:SmallHydrogenTankSmall|?CubeSize}} Datatype Text and Page (default) are shown as links
{{#show:SmallHydrogenTankSmall|?CubeSize#-}} #- Plain format de-links them

--Vox Serico (talk) 13:36, 30 March 2020 (UTC)